diff --git a/web/app/Filament/Pages/CronJobs.php b/web/app/Filament/Pages/CronJobs.php new file mode 100644 index 0000000..d6ec7c1 --- /dev/null +++ b/web/app/Filament/Pages/CronJobs.php @@ -0,0 +1,13 @@ +schema([ - // - ]); - } - - public static function table(Table $table): Table - { - return $table - ->columns([ - // - ]) - ->filters([ - // - ]) - ->actions([ - Tables\Actions\EditAction::make(), - ]) - ->bulkActions([ - Tables\Actions\BulkActionGroup::make([ - Tables\Actions\DeleteBulkAction::make(), - ]), - ]); - } - - public static function getRelations(): array - { - return [ - // - ]; - } - - public static function getPages(): array - { - return [ - 'index' => Pages\ListCronJobs::route('/'), - 'create' => Pages\CreateCronJob::route('/create'), - 'edit' => Pages\EditCronJob::route('/{record}/edit'), - ]; - } -} diff --git a/web/app/Filament/Resources/CronJobResource/Pages/CreateCronJob.php b/web/app/Filament/Resources/CronJobResource/Pages/CreateCronJob.php deleted file mode 100644 index aa1465a..0000000 --- a/web/app/Filament/Resources/CronJobResource/Pages/CreateCronJob.php +++ /dev/null @@ -1,12 +0,0 @@ - + + diff --git a/web/routes/web.php b/web/routes/web.php index 5cdb00f..fc06f37 100644 --- a/web/routes/web.php +++ b/web/routes/web.php @@ -22,3 +22,4 @@ Route::get('/', function () { return view('welcome'); }); +