X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-mwan3%2Fluasrc%2Fview%2Fmwan%2Fstatus_diagnostics.htm;h=7e1ef4106a0a22488abe30b56414714a77cbbf37;hp=f7a1ede2e42a24cc5627f3a6a216a39cfd06730f;hb=5b92193978e037d646edf23559440f18bf66be2c;hpb=278b3f53dbf07e4e73cade28b9cb262f77c790cd diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm index f7a1ede2e..7e1ef4106 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm @@ -10,10 +10,11 @@ <% local uci = require "luci.model.uci" - interfaceNames = "" + local iface = {} + uci.cursor():foreach("mwan3", "interface", function (section) - interfaceNames = interfaceNames .. section[".name"] .. " " + table.insert(iface, section[".name"]) end ) %> @@ -22,74 +23,64 @@ -
-
- <%:MWAN Interface Diagnostics%> - -
- - - - - - -
-
+
+
+

<%:MWAN Status - Diagnostics%>

+ +
+
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+
-
- - + <%+footer%>