Rejig Login to Partner Login and put banner at top

This commit is contained in:
James Mills
2021-02-02 11:24:49 +10:00
parent 0db2b08911
commit 865e5b5750
2 changed files with 18 additions and 14 deletions

View File

@@ -2,6 +2,23 @@ body, html {
overflow-x: hidden;
}
body:before {
background: #e40000;
border-bottom: 1px solid #c90000;
box-shadow: inset 0 1px 0 #fc0000;
color: #fff;
content: "WARNING: This search engine is still work-in-progress! Expect less than perfect search results!";
display: block;
height: 30px;
line-height: 30px;
position: fixed;
top: 0;
left: 0;
right: 0;
text-align: center;
z-index: 1000000;
}
article p img {
display: block;
margin-top: 0.5rem;

View File

@@ -61,25 +61,12 @@
</ul>
<ul>
{{ if .Authenticated }}
<li>
<a class="secondary" href="/manage">
<i class="icss-gear"></i>
Manage
</a>
</li>
<li>
<a class="secondary" href="/logout">
<i class="icss-exit"></i>
Logout
</a>
</li>
{{ else }}
<li>
<a href="/login">
<i class="icss-key"></i>
Login
</a>
</li>
{{ end }}
</ul>
</nav>
@@ -98,7 +85,7 @@
<a href="/abuse" target="_blank" class="menu-item">Abuse</a>
<a href="/help" target="_blank" class="menu-item">Help</a>
<a href="/support" target="_blank" class="menu-item">Support</a>
<a href="/atom.xml" target="_blank">Atom&nbsp;<i class="icss-rss"></i></a>
<a href="/partner/login" target="_blank">Partner Login</a>
</div>
</footer>
{{ if $.Debug }}