Developing lightweight computation at the DSG edge

Commit d1e6e98e authored by p4u's avatar p4u
Browse files

Added Mesh gateways to the web interface menu

parent 0e9c8fe8
......@@ -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 = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment