mirror of
https://github.com/OpenMANET/morse-feed.git
synced 2025-12-10 03:43:06 -06:00
luci-app-halowlink1guide: (APP-3397, PR #822) halowlink1 guide
Approved-by: Sophronia Koilpillai Approved-by: Evan Benn
This commit is contained in:
parent
cc2b976d82
commit
fd0357468f
9
luci/luci-app-halowlink1guide/Makefile
Normal file
9
luci/luci-app-halowlink1guide/Makefile
Normal 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
|
||||
@ -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;
|
||||
},
|
||||
});
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"admin/help/guide": {
|
||||
"title": "User Guide",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "morseguide/morseguide"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"admin/help/guide": {
|
||||
"title": "User Guide",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "morseguide/morseguide"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user