Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
d1e6e98e
Commit
d1e6e98e
authored
Oct 03, 2012
by
p4u
Browse files
Added Mesh gateways to the web interface menu
parent
0e9c8fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/bmx6-luci/files/usr/lib/lua/luci/controller/bmx6.lua
View file @
d1e6e98e
...
...
@@ -64,6 +64,11 @@ function index()
entry
(
place
,
call
(
"action_links"
),
"Links"
).
leaf
=
true
table.remove
(
place
)
-- Gateways
table.insert
(
place
,
"Gateways"
)
entry
(
place
,
call
(
"action_gateways_j"
),
"Gateways"
).
leaf
=
true
table.remove
(
place
)
--- chat
table.insert
(
place
,
"Chat"
)
entry
(
place
,
call
(
"action_chat"
),
"Chat"
)
...
...
@@ -166,6 +171,11 @@ function action_neighbours_j()
luci
.
template
.
render
(
"bmx6/neighbours_j"
,
{
link_non_js
=
link_non_js
})
end
function
action_gateways_j
()
luci
.
template
.
render
(
"bmx6/gateways_j"
,
{})
end
function
action_links
(
host
)
local
links
=
bmx6json
.
get
(
"links"
,
host
)
local
devlinks
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment