summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/controller
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-01-11 10:55:09 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-01-11 14:45:32 +0100
commit5c42bba054da46e09d0facbedf50a0d2a21734bd (patch)
tree43aab9180eec44cb896ae96d6696d8429e72f46d /applications/luci-app-mwan3/luasrc/controller
parentbb4f769ac110a10780799746944e509ba6c4472b (diff)
luci-app-mwan3: move diagnostic and troubleshooting page to status page
move diagnostic and troubleshooting page to status page Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/controller')
-rw-r--r--applications/luci-app-mwan3/luasrc/controller/mwan3.lua17
1 files changed, 9 insertions, 8 deletions
diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua
index 4bb0d492e2..2261815221 100644
--- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua
+++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua
@@ -19,10 +19,19 @@ function index()
template("mwan/overview_interface"))
entry({"admin", "status", "mwan", "overview_detailed"},
template("mwan/overview_detailed"))
+ entry({"admin", "status", "mwan", "diagnostics"},
+ template("mwan/advanced_diagnostics"))
+ entry({"admin", "status", "mwan", "troubleshooting"},
+ template("mwan/advanced_troubleshooting"))
entry({"admin", "status", "mwan", "interface_status"},
call("interfaceStatus"))
entry({"admin", "status", "mwan", "detailed_status"},
call("detailedStatus"))
+ entry({"admin", "status", "mwan", "diagnostics_display"},
+ call("diagnosticsData"), nil).leaf = true
+ entry({"admin", "status", "mwan", "troubleshooting_display"},
+ call("troubleshootingData"))
+
entry({"admin", "network", "mwan"},
alias("admin", "network", "mwan", "configuration"),
@@ -58,14 +67,6 @@ function index()
form("mwan/advanced_networkconfig"))
entry({"admin", "network", "mwan", "advanced", "wirelessconfig"},
form("mwan/advanced_wirelessconfig"))
- entry({"admin", "network", "mwan", "advanced", "diagnostics"},
- template("mwan/advanced_diagnostics"))
- entry({"admin", "network", "mwan", "advanced", "diagnostics_display"},
- call("diagnosticsData"), nil).leaf = true
- entry({"admin", "network", "mwan", "advanced", "troubleshooting"},
- template("mwan/advanced_troubleshooting"))
- entry({"admin", "network", "mwan", "advanced", "troubleshooting_display"},
- call("troubleshootingData"))
end
function getInterfaceStatus(ruleNumber, interfaceName)