mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-14 11:12:09 -05:00
24 lines
1.3 KiB
PHP
24 lines
1.3 KiB
PHP
@if ($paginator->hasPages())
|
|
<nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" class="flex items-center justify-between gap-2">
|
|
@if ($paginator->onFirstPage())
|
|
<span class="inline-flex items-center rounded-full border border-slate-200 bg-white px-4 py-2 text-sm font-medium text-slate-400 cursor-not-allowed">
|
|
{!! __('pagination.previous') !!}
|
|
</span>
|
|
@else
|
|
<a href="{{ $paginator->previousPageUrl() }}" rel="prev" class="inline-flex items-center rounded-full border border-slate-200 bg-white px-4 py-2 text-sm font-medium text-slate-700 transition hover:bg-slate-50">
|
|
{!! __('pagination.previous') !!}
|
|
</a>
|
|
@endif
|
|
|
|
@if ($paginator->hasMorePages())
|
|
<a href="{{ $paginator->nextPageUrl() }}" rel="next" class="inline-flex items-center rounded-full border border-slate-200 bg-white px-4 py-2 text-sm font-medium text-slate-700 transition hover:bg-slate-50">
|
|
{!! __('pagination.next') !!}
|
|
</a>
|
|
@else
|
|
<span class="inline-flex items-center rounded-full border border-slate-200 bg-white px-4 py-2 text-sm font-medium text-slate-400 cursor-not-allowed">
|
|
{!! __('pagination.next') !!}
|
|
</span>
|
|
@endif
|
|
</nav>
|
|
@endif
|