mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 18:14:09 -08:00
18 lines
706 B
PHP
18 lines
706 B
PHP
@if ($paginator->hasPages())
|
|
<ul class="pagination">
|
|
{{-- Previous Page Link --}}
|
|
@if ($paginator->onFirstPage())
|
|
<li class="page-item disabled"><span class="page-link">«</span></li>
|
|
@else
|
|
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
|
@endif
|
|
|
|
{{-- Next Page Link --}}
|
|
@if ($paginator->hasMorePages())
|
|
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
|
@else
|
|
<li class="page-item disabled"><span class="page-link">»</span></li>
|
|
@endif
|
|
</ul>
|
|
@endif
|