mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
28 lines
608 B
PHP
28 lines
608 B
PHP
<?php
|
|
|
|
namespace App\Filament;
|
|
|
|
use Filament\Support\Enums\Width;
|
|
use Closure;
|
|
use Filament\Tables\Enums\FiltersLayout;
|
|
use Filament\Resources\Pages\ListRecords;
|
|
use Filament\Tables\Filters\Layout;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PageList extends ListRecords
|
|
{
|
|
protected Width|string|null $maxContentWidth = 'full';
|
|
|
|
protected function getTableRecordUrlUsing(): ?Closure
|
|
{
|
|
return function (Model $record): ?string {
|
|
return null;
|
|
};
|
|
}
|
|
|
|
protected function getTableFiltersLayout(): ?string
|
|
{
|
|
return FiltersLayout::AboveContent;
|
|
}
|
|
}
|