summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-15 05:10:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-15 05:10:58 +0000
commit00f23f60f6af76c9a1b772e2e41c94138f59bb3b (patch)
tree0e46f233c8c8f074a758cd978dbb57b2983b7ada /modules/admin-full/luasrc/controller
parent620c216b3a996328ae2087f0eca6f2cb1c112131 (diff)
modules/admin-full: move realtime stats into submenu
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r--modules/admin-full/luasrc/controller/admin/status.lua19
1 files changed, 10 insertions, 9 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/status.lua b/modules/admin-full/luasrc/controller/admin/status.lua
index 413bc6ec1..f77d91b34 100644
--- a/modules/admin-full/luasrc/controller/admin/status.lua
+++ b/modules/admin-full/luasrc/controller/admin/status.lua
@@ -22,20 +22,21 @@ function index()
entry({"admin", "status", "routes"}, template("admin_status/routes"), _("Routes"), 3)
entry({"admin", "status", "syslog"}, call("action_syslog"), _("System Log"), 4)
entry({"admin", "status", "dmesg"}, call("action_dmesg"), _("Kernel Log"), 5)
+ entry({"admin", "status", "processes"}, cbi("admin_status/processes"), _("Processes"), 6)
- entry({"admin", "status", "load"}, template("admin_status/load"), _("Realtime Load"), 6).leaf = true
- entry({"admin", "status", "load_status"}, call("action_load")).leaf = true
+ entry({"admin", "status", "realtime"}, alias("admin", "status", "realtime", "load"), _("Realtime Graphs"), 7)
- entry({"admin", "status", "bandwidth"}, template("admin_status/bandwidth"), _("Realtime Traffic"), 7).leaf = true
- entry({"admin", "status", "bandwidth_status"}, call("action_bandwidth")).leaf = true
+ entry({"admin", "status", "realtime", "load"}, template("admin_status/load"), _("Load"), 1).leaf = true
+ entry({"admin", "status", "realtime", "load_status"}, call("action_load")).leaf = true
- entry({"admin", "status", "wireless"}, template("admin_status/wireless"), _("Realtime Wireless"), 8).leaf = true
- entry({"admin", "status", "wireless_status"}, call("action_wireless")).leaf = true
+ entry({"admin", "status", "realtime", "bandwidth"}, template("admin_status/bandwidth"), _("Traffic"), 2).leaf = true
+ entry({"admin", "status", "realtime", "bandwidth_status"}, call("action_bandwidth")).leaf = true
- entry({"admin", "status", "connections"}, template("admin_status/connections"), _("Realtime Connections"), 9).leaf = true
- entry({"admin", "status", "connections_status"}, call("action_connections")).leaf = true
+ entry({"admin", "status", "realtime", "wireless"}, template("admin_status/wireless"), _("Wireless"), 3).leaf = true
+ entry({"admin", "status", "realtime", "wireless_status"}, call("action_wireless")).leaf = true
- entry({"admin", "status", "processes"}, cbi("admin_status/processes"), _("Processes"), 20)
+ entry({"admin", "status", "realtime", "connections"}, template("admin_status/connections"), _("Connections"), 4).leaf = true
+ entry({"admin", "status", "realtime", "connections_status"}, call("action_connections")).leaf = true
end
function action_syslog()