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(ui): conditionally enable advanced application settings based on label readonly status
Andras Bacsaie9efbce76aec
diff --git a/resources/views/livewire/project/application/advanced.blade.php b/resources/views/livewire/project/application/advanced.blade.phpindex f3fb0485ff..de84f22300 100644--- a/resources/views/livewire/project/application/advanced.blade.php+++ b/resources/views/livewire/project/application/advanced.blade.php@@ -15,14 +15,27 @@@endif<x-forms.checkbox helper="Disable Docker build cache on every deployment." instantSave id="disableBuildCache"label="Disable Build Cache" />- <x-forms.checkbox- helper="Your application will be available only on https if your domain starts with https://..."- instantSave id="isForceHttpsEnabled" label="Force Https" />- <x-forms.checkbox label="Enable Gzip Compression"- helper="You can disable gzip compression if you want. Some services are compressing data by default. In this case, you do not need this."- instantSave id="isGzipEnabled" />- <x-forms.checkbox helper="Strip Prefix is used to remove prefixes from paths. Like /api/ to /api."- instantSave id="isStripprefixEnabled" label="Strip Prefixes" />++ @if ($application->settings->is_container_label_readonly_enabled)+ <x-forms.checkbox+ helper="Your application will be available only on https if your domain starts with https://..."+ instantSave id="isForceHttpsEnabled" label="Force Https" />+ <x-forms.checkbox label="Enable Gzip Compression"+ helper="You can disable gzip compression if you want. Some services are compressing data by default. In this case, you do not need this."+ instantSave id="isGzipEnabled" />+ <x-forms.checkbox helper="Strip Prefix is used to remove prefixes from paths. Like /api/ to /api."+ instantSave id="isStripprefixEnabled" label="Strip Prefixes" />+ @else+ <x-forms.checkbox disabled+ helper="Readonly labels are disabled. You need to set the labels in the labels section." instantSave+ id="isForceHttpsEnabled" label="Force Https" />+ <x-forms.checkbox label="Enable Gzip Compression" disabled+ helper="Readonly labels are disabled. You need to set the labels in the labels section." instantSave+ id="isGzipEnabled" />+ <x-forms.checkbox+ helper="Readonly labels are disabled. You need to set the labels in the labels section." disabled+ instantSave id="isStripprefixEnabled" label="Strip Prefixes" />+ @endif@if ($application->build_pack === 'dockercompose')<h3>Docker Compose</h3><x-forms.checkbox instantSave id="isRawComposeDeploymentEnabled" label="Raw Compose Deployment"