Rearrange sidebar counter.

Also includes moving styles to main.css and reducing font size per
request of Carp.

Additionally: includes the modlog sidebar link that I forgot to stage
with the previous commit.
remotes/1693045480750635534/spooky-22
Snakes 2022-05-30 04:29:41 -04:00
parent 3106823511
commit 86190e6a29
2 changed files with 5 additions and 8 deletions

View File

@ -36,17 +36,13 @@ set VISITORS_HERE_FLAVOR = [
<img class="mb-4" alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{image}}')" loading="lazy" src="{{image}}" width=100%>
{% endif %}
<div class="text-center text-lg font-weight-bold">
<p class="mt-1 ml-2 mb-4 text-center">
<img src="/e/marseylowpoly.webp" height=18 width=28>
<span>PEOPLE HERE NOW</span>
</div>
<p class="mt-1 ml-2 mb-4 text-center text-lg">
<span id="sidebar--counter--total">{{ g.loggedin_counter + g.loggedout_counter }}</span>
<span id="sidebar--counter--flavor">{{ VISITORS_HERE_FLAVOR|random|safe }}</span>
<span id="sidebar--counter-loggedin">({{ g.loggedin_counter }} logged in)</span>
<span id="sidebar--counter--loggedin">({{ g.loggedin_counter }} logged in)</span>
{% if v and v.admin_level >= 2 -%}
<span id="sidebar--counter--admin" style="text-align: center; display: block; font-size: 1rem;">
<span id="sidebar--counter--admin">
<a href="/admin/loggedin">Logged In</a> | <a href="/admin/loggedout">Logged Out</a>
</span>
{%- endif %}
@ -55,6 +51,7 @@ set VISITORS_HERE_FLAVOR = [
<p class="text-center text-md mb-4">
<a class="sidebar-link" href="/marseys" data-bs-toggle="tooltip" data-bs-placement="top" title="Marseys"><i class="fas fa-cat"></i></a>
<a class="sidebar-link" href="/badges" data-bs-toggle="tooltip" data-bs-placement="top" title="Badges"><i class="fas fa-hexagon"></i></a>
<a class="sidebar-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="top" title="Moderation Log"><i class="fas fa-scroll-old"></i></a>
<a class="sidebar-link" href="/random_user/" data-bs-toggle="tooltip" data-bs-placement="top" title="Random User"><i class="fas fa-music"></i></a>
<a class="sidebar-link" href="/random_post/" data-bs-toggle="tooltip" data-bs-placement="top" title="Random Post"><i class="fas fa-random"></i></a>
<a class="sidebar-link" href="/comments" data-bs-toggle="tooltip" data-bs-placement="top" title="All Comments"><i class="fas fa-comment-dots"></i></a>

View File

@ -1,6 +1,6 @@
{%-
set CACHE_VER = {
'css/main.css': 286,
'css/main.css': 287,
'css/4chan.css': 59,
'css/classic.css': 59,