luci-theme-material: show logo also on login page
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
parent
3fffcdef61
commit
92069c1f74
2 changed files with 1 additions and 5 deletions
|
@ -401,10 +401,6 @@ header > .fill > .container > #logo > img {
|
||||||
margin-top: -.1rem;
|
margin-top: -.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:not(.logged-in) > header > .fill > .container > #logo {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
header > .fill > .container > .brand {
|
header > .fill > .container > .brand {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -186,7 +186,7 @@
|
||||||
<div class="fill">
|
<div class="fill">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<span class="showSide"></span>
|
<span class="showSide"></span>
|
||||||
<a id="logo" href="<%=url("admin/status/overview")%>"><img src="<%=media%>/brand.png" alt="OpenWrt"></a>
|
<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>
|
<a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
|
<span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()">
|
||||||
|
|
Loading…
Reference in a new issue