diff --git a/resources/views/livewire/navbar-delete-team.blade.php b/resources/views/livewire/navbar-delete-team.blade.php index 52d908dc7..1ade3378a 100644 --- a/resources/views/livewire/navbar-delete-team.blade.php +++ b/resources/views/livewire/navbar-delete-team.blade.php @@ -2,5 +2,5 @@ + shortConfirmationLabel="Team Name" /> diff --git a/resources/views/livewire/project/database/backup-executions.blade.php b/resources/views/livewire/project/database/backup-executions.blade.php index da884280b..0878f5b82 100644 --- a/resources/views/livewire/project/database/backup-executions.blade.php +++ b/resources/views/livewire/project/database/backup-executions.blade.php @@ -8,7 +8,8 @@ @forelse($executions as $execution)
data_get($execution, 'status') === 'running', + 'border-blue-500/50 border-dashed' => + data_get($execution, 'status') === 'running', 'border-error' => data_get($execution, 'status') === 'failed', 'border-success' => data_get($execution, 'status') === 'success', ])> @@ -20,16 +21,19 @@
data_get($execution, 'status') === 'running', - 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-200 dark:shadow-red-900/5' => data_get($execution, 'status') === 'failed', - 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200 dark:shadow-green-900/5' => data_get($execution, 'status') === 'success', + 'bg-blue-100/80 text-blue-700 dark:bg-blue-500/20 dark:text-blue-300 dark:shadow-blue-900/5' => + data_get($execution, 'status') === 'running', + 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-200 dark:shadow-red-900/5' => + data_get($execution, 'status') === 'failed', + 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200 dark:shadow-green-900/5' => + data_get($execution, 'status') === 'success', ])> @php - $statusText = match(data_get($execution, 'status')) { + $statusText = match (data_get($execution, 'status')) { 'success' => 'Success', 'running' => 'In Progress', 'failed' => 'Failed', - default => ucfirst(data_get($execution, 'status')) + default => ucfirst(data_get($execution, 'status')), }; @endphp {{ $statusText }} @@ -37,9 +41,11 @@
Started: {{ formatDateInServerTimezone(data_get($execution, 'created_at'), $this->server()) }} - @if(data_get($execution, 'status') !== 'running') -
Ended: {{ formatDateInServerTimezone(data_get($execution, 'finished_at'), $this->server()) }} -
Duration: {{ calculateDuration(data_get($execution, 'created_at'), data_get($execution, 'finished_at')) }} + @if (data_get($execution, 'status') !== 'running') +
Ended: + {{ formatDateInServerTimezone(data_get($execution, 'finished_at'), $this->server()) }} +
Duration: + {{ calculateDuration(data_get($execution, 'created_at'), data_get($execution, 'finished_at')) }}
Finished {{ \Carbon\Carbon::parse(data_get($execution, 'finished_at'))->diffForHumans() }} @endif
@@ -60,36 +66,60 @@
!data_get($execution, 'local_storage_deleted', false), - 'bg-gray-100 text-gray-600 dark:bg-gray-800/50 dark:text-gray-400' => data_get($execution, 'local_storage_deleted', false), + 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200' => !data_get( + $execution, + 'local_storage_deleted', + false), + 'bg-gray-100 text-gray-600 dark:bg-gray-800/50 dark:text-gray-400' => data_get( + $execution, + 'local_storage_deleted', + false), ])> - @if(!data_get($execution, 'local_storage_deleted', false)) - - + @if (!data_get($execution, 'local_storage_deleted', false)) + + @else - - + + @endif Local Storage - @if($backup->save_s3) + @if ($backup->save_s3) !data_get($execution, 's3_storage_deleted', false), - 'bg-gray-100 text-gray-600 dark:bg-gray-800/50 dark:text-gray-400' => data_get($execution, 's3_storage_deleted', false), + 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200' => !data_get( + $execution, + 's3_storage_deleted', + false), + 'bg-gray-100 text-gray-600 dark:bg-gray-800/50 dark:text-gray-400' => data_get( + $execution, + 's3_storage_deleted', + false), ])> - @if(!data_get($execution, 's3_storage_deleted', false)) - - + @if (!data_get($execution, 's3_storage_deleted', false)) + + @else - - + + @endif S3 Storage @@ -108,11 +138,10 @@ x-on:click="download_file('{{ data_get($execution, 'id') }}')">Download @endif + shortConfirmationLabel="Backup Filename" 1 /> @empty diff --git a/resources/views/livewire/project/service/database.blade.php b/resources/views/livewire/project/service/database.blade.php index 829674eca..b066a22b1 100644 --- a/resources/views/livewire/project/service/database.blade.php +++ b/resources/views/livewire/project/service/database.blade.php @@ -11,11 +11,11 @@ buttonTitle="Convert to Application" submitAction="convertToApplication" :actions="['The selected resource will be converted to an application.']" confirmationText="{{ Str::headline($database->name) }}" confirmationLabel="Please confirm the execution of the actions by entering the Service Database Name below" - shortConfirmationLabel="Service Database Name" step3ButtonText="Confirm" /> + shortConfirmationLabel="Service Database Name" /> + shortConfirmationLabel="Service Database Name" />
diff --git a/resources/views/livewire/project/service/file-storage.blade.php b/resources/views/livewire/project/service/file-storage.blade.php index c0508882b..0637c9e86 100644 --- a/resources/views/livewire/project/service/file-storage.blade.php +++ b/resources/views/livewire/project/service/file-storage.blade.php @@ -21,7 +21,7 @@ ]" confirmationText="{{ $fs_path }}" confirmationLabel="Please confirm the execution of the actions by entering the Filepath below" - shortConfirmationLabel="Filepath" step3ButtonText="Confirm" /> + shortConfirmationLabel="Filepath" /> @else @if (!$fileStorage->is_binary) + shortConfirmationLabel="Filepath" /> @endif
@if (!$fileStorage->is_directory) diff --git a/resources/views/livewire/project/service/service-application-view.blade.php b/resources/views/livewire/project/service/service-application-view.blade.php index f77396d93..4685741a7 100644 --- a/resources/views/livewire/project/service/service-application-view.blade.php +++ b/resources/views/livewire/project/service/service-application-view.blade.php @@ -11,11 +11,11 @@ buttonTitle="Convert to Database" submitAction="convertToDatabase" :actions="['The selected resource will be converted to a service database.']" confirmationText="{{ Str::headline($application->name) }}" confirmationLabel="Please confirm the execution of the actions by entering the Service Application Name below" - shortConfirmationLabel="Service Application Name" step3ButtonText="Confirm" /> + shortConfirmationLabel="Service Application Name" /> + shortConfirmationLabel="Service Application Name" />
diff --git a/resources/views/livewire/project/shared/danger.blade.php b/resources/views/livewire/project/shared/danger.blade.php index 97478a758..372360fc6 100644 --- a/resources/views/livewire/project/shared/danger.blade.php +++ b/resources/views/livewire/project/shared/danger.blade.php @@ -7,5 +7,5 @@ + shortConfirmationLabel="Resource Name" />
diff --git a/resources/views/livewire/project/shared/destination.blade.php b/resources/views/livewire/project/shared/destination.blade.php index d0a8c93d6..245449557 100644 --- a/resources/views/livewire/project/shared/destination.blade.php +++ b/resources/views/livewire/project/shared/destination.blade.php @@ -70,7 +70,7 @@ 'This will stop the all running applications on this server and remove it as a deployment destination.', ]" confirmationText="{{ data_get($destination, 'server.name') }}" confirmationLabel="Please confirm the execution of the actions by entering the Server Name below" - shortConfirmationLabel="Server Name" step3ButtonText="Confirm" /> + shortConfirmationLabel="Server Name" />
@endforeach diff --git a/resources/views/livewire/project/shared/storages/show.blade.php b/resources/views/livewire/project/shared/storages/show.blade.php index 0756eaf9b..4ad5636ec 100644 --- a/resources/views/livewire/project/shared/storages/show.blade.php +++ b/resources/views/livewire/project/shared/storages/show.blade.php @@ -60,7 +60,7 @@ 'If the persistent storage/volume is actvily used by a resource data will be lost.', ]" confirmationText="{{ $storage->name }}" confirmationLabel="Please confirm the execution of the actions by entering the Storage Name below" - shortConfirmationLabel="Storage Name" step3ButtonText="Confirm" /> + shortConfirmationLabel="Storage Name" /> @endif diff --git a/resources/views/livewire/server/cloudflare-tunnel.blade.php b/resources/views/livewire/server/cloudflare-tunnel.blade.php index aa2f9a1da..05ba47204 100644 --- a/resources/views/livewire/server/cloudflare-tunnel.blade.php +++ b/resources/views/livewire/server/cloudflare-tunnel.blade.php @@ -42,7 +42,7 @@ ]" confirmationText="DISABLE CLOUDFLARE TUNNEL" confirmationLabel="Please type the confirmation text to disable Cloudflare Tunnel." - shortConfirmationLabel="Confirmation text" step3ButtonText="Confirm" /> + shortConfirmationLabel="Confirmation text" /> @else + shortConfirmationLabel="Confirmation text" /> @endif @@ -118,7 +118,7 @@ 'If you missed something, the connection will not work.', ]" confirmationText="I manually configured Cloudflare Tunnel" confirmationLabel="Please type the confirmation text to confirm that you manually configured Cloudflare Tunnel." - shortConfirmationLabel="Confirmation text" step3ButtonText="Confirm" /> + shortConfirmationLabel="Confirmation text" /> @endif diff --git a/resources/views/livewire/server/delete.blade.php b/resources/views/livewire/server/delete.blade.php index 3efde3a19..c61775ee8 100644 --- a/resources/views/livewire/server/delete.blade.php +++ b/resources/views/livewire/server/delete.blade.php @@ -18,12 +18,12 @@ + shortConfirmationLabel="Server Name" /> @else + shortConfirmationLabel="Server Name" /> @endif @endif diff --git a/resources/views/livewire/settings/advanced.blade.php b/resources/views/livewire/settings/advanced.blade.php index bc52b1d6a..6f7e5c867 100644 --- a/resources/views/livewire/settings/advanced.blade.php +++ b/resources/views/livewire/settings/advanced.blade.php @@ -64,7 +64,7 @@ ]" confirmationText="DISABLE TWO STEP CONFIRMATION" confirmationLabel="Please type the confirmation text to disable two step confirmation." - shortConfirmationLabel="Confirmation text" step3ButtonText="Confirm" /> + shortConfirmationLabel="Confirmation text" />

Warning!

diff --git a/resources/views/livewire/team/admin-view.blade.php b/resources/views/livewire/team/admin-view.blade.php index ebe8e2368..6bcb43cf8 100644 --- a/resources/views/livewire/team/admin-view.blade.php +++ b/resources/views/livewire/team/admin-view.blade.php @@ -27,7 +27,7 @@ ]" confirmationText="{{ $user->name }}" confirmationLabel="Please confirm the execution of the actions by entering the User Name below" - shortConfirmationLabel="User Name" step3ButtonText="Confirm" /> + shortConfirmationLabel="User Name" />
@empty