making the admin page a bit better

This commit is contained in:
Kibi Kelburton 2022-05-08 01:14:43 +02:00
parent 46d8bd45a8
commit 659adca258
2 changed files with 10 additions and 12 deletions

View File

@ -1,3 +1,10 @@
@include(snippets/header_admin)
<div class="container">
<h1>Henlo, {{ session.user }}</h1>
<p>Hier entsteht eine Internetpräsenz!</p>
<img src="/s/img/favicon.gif" alt="f0ck bash">
<p>@if(typeof totals !== "undefined")
total: {{ totals.total }} | tagged: {{ totals.tagged }} | untagged: {{ totals.untagged }} | sfw: {{ totals.sfw }} | nsfw: {{ totals.nsfw }}
@endif</p>
</div>
@include(snippets/footer)

View File

@ -20,18 +20,9 @@
<span class="nav-link-identifier">Log</span>
</a>
</li>
@if(typeof totals !== "undefined")
<li class="nav-item" style="width: 100%; text-align: center">
total:&nbsp;{{ totals.total }}&nbsp;|&nbsp;tagged:&nbsp;{{ totals.tagged }}&nbsp;|&nbsp;untagged:&nbsp;{{ totals.untagged }}&nbsp;|&nbsp;sfw:&nbsp;{{ totals.sfw }}&nbsp;|&nbsp;nsfw:&nbsp;{{ totals.nsfw }}
<li class="nav-item">
<a class="nav-link" href="/logout">Logout</a>
</li>
@endif
</ul>
</div>
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
<div class="pagination-container-fluid">
<div class="pagination-wrapper">
Henlo, {{ session.user }}&nbsp;&nbsp;<a href="/logout">Logout</a>
</div>
</div>
</div>
</nav>