2021-12-04 11:19:47 +00:00
|
|
|
@if(typeof pagination !== "undefined")
|
|
|
|
<nav class="pagination">
|
|
|
|
<a href="{{ pagination.link }}{{ pagination.start }}" class="page-item-1 btn start@if(!pagination.prev) disabled@endif">«</a>
|
|
|
|
<a href="{{ pagination.link }}{{ pagination.prev }}" class="page-item-2 btn prev@if(!pagination.prev) disabled@endif">‹</a>
|
|
|
|
@each(pagination.cheat as i)
|
|
|
|
@if(i == pagination.page)
|
|
|
|
<span class="btn disabled">{{ i }}</span>
|
|
|
|
@else
|
|
|
|
<a href="{{ pagination.link }}{{ i }}" class="pagination-int-item btn">{{ i }}</a>
|
|
|
|
@endif
|
|
|
|
@endeach
|
|
|
|
<a href="{{ pagination.link }}{{ pagination.next }}" class="page-item-3 btn next@if(!pagination.next) disabled@endif">›</a>
|
|
|
|
<a href="{{ pagination.link }}{{ pagination.end }}" class="page-item-4 btn start@if(!pagination.next) disabled@endif">»</a>
|
|
|
|
</nav>
|
|
|
|
@endif
|