forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-21 22:19:56 -06:00
parent bc454bca5d
commit 0f2f0379b7
2 changed files with 5 additions and 5 deletions

View File

@ -88,13 +88,13 @@
{% set path = request.full_path %} {% set path = request.full_path %}
{% endif %} {% endif %}
{% if request.full_path == "/notifications" %} {% if request.full_path == "/notifications" %}
<small><a class="block px-2 py-1 text-sm font-bold text-primary bg-gray-900" href="{{path}}?page={{page-1}}">Previous</a></small> <small><a class="block px-2 py-1 text-sm font-bold text-primary bg-gray-900" href="{{path}}?page={{page-1}}">Back</a></small>
{% else %} {% else %}
<small><a class="block px-2 py-1 text-sm font-bold text-primary bg-gray-900" href="{{path}}&page={{page-1}}">Previous</a></small> <small><a class="block px-2 py-1 text-sm font-bold text-primary bg-gray-900" href="{{path}}&page={{page-1}}">Back</a></small>
{% endif %} {% endif %}
</li> </li>
{% else %} {% else %}
<li><button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 cursor-not-allowed">Previous</button></li> <li><button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 cursor-not-allowed">Back</button></li>
{% endif %} {% endif %}
{% if next_exists %} {% if next_exists %}

View File

@ -78,11 +78,11 @@
{% if page > 1 %} {% if page > 1 %}
<small> <small>
<a class="block px-2 py-1 text-sm font-bold text-primary bg-gray-900" href="?sort={{sort}}&q={{query | urlencode}}&t={{t}}&page={{page-1}}" tabindex="-1" {% if page==1 %}aria-disabled="true"{% endif %}> <a class="block px-2 py-1 text-sm font-bold text-primary bg-gray-900" href="?sort={{sort}}&q={{query | urlencode}}&t={{t}}&page={{page-1}}" tabindex="-1" {% if page==1 %}aria-disabled="true"{% endif %}>
Previous Back
</a> </a>
</small> </small>
{% else %} {% else %}
<button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 cursor-not-allowed">Prev</button> <button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 cursor-not-allowed">Back</button>
{% endif %} {% endif %}
</li> </li>
<li class="{% if not next_exists %}opacity-50 pointer-events-none{% endif %}"> <li class="{% if not next_exists %}opacity-50 pointer-events-none{% endif %}">