TanchoToplineCargo/resources/views/client/topCargo/pagination/topCargo.blade.php
2024-05-05 10:32:49 +05:45

16 lines
697 B
PHP

<nav class="navigation paging-navigation numeric-navigation">
<a class="previous page-numbers" href="{{ $data->previousPageUrl() }}"><i class="fa fa-angle-left"
aria-hidden="true"></i></a>
@foreach ($data->links()->elements[0] as $page => $url)
@if ($page == $data->currentPage())
<li class="page-numbers current"><a href="javascript:void(0)">{{ $page }}</a>
</li>
@else
<li class="page-numbers"><a href="{{ $url }}">{{ $page }}</a>
</li>
@endif
@endforeach
<a class="next page-numbers" href="{{ $data->nextPageUrl() }}"><i class="fa fa-angle-right"
aria-hidden="true"></i></a>
</nav>