forked from rDrama/rDrama
fix
parent
ae801e0e18
commit
48938081ee
|
@ -74,14 +74,14 @@
|
||||||
{% block pagenav %}
|
{% block pagenav %}
|
||||||
<div class="col-span-full">
|
<div class="col-span-full">
|
||||||
<ul class="flex flex-wrap items-center mb-4">
|
<ul class="flex flex-wrap items-center mb-4">
|
||||||
<li class="{% if page==1 %} disabled{% endif %}">
|
<li class="{% if page==1 %}opacity-50 cursor-not-allowed pointer-events-none{% endif %}">
|
||||||
<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
|
Previous
|
||||||
</a>
|
</a>
|
||||||
</small>
|
</small>
|
||||||
</li>
|
</li>
|
||||||
<li class="{% if not next_exists %} disabled{% endif %}">
|
<li class="{% if not next_exists %}opacity-50 cursor-not-allowed pointer-events-none{% endif %}">
|
||||||
<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}}">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>
|
</small>
|
||||||
|
|
Loading…
Reference in New Issue