forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-07 22:22:17 -06:00
parent 8ed27e01cb
commit c9bea8ef65
1 changed files with 8 additions and 12 deletions

View File

@ -120,24 +120,20 @@
</ul> </ul>
<!-- Pagination --> <!-- Pagination -->
{% if listing %} {% if listing %}
<ul class="flex flex-wrap items-center mb-0"> <div class="flex flex-wrap items-center">
{% if page>1 %} {% if page>1 %}
<li> <a class="block px-2 py-1 text-sm font-bold text-gray-700 hover:text-gray-900 bg-gray-300 hover:bg-gray-400 active:shadow-inner" href="?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex="-1">
<a class="block px-2 py-1 text-sm font-bold text-gray-700 hover:text-gray-900 bg-gray-300 hover:bg-gray-400 active:shadow-inner" href="?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex="-1"> Prev
Prev </a>
</a>
</li>
{% else %} {% else %}
<li><span class="block px-2 py-1 text-sm font-bold text-gray-400 bg-gray-300/50 disabled">Prev</span></li> <span class="block px-2 py-1 text-sm font-bold text-gray-400 bg-gray-300/50 disabled">Prev</span>
{% endif %} {% endif %}
{% if next_exists %} {% if next_exists %}
<li class="page-item"> <a class="block px-2 py-1 text-sm font-bold text-gray-700 hover:text-gray-900 bg-gray-300 hover:bg-gray-400 active:shadow-inner" href="?page={{page+1}}&sort={{sort}}&t={{t}}">Next</a>
<a class="block px-2 py-1 text-sm font-bold text-gray-700 hover:text-gray-900 bg-gray-300 hover:bg-gray-400 active:shadow-inner" href="?page={{page+1}}&sort={{sort}}&t={{t}}">Next</a>
</li>
{% else %} {% else %}
<li><span class="block px-2 py-1 text-sm font-bold text-gray-400 bg-gray-300/50 disabled">Next</span></li> <span class="block px-2 py-1 text-sm font-bold text-gray-400 bg-gray-300/50 disabled">Next</span>
{% endif %} {% endif %}
</ul> </div>
{% endif %} {% endif %}
</div> </div>
</div> </div>