From: Florian Eckert Date: Thu, 11 Jan 2018 12:18:28 +0000 (+0100) Subject: luci-app-mwan3: rename status page files X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=7b1725566c5de238c1cf787ee369e453291e91e6 luci-app-mwan3: rename status page files rename status page files Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index 09469bc07..59d77966a 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -15,13 +15,13 @@ function index() _("Load Balancing"), 600) entry({"admin", "status", "mwan", "overview"}, - template("mwan/overview_interface")) + template("mwan/status_interface")) entry({"admin", "status", "mwan", "detail"}, - template("mwan/overview_detailed")) + template("mwan/status_detail")) entry({"admin", "status", "mwan", "diagnostics"}, - template("mwan/advanced_diagnostics")) + template("mwan/status_diagnostics")) entry({"admin", "status", "mwan", "troubleshooting"}, - template("mwan/advanced_troubleshooting")) + template("mwan/status_troubleshooting")) entry({"admin", "status", "mwan", "interface_status"}, call("interfaceStatus")) entry({"admin", "status", "mwan", "detailed_status"}, diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm b/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm deleted file mode 100644 index 19433f4d9..000000000 --- a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm +++ /dev/null @@ -1,113 +0,0 @@ -<%+header%> - - - -<% - local uci = require "luci.model.uci" - - interfaceNames = "" - uci.cursor():foreach("mwan3", "interface", - function (section) - interfaceNames = interfaceNames .. section[".name"] .. " " - end - ) -%> - - - - -
-
- <%:MWAN Interface Diagnostics%> - -
- - - - - - -
-
-
- <%:MWAN Service Control%> -
- - - -
-
- -
- - - -<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm b/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm deleted file mode 100644 index 483e28949..000000000 --- a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm +++ /dev/null @@ -1,61 +0,0 @@ -<%+header%> - - - - - - -
-
- <%:Troubleshooting Data%> -
<%:Loading%><%:Collecting data...%>
-
-
- - - -<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm deleted file mode 100644 index 0ff2824ed..000000000 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm +++ /dev/null @@ -1,42 +0,0 @@ -<%+header%> - - - - - - -
-
- <%:MWAN Detailed Status%> -
<%:Loading%><%:Collecting data...%>
-
-
- - - -<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm deleted file mode 100644 index c7039f7a6..000000000 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm +++ /dev/null @@ -1,110 +0,0 @@ -<%+header%> - - - - - - -
-
- <%:MWAN Interface Live Status%> -
<%:Loading%><%:Collecting data...%>
-
-
- <%:MWAN Interface Systemlog%> -
<%:Loading%><%:Collecting data...%>
-
-
- - - -<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm new file mode 100644 index 000000000..0ff2824ed --- /dev/null +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm @@ -0,0 +1,42 @@ +<%+header%> + + + + + + +
+
+ <%:MWAN Detailed Status%> +
<%:Loading%><%:Collecting data...%>
+
+
+ + + +<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm new file mode 100644 index 000000000..19433f4d9 --- /dev/null +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm @@ -0,0 +1,113 @@ +<%+header%> + + + +<% + local uci = require "luci.model.uci" + + interfaceNames = "" + uci.cursor():foreach("mwan3", "interface", + function (section) + interfaceNames = interfaceNames .. section[".name"] .. " " + end + ) +%> + + + + +
+
+ <%:MWAN Interface Diagnostics%> + +
+ + + + + + +
+
+
+ <%:MWAN Service Control%> +
+ + + +
+
+ +
+ + + +<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm new file mode 100644 index 000000000..c7039f7a6 --- /dev/null +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm @@ -0,0 +1,110 @@ +<%+header%> + + + + + + +
+
+ <%:MWAN Interface Live Status%> +
<%:Loading%><%:Collecting data...%>
+
+
+ <%:MWAN Interface Systemlog%> +
<%:Loading%><%:Collecting data...%>
+
+
+ + + +<%+footer%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm new file mode 100644 index 000000000..483e28949 --- /dev/null +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_troubleshooting.htm @@ -0,0 +1,61 @@ +<%+header%> + + + + + + +
+
+ <%:Troubleshooting Data%> +
<%:Loading%><%:Collecting data...%>
+
+
+ + + +<%+footer%>