From: Florian Eckert Date: Tue, 30 Jan 2018 06:22:06 +0000 (+0100) Subject: luci-app-mwan3: update look and feel interface status page X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=4b0347d498a9c779b4ece45b7b28dd6b9ee752ae;p=project%2Fluci.git luci-app-mwan3: update look and feel interface status page Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm index 2fb5ea484..a796af815 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm @@ -18,7 +18,9 @@ XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface_status")%>', null, function(x, status) { - var statusDiv = document.getElementById('mwan_status_text'); + var legend = document.getElementById('diag-rc-legend'); + var statusDiv = document.getElementById('diag-rc-output'); + legend.style.display = 'none'; if (status.interfaces) { var statusview = ''; @@ -62,10 +64,13 @@ ); //]]> -
-
- <%:MWAN status - Interface Live Status%> -
<%:Loading%><%:Collecting data...%>
+
+

<%:MWAN Status - Interface%>

+
+ <%:Collecting data...%> + + <%:Loading%> +