fix: cleans up paginator
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</li>
|
||||
{% if startPage > 2 %}
|
||||
<li class="page-item disabled">
|
||||
<span class="page-link px-2.5 py-1 rounded-lg bg-orange-500 align-middle">...</span>
|
||||
<span class="page-link px-2.5 py-1 rounded-lg bg-orange-500 align-middle inline-flex items-stretch">...</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
@@ -44,15 +44,14 @@
|
||||
data-live-action-param="paginate"
|
||||
data-live-page-param="{{ i|number_format }}"
|
||||
class="page-link px-2.5 py-1 rounded-lg bg-orange-500 text-white align-middle"
|
||||
{% if i == _currentPage %}style="background-color: #fff; color: darkorange; border: 2px solid darkorange;"{% endif %}
|
||||
|
||||
{% if i == _currentPage %}style="background-color: #fff; color: darkorange; font-weight: bold;"{% endif %}
|
||||
>{{ i }}</button>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% if endPage < _lastPage %}
|
||||
{% if endPage < _lastPage - 1 %}
|
||||
<li class="page-item disabled">
|
||||
<span class="page-link px-2.5 py-1 rounded-lg bg-orange-500 align-middle">...</span>
|
||||
<span class="page-link px-2.5 py-1 rounded-lg bg-orange-500 align-middle inline-flex items-stretch">...</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="page-item">
|
||||
|
||||
Reference in New Issue
Block a user