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