tests / lint (push) Successful in 1m0s
tests / feature (8.4) (push) Successful in 1m10s
tests / feature (8.5) (push) Successful in 1m6s
tests / browser (chrome, chromium) (push) Successful in 3m28s
tests / browser (firefox, firefox) (push) Successful in 4m20s
tests / browser (safari, webkit) (push) Failing after 6m16s
A data table styled from descendant selectors, a Livewire sort header with aria-sort, and Laravel's and Livewire's full and simple paginators drawn in M3, put in front of their own views. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
19 lines
1003 B
PHP
19 lines
1003 B
PHP
{{-- Laravel's simple and cursor paginator, drawn in M3: previous and next as outlined buttons
|
|
(the package puts this in front of `pagination::simple-tailwind`). --}}
|
|
|
|
@if ($paginator->hasPages())
|
|
<nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" data-pagination class="flex items-center justify-between gap-4">
|
|
@if ($paginator->onFirstPage())
|
|
<x-button variant="outlined" icon="chevron_left" :label="__('Previous')" disabled />
|
|
@else
|
|
<x-button variant="outlined" icon="chevron_left" :label="__('Previous')" :link="$paginator->previousPageUrl()" no-wire-navigate rel="prev" />
|
|
@endif
|
|
|
|
@if ($paginator->hasMorePages())
|
|
<x-button variant="outlined" icon-right="chevron_right" :label="__('Next')" :link="$paginator->nextPageUrl()" no-wire-navigate rel="next" />
|
|
@else
|
|
<x-button variant="outlined" icon-right="chevron_right" :label="__('Next')" disabled />
|
|
@endif
|
|
</nav>
|
|
@endif
|