forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-21 22:19:27 -06:00
parent 45f34eb4b4
commit bc454bca5d
2 changed files with 10 additions and 4 deletions

View File

@ -94,7 +94,7 @@
{% endif %}
</li>
{% else %}
<li><button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 disabled">Prev</button></li>
<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>
{% endif %}
{% if next_exists %}
@ -113,7 +113,7 @@
{% endif %}
</li>
{% else %}
<li><button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 disabled">Next</button></li>
<li><button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 cursor-not-allowed">Next</button></li>
{% endif %}
</ul>
</div>

View File

@ -82,13 +82,19 @@
</a>
</small>
{% else %}
<button class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 disabled 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">Prev</button>
{% endif %}
</li>
<li class="{% if not next_exists %}opacity-50 pointer-events-none{% endif %}">
{% if next_exists %}
<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}}">Next</a>
<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}}">
Next
</a>
</small>
{% else %}
<button disabled class="block px-2 py-1 text-sm font-bold text-gray-700 bg-gray-800 cursor-not-allowed">Next</button>
{% endif %}
</li>
</ul>
</div>