diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-04-03 13:16:44 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-04-03 13:30:28 +0200 |
commit | cd1a979593ab90753cda98ac5fa69e23037758d7 (patch) | |
tree | 0009d26ca4863b0b02e040af466a38ddb8f9fb72 /applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm | |
parent | c3904645907d47050a6cfe2b9e1610e64744d7ad (diff) |
luci-app-mwan3: remove diag-rc-legend field id
On the material theme the "Collecting data" hint in the status pages
was still present on the page even though the command was sucessfull executed.
Remove the legend tag and move the info "Collecting data" to the
"diag-rc-output" tag will solve this issue.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm b/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm index 70eac72520..bcc23beb31 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/status_detail.htm @@ -18,9 +18,7 @@ XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "detailed_status")%>', null, function(x) { - var legend = document.getElementById('diag-rc-legend'); var output = document.getElementById('diag-rc-output'); - legend.style.display = 'none'; output.innerHTML = String.format('<pre>%h</pre>', x.responseText); } ); @@ -32,9 +30,9 @@ <div><strong><%:INFO: MWAN not running%></strong></div> <%end%> <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;" /> + <%:Collecting data...%> </span> </fieldset> </div> |