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=f9a0fa2be44bbaa8968f85179a160144f6bf06d6;hp=19433f4d9f92e82a9905c7af8dad7cecd1b132e0;hb=8f5be58a56dee85189eaf5a3ecb3e73b89d8288d;hpb=7b1725566c5de238c1cf787ee369e453291e91e6 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 19433f4d9..f9a0fa2be 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_diagnostics.htm @@ -1,8 +1,14 @@ +<%# + Copyright 2014 Aedan Renner + Copyright 2018 Florian Eckert + Licensed to the public under the GNU General Public License v2. +-%> + <%+header%> @@ -10,10 +16,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,92 +29,64 @@ -
-
- <%:MWAN Interface Diagnostics%> - -
- - - - - - -
-
-
- <%:MWAN Service Control%> -
- - - -
-
+
+
+

<%:MWAN Status - Diagnostics%>

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