From 4b0347d498a9c779b4ece45b7b28dd6b9ee752ae Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 30 Jan 2018 07:22:06 +0100 Subject: luci-app-mwan3: update look and feel interface status page Signed-off-by: Florian Eckert --- .../luci-app-mwan3/luasrc/view/mwan/status_interface.htm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 2fb5ea484f..a796af815e 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%> +
-- cgit v1.2.3