remotes/1693045480750635534/spooky-22
kek7198 2021-12-02 21:02:30 -06:00
parent 45a2f2d7b3
commit df31c5891d
1 changed files with 4 additions and 4 deletions

View File

@ -33,19 +33,19 @@
<ul class="flex flex-wrap items-center mb-4"> <ul class="flex flex-wrap items-center mb-4">
{% if page>1 %} {% if page>1 %}
<li> <li>
<a class="block px-2 py-1 text-sm font-bold text-green-700 bg-gray-300" href="?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex="-1"> <a class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-300" href="?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex="-1">
Prev Prev
</a> </a>
</li> </li>
{% else %} {% else %}
<li><span class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-300 disabled">Prev</span></li> <li><span class="block px-2 py-1 text-sm font-bold text-gray-400 bg-gray-300 disabled">Prev</span></li>
{% endif %} {% endif %}
{% if next_exists %} {% if next_exists %}
<li class="page-item"> <li class="page-item">
<a class="block px-2 py-1 text-sm font-bold text-green-700 bg-gray-300" href="?page={{page+1}}&sort={{sort}}&t={{t}}">Next</a> <a class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-300" href="?page={{page+1}}&sort={{sort}}&t={{t}}">Next</a>
</li> </li>
{% else %} {% else %}
<li><span class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-300 disabled">Next</span></li> <li><span class="block px-2 py-1 text-sm font-bold text-gray-400 bg-gray-300 disabled">Next</span></li>
{% endif %} {% endif %}
</ul> </ul>
</div> </div>