alarm wip
This commit is contained in:
1 parent
d81af0b02b
commit
04b17abd30
15 files changed
+302
-61
No files matched your search
@@ -13,7 +13,7 @@ class EditEvent extends EditRecord
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
DeleteAction::make(),
|
||||
// DeleteAction::make(),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
namespace App\Filament\Resources\Events\Pages;
|
||||
|
||||
use App\Filament\Resources\Events\EventResource;
|
||||
use App\Filament\Resources\Events\Widgets\AlarmWidget;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
use Filament\Support\Enums\Width;
|
||||
|
||||
@@ -13,4 +14,19 @@ class ListEvents extends ListRecords
|
||||
protected string|Width|null $maxContentWidth = Width::Full;
|
||||
|
||||
protected $listeners = ['refreshBettypeMenu' => '$refresh'];
|
||||
|
||||
protected function getHeaderWidgets(): array
|
||||
{
|
||||
return [
|
||||
AlarmWidget::class,
|
||||
];
|
||||
}
|
||||
|
||||
public function getColumns(): int|array
|
||||
{
|
||||
return [
|
||||
'md' => 4,
|
||||
'xl' => 6,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user