mirror of
https://github.com/tchartron/blow
synced 2024-11-27 14:50:56 +00:00
update
This commit is contained in:
parent
3000584eac
commit
4b0381536f
1 changed files with 3 additions and 3 deletions
|
@ -188,7 +188,7 @@
|
|||
{% if paginator.previous or paginator.next %}
|
||||
<div class="max-w-7xl px-2 sm:px-6 lg:px-8 mx-auto w-full">
|
||||
<div class="flex items-center justify-between">
|
||||
<a class="flex items-center border border-black rounded-lg text-gray-800 dark:text-gray-300 dark:bg-gray-800 hover:bg-gray-700 dark:hover:bg-gray-600 hover:text-white px-3 py-4 rounded-md text-sm font-medium" href='{{ paginator.previous }}' {% if not paginator.previous %}disabled{% endif %}>
|
||||
<a class="flex items-center border border-black rounded-lg text-gray-800 dark:text-gray-300 dark:bg-gray-800 hover:bg-gray-700 dark:hover:bg-gray-600 hover:text-white px-3 py-4 rounded-md text-sm font-medium transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800" href='{{ paginator.previous }}' {% if not paginator.previous %}disabled{% endif %}>
|
||||
<svg class="w-7 h-7 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16l-4-4m0 0l4-4m-4 4h18"></path>
|
||||
</svg>
|
||||
|
@ -196,14 +196,14 @@
|
|||
</a>
|
||||
<ul class="flex gap-y-2">
|
||||
{% for pager in range(start=1, end=paginator.number_pagers+1) %}
|
||||
<li>
|
||||
<li class="p-4">
|
||||
<a class="{% if paginator.current_index == pager %}bg-blue-500{% endif %}" href='{{ paginator.base_url }}{{pager}}' aria-label="Page {{pager}}">
|
||||
{{pager}}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<a class="flex items-center border border-black rounded-lg text-gray-800 dark:text-gray-300 dark:bg-gray-800 hover:bg-gray-700 dark:hover:bg-gray-600 hover:text-white px-3 py-4 rounded-md text-sm font-medium" href='{{ paginator.next }}' {% if not paginator.next %}disabled{% endif %}>
|
||||
<a class="flex items-center border border-black rounded-lg text-gray-800 dark:text-gray-300 dark:bg-gray-800 hover:bg-gray-700 dark:hover:bg-gray-600 hover:text-white px-3 py-4 rounded-md text-sm font-medium transform transition duration-500 hover:scale-105 bg-gray-200 dark:bg-gray-800" href='{{ paginator.next }}' {% if not paginator.next %}disabled{% endif %}>
|
||||
Next page
|
||||
<svg class="w-7 h-7 ml-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"></path>
|
||||
|
|
Loading…
Reference in a new issue