style pagination
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="current mx-2 btn-pagination-position">
|
||||
<span class="{{ page.class }}">{{ page.title }}</span>
|
||||
<span class="{{ page.class }} bg-danger-subtle">{{ page.title }}</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
@ -45,9 +45,9 @@
|
||||
{{ page.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
{% else %}
|
||||
<li class="current mx-2 btn-pagination-position">
|
||||
<span class="{{ page.class }}">{{ page.title }}</span>
|
||||
<span class="{{ page.class }} {% if page.title > 0 %}bg-danger-subtle{% endif %}">{{ page.title }}</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="current mx-2 btn-pagination-position">
|
||||
<span class="{{ page.class }}">{{ page.title }}</span>
|
||||
<span class="{{ page.class }} bg-danger-subtle">{{ page.title }}</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="first disabled mx-2 border border-0" >
|
||||
<button disabled class="btn-secondary-cnt btn-pagination-position btn-no-hover">
|
||||
<button disabled class="btn-disabled-cnt btn-pagination-position btn-no-hover bg-danger-subtle">
|
||||
{{ __('Inicio', 'Sindikatua') }}
|
||||
</button>
|
||||
</li>
|
||||
@ -28,28 +28,13 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="prev disabled mx-2 border border-0">
|
||||
<button disabled class="btn-secondary-cnt btn-pagination-position btn-no-hover">
|
||||
<button disabled class="btn-disabled-cnt btn-pagination-position btn-no-hover bg-danger-subtle">
|
||||
{{ __('Anterior', 'Sindikatua') }}
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{# Pages #}
|
||||
{# {% for page in pagination.pages %}
|
||||
{% if page.link %}
|
||||
<li class="mx-2 btn-pagination-position">
|
||||
<a href="{{ page.link }}"
|
||||
class="{{ page.class }} text-decoration-none btn-page-hover" >
|
||||
{{ page.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="current mx-2 btn-pagination-position">
|
||||
<span class="{{ page.class }}">{{ page.title }}</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %} #}
|
||||
|
||||
{% include 'partials/pagination-custom-pages.twig' %}
|
||||
|
||||
{# Next #}
|
||||
@ -62,7 +47,7 @@
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="next disabled mx-2 border border-0">
|
||||
<button disabled class="btn-secondary-cnt btn-pagination-position btn-no-hover">
|
||||
<button disabled class="btn-disabled-cnt btn-pagination-position btn-no-hover bg-danger-subtle">
|
||||
{{ __('Siguiente', 'Sindikatua') }}
|
||||
</button>
|
||||
</li>
|
||||
@ -79,7 +64,7 @@
|
||||
{% else %}
|
||||
<li class="last disabled mx-2 border border-0">
|
||||
<button disabled
|
||||
class="btn-secondary-cnt btn-pagination-position btn-no-hover">
|
||||
class="btn-disabled-cnt btn-pagination-position btn-no-hover bg-danger-subtle">
|
||||
{{ __('Última', 'Sindikatua') }}
|
||||
</button>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user