forked from rDrama/rDrama
fix
parent
3e54363973
commit
57a2ddba91
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
<div class="container inline-flex sm:hidden">
|
<div class="container inline-flex sm:hidden">
|
||||||
|
|
||||||
<div class="fixed bg-white border-top p-2 bottom-0 z-100" id="mobile-bottom-navigation-bar" style="transition: bottom cubic-bezier(0, 0, 0.2, 1) 220ms;">
|
<div class="z-100 fixed w-full bg-green-200 border-t border-gray-300 px-4 py-2" id="mobile-bottom-navigation-bar" style="transition: bottom cubic-bezier(0, 0, 0.2, 1) 220ms;">
|
||||||
|
|
||||||
|
<ul class="flex flex-nowrap">
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-0 ml-3 btn btn-dead m-0">
|
<button type="button" class="col px-0 ml-3 btn btn-dead m-0">
|
||||||
<a href="/" class="text-decoration-none" role="button">
|
<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-primary{% else %}text-muted{% endif %}">
|
<div class="text-center {% if request.path=='/' and request.full_path!='/?sort=hot&t=all' and request.full_path!='/?sort=new&t=all' %}text-primary{% else %}text-muted{% endif %}">
|
||||||
|
@ -12,7 +14,9 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
{% if v and v.defaultsorting == 'new' %}
|
{% if v and v.defaultsorting == 'new' %}
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-0 btn btn-dead m-0">
|
<button type="button" class="col px-0 btn btn-dead m-0">
|
||||||
<a href="/?sort=hot&t=all" class="text-decoration-none" role="button">
|
<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-primary{% else %}text-muted{% endif %}">
|
<div class="text-center {% if request.full_path=='/?sort=hot&t=all' %}text-primary{% else %}text-muted{% endif %}">
|
||||||
|
@ -21,7 +25,9 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-0 btn btn-dead m-0">
|
<button type="button" class="col px-0 btn btn-dead m-0">
|
||||||
<a href="/?sort=new&t=all" class="text-decoration-none" role="button">
|
<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-primary{% else %}text-muted{% endif %}">
|
<div class="text-center {% if request.full_path=='/?sort=new&t=all' %}text-primary{% else %}text-muted{% endif %}">
|
||||||
|
@ -30,7 +36,9 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-2 btn btn-dead m-0">
|
<button type="button" class="col px-2 btn btn-dead m-0">
|
||||||
<a href="/comments" class="text-decoration-none" role="button">
|
<a href="/comments" class="text-decoration-none" role="button">
|
||||||
<div class="text-center {% if request.path=='/comments' %}text-primary{% else %}text-muted{% endif %}">
|
<div class="text-center {% if request.path=='/comments' %}text-primary{% else %}text-muted{% endif %}">
|
||||||
|
@ -39,6 +47,8 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-0 btn btn-dead m-0">
|
<button type="button" class="col px-0 btn btn-dead m-0">
|
||||||
<a href="/leaderboard" class="text-decoration-none" role="button">
|
<a href="/leaderboard" class="text-decoration-none" role="button">
|
||||||
<div class="text-center {% if request.path=='/leaderboard' %}text-primary{% else %}text-muted{% endif %}">
|
<div class="text-center {% if request.path=='/leaderboard' %}text-primary{% else %}text-muted{% endif %}">
|
||||||
|
@ -47,7 +57,9 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
{% if v %}
|
{% if v %}
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-0 mr-3 btn btn-dead m-0">
|
<button type="button" class="col px-0 mr-3 btn btn-dead m-0">
|
||||||
<a href="/shop" class="text-decoration-none" role="button">
|
<a href="/shop" class="text-decoration-none" role="button">
|
||||||
<div class="text-center {% if request.path=='/shop' %}text-primary{% else %}text-muted{% endif %}">
|
<div class="text-center {% if request.path=='/shop' %}text-primary{% else %}text-muted{% endif %}">
|
||||||
|
@ -56,7 +68,9 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<li>
|
||||||
<button type="button" class="col px-0 mr-3 btn btn-dead m-0">
|
<button type="button" class="col px-0 mr-3 btn btn-dead m-0">
|
||||||
<a href="/signup" class="text-decoration-none" role="button">
|
<a href="/signup" class="text-decoration-none" role="button">
|
||||||
<div class="text-center text-muted">
|
<div class="text-center text-muted">
|
||||||
|
@ -65,6 +79,8 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</button>
|
</button>
|
||||||
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue