simple-bootstrap-4.blade.php 962B

1234567891011121314151617181920212223242526
  1. @if ($paginator->hasPages())
  2. <ul class="pagination" role="navigation">
  3. {{-- Previous Page Link --}}
  4. @if ($paginator->onFirstPage())
  5. <li class="page-item disabled" aria-disabled="true">
  6. <span class="page-link">@lang('pagination.previous')</span>
  7. </li>
  8. @else
  9. <li class="page-item">
  10. <a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a>
  11. </li>
  12. @endif
  13. {{-- Next Page Link --}}
  14. @if ($paginator->hasMorePages())
  15. <li class="page-item">
  16. <a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a>
  17. </li>
  18. @else
  19. <li class="page-item disabled" aria-disabled="true">
  20. <span class="page-link">@lang('pagination.next')</span>
  21. </li>
  22. @endif
  23. </ul>
  24. @endif