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; 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 { article p img {
display: block; display: block;
margin-top: 0.5rem; margin-top: 0.5rem;

View File

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