mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-theme-openwrt-2020: remove xhr_poll_status markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -107,8 +107,7 @@ body {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#indicators > [data-style="inactive"],
|
||||
#indicators > * > #xhr_poll_status_off {
|
||||
#indicators > [data-style="inactive"] {
|
||||
background: var(--main-bright-color);
|
||||
color: var(--secondary-bright-color);
|
||||
border: 2px solid var(--secondary-bright-color);
|
||||
@@ -116,12 +115,6 @@ body {
|
||||
padding: 0 calc(.5em - 2px);
|
||||
}
|
||||
|
||||
#indicators > * > #xhr_poll_status_off {
|
||||
border-radius: 1em;
|
||||
margin: 0 -.5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#menubar h2,
|
||||
.skiplink {
|
||||
display: none;
|
||||
|
||||
@@ -206,12 +206,7 @@
|
||||
|
||||
<span class="hostname"><%=(boardinfo.hostname or "?")%></span>
|
||||
<span class="distversion"><%=ver.distversion%></span>
|
||||
<span id="indicators">
|
||||
<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
|
||||
<span id="xhr_poll_status_on" style="display:none"><%:Refreshing%></span>
|
||||
<span id="xhr_poll_status_off" style="display:none"><%:Paused%></span>
|
||||
</span>
|
||||
</span>
|
||||
<span id="indicators"></span>
|
||||
</div>
|
||||
|
||||
<div id="modemenu" style="display:none"></div>
|
||||
|
||||
Reference in New Issue
Block a user