From b9bb34612e28a239153dd2e041921a50e4d7578f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 21 Dec 2019 19:23:10 +0100 Subject: luci-mod-status: reimplement iptables status page as client side view Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/luci/menu.d/luci-mod-status.json | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'modules/luci-mod-status/root/usr') 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" } }, -- cgit v1.2.3