diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-03-30 17:05:05 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-03-30 17:12:07 +0200 |
commit | ccb7e4a4a7aac34734dbda7e9ca7f5b53cbc51ff (patch) | |
tree | 7e39da0da0271d13bad72d926be2fd400a26c2a0 /themes/luci-theme-material/luasrc/view | |
parent | 3d965195928b993f7e2dacebd4e296a547b32552 (diff) |
themes: generalize indicator markup and styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material/luasrc/view')
-rw-r--r-- | themes/luci-theme-material/luasrc/view/themes/material/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 124314039a..32678a322e 100644 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -191,7 +191,7 @@ <span class="showSide"></span> <a id="logo" href="<% if luci.dispatcher.context.authsession then %><%=url('admin/status/overview')%><% else %>#<% end %>"><img src="<%=media%>/brand.png" alt="OpenWrt"></a> <a class="brand" href="#"><%=boardinfo.hostname or "?"%></a> - <div class="status"> + <div class="status" id="indicators"> <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> <span class="label success" id="xhr_poll_status_on"><span class="mobile-hide"><%:Auto Refresh%></span> <%:on%></span> <span class="label" id="xhr_poll_status_off" style="display:none"><span class="mobile-hide"><%:Auto Refresh%></span> <%:off%></span> |