master
Aevann1 2021-09-08 19:13:35 +02:00
parent c0057b660f
commit 5bb0eb27ef
1 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<div class="row fixed-bottom bg-white border-top p-2" id="mobile-bottom-navigation-bar"
style="z-index: 100; bottom: 0px; transition: bottom cubic-bezier(0, 0, 0.2, 1) 220ms;">
<button type="button" class="col px-0 pl-2 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-0 pl-2 btn btn-dead m-0" style="background: None !important;">
<a href="/" class="text-decoration-none" role="button">
<div class="text-center {% if request.path=='/' and request.full_path!='/?sort=hot&t=all' and request.full_path!='/?sort=new&t=all' %}text-purple{% else %}text-muted{% endif %}">
<i class="fas fa-home-alt text-lg d-block"></i>
@ -12,7 +12,7 @@
</a>
</button>
{% if v and v.defaultsorting == 'new' %}
<button type="button" class="col px-0 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-0 btn btn-dead m-0" style="background: None !important;">
<a href="/?sort=hot&t=all" class="text-decoration-none" role="button">
<div class="text-center {% if request.full_path=='/?sort=hot&t=all' %}text-purple{% else %}text-muted{% endif %}">
<i class="fas fa-fire text-lg d-block"></i>
@ -21,7 +21,7 @@
</a>
</button>
{% else %}
<button type="button" class="col px-0 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-0 btn btn-dead m-0" style="background: None !important;">
<a href="/?sort=new&t=all" class="text-decoration-none" role="button">
<div class="text-center {% if request.full_path=='/?sort=new&t=all' %}text-purple{% else %}text-muted{% endif %}">
<i class="fas fa-sparkles text-lg d-block"></i>
@ -30,7 +30,7 @@
</a>
</button>
{% endif %}
<button type="button" class="col px-2 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-2 btn btn-dead m-0" style="background: None !important;">
<a href="/comments" class="text-decoration-none" role="button">
<div class="text-center {% if request.path=='/comments' %}text-purple{% else %}text-muted{% endif %}">
<i class="fas fa-comment-dots text-lg d-block"></i>
@ -38,7 +38,7 @@
</div>
</a>
</button>
<button type="button" class="col px-0 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-0 btn btn-dead m-0" style="background: None !important;">
<a href="/leaderboard" class="text-decoration-none" role="button">
<div class="text-center {% if request.path=='/leaderboard' %}text-purple{% else %}text-muted{% endif %}">
<i class="fas fa-trophy text-lg d-block"></i>
@ -47,7 +47,7 @@
</a>
</button>
{% if v %}
<button type="button" class="col px-0 pr-2 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-0 pr-2 btn btn-dead m-0" style="background: None !important;">
<a href="{{v.url}}" class="text-decoration-none" role="button">
<div class="text-center {% if request.path==v.url %}text-purple{% else %}text-muted{% endif %}">
<i class="fas fa-user-circle text-lg d-block"></i>
@ -56,7 +56,7 @@
</a>
</button>
{% else %}
<button type="button" class="col px-0 pr-2 btn btn-dead m-0" style="border-color: transparent !important;">
<button type="button" class="col px-0 pr-2 btn btn-dead m-0" style="background: None !important;">
<a href="/signup" class="text-decoration-none" role="button">
<div class="text-center text-muted">
<i class="fas fa-user-plus text-lg d-block"></i>