From ab07b8c4d960925fe3467ea666871965b5b34259 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 15 Dec 2019 22:35:21 +0100 Subject: luci-mod-network: reimplement diagnostics page as client side view Signed-off-by: Jo-Philipp Wich --- .../usr/share/luci/menu.d/luci-mod-network.json | 49 +--------------------- 1 file changed, 2 insertions(+), 47 deletions(-) (limited to 'modules/luci-mod-network/root') diff --git a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json index 990c5d35e..670f2c1a4 100644 --- a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json +++ b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json @@ -78,53 +78,8 @@ "title": "Diagnostics", "order": 60, "action": { - "type": "template", - "path": "admin_network/diagnostics" - } - }, - - "admin/network/diag_ping/*": { - "action": { - "post": true, - "type": "call", - "module": "luci.controller.admin.network", - "function": "diag_ping" - } - }, - - "admin/network/diag_nslookup/*": { - "action": { - "post": true, - "type": "call", - "module": "luci.controller.admin.network", - "function": "diag_nslookup" - } - }, - - "admin/network/diag_traceroute/*": { - "action": { - "post": true, - "type": "call", - "module": "luci.controller.admin.network", - "function": "diag_traceroute" - } - }, - - "admin/network/diag_ping6/*": { - "action": { - "post": true, - "type": "call", - "module": "luci.controller.admin.network", - "function": "diag_ping6" - } - }, - - "admin/network/diag_traceroute6/*": { - "action": { - "post": true, - "type": "call", - "module": "luci.controller.admin.network", - "function": "diag_traceroute6" + "type": "view", + "path": "network/diagnostics" } } } -- cgit v1.2.3