luci-app-halowlink1guide: (APP-3397, PR #822) halowlink1 guide

Approved-by: Sophronia Koilpillai
Approved-by: Evan Benn
This commit is contained in:
James Haggerty 2024-09-06 07:10:20 +00:00 committed by Arien Judge
parent cc2b976d82
commit fd0357468f
5 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,9 @@
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI HaLowLink 1 Guide
LUCI_DEPENDS:=+luci-base +luci-app-morseconfig
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature

View File

@ -0,0 +1,29 @@
'use strict';
/* globals view */
'require view';
return view.extend({
handleSaveApply: null,
handleSave: null,
handleReset: null,
render: function () {
var body = E([]);
var ifrm = document.createElement('iframe');
ifrm.setAttribute('src', '/halowlink1-userguide-2.6.12.pdf');
ifrm.style.overflow = 'hidden';
ifrm.style.margin = '0px';
ifrm.style.padding = '0px';
ifrm.style.height = '100%';
ifrm.style.width = '100%';
ifrm.style.position = 'absolute';
ifrm.style.top = '0px';
ifrm.style.left = '0px';
ifrm.style.right = '0px';
ifrm.style.bottom = '0px';
ifrm.height = '100%';
ifrm.width = '100%';
body.appendChild(ifrm);
return body;
},
});

View File

@ -0,0 +1,10 @@
{
"admin/help/guide": {
"title": "User Guide",
"order": 1,
"action": {
"type": "view",
"path": "morseguide/morseguide"
}
}
}

View File

@ -0,0 +1,10 @@
{
"admin/help/guide": {
"title": "User Guide",
"order": 1,
"action": {
"type": "view",
"path": "morseguide/morseguide"
}
}
}