summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/luasrc/controller/admin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-10 08:49:24 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-16 18:07:18 +0100
commitc698cd5ab9ad9021ac7b92a45d7ba401cb3617d0 (patch)
tree844f0ee3772d3a28da9b4919d1a3f4300a1665a9 /modules/luci-mod-status/luasrc/controller/admin
parent5448a10e302bae5c5f0a45b2e43328ed00664cb0 (diff)
luci-mod-status: convert menu nodes to JSON
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/luasrc/controller/admin')
-rw-r--r--modules/luci-mod-status/luasrc/controller/admin/status.lua24
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/luci-mod-status/luasrc/controller/admin/status.lua b/modules/luci-mod-status/luasrc/controller/admin/status.lua
index 6f84149223..2684bdf715 100644
--- a/modules/luci-mod-status/luasrc/controller/admin/status.lua
+++ b/modules/luci-mod-status/luasrc/controller/admin/status.lua
@@ -4,30 +4,6 @@
module("luci.controller.admin.status", package.seeall)
-function index()
- local page
-
- entry({"admin", "status", "overview"}, template("admin_status/index"), _("Overview"), 1)
-
- entry({"admin", "status", "iptables"}, template("admin_status/iptables"), _("Firewall"), 2).leaf = true
- entry({"admin", "status", "iptables_dump"}, call("dump_iptables")).leaf = true
- entry({"admin", "status", "iptables_action"}, post("action_iptables")).leaf = true
-
- 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"}, view("status/processes"), _("Processes"), 6)
-
- entry({"admin", "status", "realtime"}, alias("admin", "status", "realtime", "load"), _("Realtime Graphs"), 7)
-
- entry({"admin", "status", "realtime", "load"}, view("status/load"), _("Load"), 1)
- entry({"admin", "status", "realtime", "bandwidth"}, view("status/bandwidth"), _("Traffic"), 2)
- entry({"admin", "status", "realtime", "wireless"}, view("status/wireless"), _("Wireless"), 3).uci_depends = { wireless = true }
- entry({"admin", "status", "realtime", "connections"}, view("status/connections"), _("Connections"), 4)
-
- entry({"admin", "status", "nameinfo"}, call("action_nameinfo")).leaf = true
-end
-
function action_syslog()
local syslog = luci.sys.syslog()
luci.template.render("admin_status/syslog", {syslog=syslog})