53 lines
1.3 KiB
PHP
53 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use BackedEnum;
|
|
use Filament\Actions\Action;
|
|
use Filament\Pages\Page;
|
|
use Filament\Support\Enums\Width;
|
|
use UnitEnum;
|
|
|
|
class Monitor extends Page
|
|
{
|
|
protected static string|BackedEnum|null $navigationIcon = 'lucide-monitor';
|
|
|
|
protected string $view = 'filament.pages.monitor';
|
|
|
|
protected static ?string $recordTitleAttribute = 'name';
|
|
|
|
protected static ?string $navigationLabel = 'Monitor';
|
|
|
|
protected static ?string $pluralLabel = 'Monitor';
|
|
|
|
protected ?string $heading = '';
|
|
|
|
protected static ?string $title = '';
|
|
|
|
// protected array $extraBodyAttributes = ['class' => 'border border-red-500'];
|
|
|
|
public function getMaxContentWidth(): Width
|
|
{
|
|
return Width::Full;
|
|
}
|
|
|
|
// protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
|
|
|
// public function onboardingAction(): Action
|
|
// {
|
|
// return Action::make('onboarding')
|
|
// ->modalHeading('Welcome');
|
|
// }
|
|
|
|
// protected function getHeaderActions(): array
|
|
// {
|
|
// return [
|
|
// Action::make('edit')->modalHeading('Welcome'),
|
|
// // ->url(route('posts.edit', ['post' => $this->post])),
|
|
// Action::make('delete'),
|
|
// // ->requiresConfirmation()
|
|
// // ->action(fn () => $this->post->delete()),
|
|
// ];
|
|
// }
|
|
}
|