2.x - php

This commit is contained in:
Saeed Vaziry
2024-09-28 15:19:55 +02:00
parent f6bc04763b
commit 32993025de
21 changed files with 698 additions and 83 deletions

View File

@ -60,6 +60,7 @@ protected function getHeaderActions(): array
DeleteAction::make()
->record($this->project)
->label('Delete Project')
->icon('heroicon-o-trash')
->modalHeading('Delete Project')
->modalDescription('Are you sure you want to delete this project? This action will delete all associated data and cannot be undone.')
->using(function (Project $record) {

View File

@ -39,6 +39,7 @@ protected function getHeaderActions(): array
return [
CreateAction::make()
->label('Connect')
->icon('heroicon-o-wifi')
->modalHeading('Connect to a Server Provider')
->modalSubmitActionLabel('Connect')
->createAnother(false)

View File

@ -43,6 +43,7 @@ protected function getHeaderActions(): array
return [
CreateAction::make()
->label('Create User')
->icon('heroicon-o-plus')
->authorize('create', User::class)
->action(function (array $data) {
$user = app(CreateUser::class)->create($data);