summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-15 22:35:21 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-16 18:07:18 +0100
commitab07b8c4d960925fe3467ea666871965b5b34259 (patch)
tree8981ef650189a787be30b714db18f4df69b14f4f /modules/luci-mod-network/root
parent870a4061208be34401875065c977b19933ceca92 (diff)
luci-mod-network: reimplement diagnostics page as client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/root')
-rw-r--r--modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json49
1 files changed, 2 insertions, 47 deletions
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"
}
}
}