An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor: Improve modal confirmation titles and button labels
Andras Bacsaif3ec4ca4a30d
diff --git a/resources/views/livewire/project/service/configuration.blade.php b/resources/views/livewire/project/service/configuration.blade.phpindex a00b66b8ea..b32dae22f4 100644--- a/resources/views/livewire/project/service/configuration.blade.php+++ b/resources/views/livewire/project/service/configuration.blade.php@@ -76,7 +76,7 @@@endif@if ($application->fqdn)<span class="flex gap-1 text-xs">{{ Str::limit($application->fqdn, 60) }}- <x-modal-input title="Edit Domains">+ <x-modal-input title="Edit Domains" closeOutside="false"><x-slot:content><span class="cursor-pointer"><svg xmlns="http://www.w3.org/2000/svg"@@ -107,15 +107,14 @@Settings</a>@if (str($application->status)->contains('running'))- <x-modal-confirmation- title="Confirm Service Application Restart?"- buttonTitle="Restart"- submitAction="restartApplication({{ $application->id }})"- :actions="['The selected service application will be unavailable during the restart.', 'If the service application is currently in use data could be lost.']"- :confirmWithText="false"- :confirmWithPassword="false"- step2ButtonText="Restart Service Container"- />+ <x-modal-confirmation title="Confirm Service Application Restart?"+ buttonTitle="Restart"+ submitAction="restartApplication({{ $application->id }})" :actions="[+ 'The selected service application will be unavailable during the restart.',+ 'If the service application is currently in use data could be lost.',+ ]"+ :confirmWithText="false" :confirmWithPassword="false"+ step2ButtonText="Restart Service Container" />@endif</div></div>@@ -155,15 +154,13 @@Settings</a>@if (str($database->status)->contains('running'))- <x-modal-confirmation- title="Confirm Service Database Restart?"- buttonTitle="Restart"- submitAction="restartDatabase({{ $database->id }})"- :actions="['This service database will be unavailable during the restart.', 'If the service database is currently in use data could be lost.']"- :confirmWithText="false"- :confirmWithPassword="false"- step2ButtonText="Restart Database"- />+ <x-modal-confirmation title="Confirm Service Database Restart?"+ buttonTitle="Restart" submitAction="restartDatabase({{ $database->id }})"+ :actions="[+ 'This service database will be unavailable during the restart.',+ 'If the service database is currently in use data could be lost.',+ ]" :confirmWithText="false" :confirmWithPassword="false"+ step2ButtonText="Restart Database" />@endif</div></div>@@ -183,7 +180,8 @@lazy />@endforeach@foreach ($databases as $database)- <livewire:project.service.storage wire:key="database-{{ $database->id }}" :resource="$database" lazy />+ <livewire:project.service.storage wire:key="database-{{ $database->id }}" :resource="$database"+ lazy />@endforeach</div><div x-cloak x-show="activeTab === 'scheduled-tasks'">