diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-13 12:42:17 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-14 17:06:34 +0200 |
commit | d9bd5466a4a2ac2120c70058b4f85a9be84dbd4f (patch) | |
tree | 2aa468cb39051f0ee468d997231c422f4da2019c /themes | |
parent | 68b2ce84ece62e3aec98b9be31e61ec5f6cdba2d (diff) |
luci-theme-openwrt-2020: remove xhr_poll_status markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css | 9 | ||||
-rw-r--r-- | themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm | 7 |
2 files changed, 2 insertions, 14 deletions
diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index 74b4e0b77..f83f1ba57 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -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; diff --git a/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm b/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm index 00834b307..0ebd6a9a9 100644 --- a/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm +++ b/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm @@ -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> |