2022-06-27 01:39:01 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Filament;
|
|
|
|
|
|
|
|
|
|
use Filament\Resources\Pages\ListRecords;
|
2022-10-22 01:49:34 +08:00
|
|
|
use Filament\Tables\Filters\Layout;
|
2022-06-27 01:39:01 +08:00
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class PageList extends ListRecords
|
|
|
|
|
{
|
|
|
|
|
protected ?string $maxContentWidth = 'full';
|
|
|
|
|
|
|
|
|
|
protected function getTableRecordUrlUsing(): ?\Closure
|
|
|
|
|
{
|
|
|
|
|
return function (Model $record): ?string {
|
|
|
|
|
return null;
|
|
|
|
|
};
|
|
|
|
|
}
|
2022-10-22 01:49:34 +08:00
|
|
|
|
|
|
|
|
protected function getTableFiltersLayout(): ?string
|
|
|
|
|
{
|
2024-12-25 23:09:07 +08:00
|
|
|
return \Filament\Tables\Enums\FiltersLayout::AboveContent;
|
2022-10-22 01:49:34 +08:00
|
|
|
}
|
2022-06-27 01:39:01 +08:00
|
|
|
}
|