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
Feat: general confirm
ayntk-aif29bc52fa554
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.phpindex 389c9b0007..e21f2a38a3 100644--- a/resources/views/livewire/project/application/general.blade.php+++ b/resources/views/livewire/project/application/general.blade.php@@ -68,11 +68,20 @@<option value="www">Redirect to www.</option><option value="non-www">Redirect to non-www.</option></x-forms.select>- <x-modal-confirmation action="set_redirect">+ <x-modal-confirmation+ title="Confirm Redirection Setting?"+ buttonTitle="Set Direction"+ submitAction="set_redirect"+ :actions="['All traffic will be redirected to the selected direction.']"+ confirmationText="{{ $application->fqdn . '/' }}"+ confirmationLabel="Please confirm the execution of the action by entering the Application URL below"+ shortConfirmationLabel="Application URL"+ :confirmWithPassword="false"+ step2ButtonText="Set Direction"+ ><x-slot:customButton><div class="w-[7.2rem]">Set Direction</div></x-slot:customButton>- This will reset the container labels. Are you sure?</x-modal-confirmation></div>@endif@@ -297,12 +306,18 @@helper="If you know what are you doing, you can enable this to edit the labels directly. Coolify won't update labels automatically. <br><br>Be careful, it could break the proxy configuration after you restart the container."id="application.settings.is_container_label_readonly_enabled" instantSave></x-forms.checkbox></div>- <x-modal-confirmation buttonFullWidth action="resetDefaultLabels"- buttonTitle="Reset to Coolify Generated Labels">- Are you sure you want to reset the labels to Coolify generated labels? <br>It could break the proxy- configuration after you restart the container.- </x-modal-confirmation>-+ <x-modal-confirmation+ title="Confirm Labels Reset to Coolify Defaults?"+ buttonTitle="Reset Labels to Coolify Defaults"+ buttonFullWidth+ submitAction="resetDefaultLabels"+ :actions="['All your custom proxy labels will be lost.', 'Proxy labels (traefik, caddy, etc) will be reset to the coolify defaults.']"+ confirmationText="{{ $application->fqdn . '/' }}"+ confirmationLabel="Please confirm the execution of the actions by entering the Application URL below"+ shortConfirmationLabel="Application URL"+ :confirmWithPassword="false"+ step2ButtonText="Permanently Reset Labels"+ />@endif<h3 class="pt-8">Pre/Post Deployment Commands</h3>