custom/plugins/NrbnLvgTheme/src/Resources/views/storefront/component/pagination.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/pagination.html.twig' %}
  2. {% block component_pagination %}
  3.     <div class="pagination nrbn-pagination">
  4.         <div class="nrbn-pagination-prev{% if currentPage == 1 %} disabled{% endif %}">
  5.             <input type="radio"
  6.                 {% if currentPage == 1 %}disabled="disabled"{% endif %}
  7.                 name="p"
  8.                 id="p-prev"
  9.                 value="{{ currentPage - 1 }}"
  10.                 class="d-none"
  11.                 title="pagination">
  12.             <label class="nrbn-pagination-label" for="p-prev">
  13.                 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" height="24" width="24">
  14.                     <path stroke-linecap="round" stroke-linejoin="round" d="M15.75 19.5L8.25 12l7.5-7.5" />
  15.                 </svg>
  16.             </label>
  17.         </div>
  18.         <div class="nrbn-pagination-info">
  19.             Seite {{ currentPage }} von {{ totalPages }}
  20.         </div>
  21.         <div class="nrbn-pagination-next{% if currentPage == totalPages %} disabled{% endif %}">
  22.             <input type="radio"
  23.                 {% if currentPage == totalPages %}disabled="disabled"{% endif %}
  24.                 name="p"
  25.                 id="p-next"
  26.                 value="{{ currentPage + 1 }}"
  27.                 class="d-none"
  28.                 title="pagination">
  29.             <label class="nrbn-pagination-label" for="p-next">
  30.                 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" height="24" width="24">
  31.                     <path stroke-linecap="round" stroke-linejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5" />
  32.                 </svg>
  33.             </label>
  34.         </div>
  35.         
  36.     </div>
  37. {% endblock %}