summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr/share
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-21 19:23:10 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-22 23:20:23 +0100
commitb9bb34612e28a239153dd2e041921a50e4d7578f (patch)
tree8753ac108cc6b81855a7eb538f2d9919f7dc67cf /modules/luci-mod-status/root/usr/share
parent43a4481e103d764d6f656f2ed1f5c57f8580858e (diff)
luci-mod-status: reimplement iptables status page as client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/root/usr/share')
-rw-r--r--modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json14
1 files changed, 3 insertions, 11 deletions
diff --git a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
index 53d4b1736b..7dd7dae73b 100644
--- a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
@@ -8,20 +8,12 @@
}
},
- "admin/status/iptables/*": {
+ "admin/status/iptables": {
"title": "Firewall",
"order": 2,
"action": {
- "type": "template",
- "path": "admin_status/iptables"
- }
- },
-
- "admin/status/iptables_action/*": {
- "action": {
- "type": "call",
- "module": "luci.controller.admin.status",
- "function": "action_iptables"
+ "type": "view",
+ "path": "status/iptables"
}
},