diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-01-30 07:22:06 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-02-05 10:45:20 +0100 |
commit | 4b0347d498a9c779b4ece45b7b28dd6b9ee752ae (patch) | |
tree | fb83a43e2753a135fce430dda800f17cb7b65e67 /applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm | |
parent | 83cec9277da2ec6cfbbec5f6397226aa9a65a964 (diff) |
luci-app-mwan3: update look and feel interface status page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/view/mwan/status_interface.htm | 15 |
1 files 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 @@ ); //]]></script> -<div id="mwan_interface_status"> - <fieldset id="interface_field" class="cbi-section"> - <legend><%:MWAN status - Interface Live Status%></legend> - <div id="mwan_status_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div> +<div class="cbi-map"> + <h2 name="content"><%:MWAN Status - Interface%></h2> + <fieldset class="cbi-section"> + <legend id="diag-rc-legend"><%:Collecting data...%></legend> + <span id="diag-rc-output"> + <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align: middle;" /> + </span> </fieldset> </div> |