forked from rDrama/rDrama
fix
parent
45f34eb4b4
commit
bc454bca5d
|
@ -94,7 +94,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if next_exists %}
|
{% if next_exists %}
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% 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 %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -82,13 +82,19 @@
|
||||||
</a>
|
</a>
|
||||||
</small>
|
</small>
|
||||||
{% else %}
|
{% 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 %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
<li class="{% if not next_exists %}opacity-50 pointer-events-none{% endif %}">
|
<li class="{% if not next_exists %}opacity-50 pointer-events-none{% endif %}">
|
||||||
|
{% if next_exists %}
|
||||||
<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>
|
||||||
|
{% 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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue