forked from rDrama/rDrama
fix
parent
ffc845aadc
commit
45a2f2d7b3
|
@ -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-pink-500 bg-gray-900" href="?page={{page-1}}&sort={{sort}}&t={{t}}" tabindex="-1">
|
<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">
|
||||||
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-800 disabled">Prev</span></li>
|
<li><span class="block px-2 py-1 text-sm font-bold text-gray-700 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-pink-500 bg-gray-900" href="?page={{page+1}}&sort={{sort}}&t={{t}}">Next</a>
|
<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>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><span class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 disabled">Next</span></li>
|
<li><span class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-300 disabled">Next</span></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue