summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-14 20:33:30 +0000
committerSteven Barth <steven@midlink.org>2008-08-14 20:33:30 +0000
commit68d499edb91de2d73f14d5dcc4d6328fff2e23ea (patch)
tree771e508072c738b8d4e21fcd5de28227a2e6b9ed /modules/admin-full/luasrc/controller
parent7726e737252026683d10f5d85a32798f975ef437 (diff)
modules/admin-full: Rewrote route configuration page
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua10
-rw-r--r--modules/admin-full/luasrc/controller/admin/status.lua1
2 files changed, 9 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index cc79e57a5..76145294c 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -54,6 +54,14 @@ function index()
local page = node("admin", "network", "routes")
page.target = cbi("admin_network/routes")
- page.title = i18n("a_n_routes", "Routen")
+ page.title = i18n("a_n_routes")
page.order = 40
+ page.leaf = true
+
+ entry(
+ {"admin", "network", "routes", "static"},
+ function() end,
+ i18n("a_n_routes_static")
+ )
+
end \ No newline at end of file
diff --git a/modules/admin-full/luasrc/controller/admin/status.lua b/modules/admin-full/luasrc/controller/admin/status.lua
index ea7ad1b03..81686d906 100644
--- a/modules/admin-full/luasrc/controller/admin/status.lua
+++ b/modules/admin-full/luasrc/controller/admin/status.lua
@@ -19,7 +19,6 @@ function index()
entry({"admin", "status"}, template("admin_status/index"), i18n("status", "Status"), 20)
entry({"admin", "status", "syslog"}, call("action_syslog"), i18n("syslog", "Systemprotokoll"))
- entry({"admin", "status", "routes"}, template("admin_status/routes"), i18n("routingtable"), 10)
entry({"admin", "status", "iwscan"}, template("admin_status/iwscan"), i18n("wlanscan"), 20)
end