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 checkbox component and update GPU settings helper links
Andras Bacsaie33fec0e1af4
diff --git a/resources/views/components/forms/checkbox.blade.php b/resources/views/components/forms/checkbox.blade.phpindex 63c340d72f..6041eb793b 100644--- a/resources/views/components/forms/checkbox.blade.php+++ b/resources/views/components/forms/checkbox.blade.php@@ -7,20 +7,7 @@{{ $id }}@endif@if ($helper)- <div class="group w-fit">- <div class="cursor-pointer text-warning">- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"- class="w-4 h-4 stroke-current">- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>- </svg>- </div>- <div class="absolute hidden text-xs group-hover:block border-coolgray-400 bg-coolgray-500">- <div class="p-4 card-body">- {!! $helper !!}- </div>- </div>- </div>+ <x-helper :helper="$helper" />@endif</span><input @disabled($disabled) type="checkbox" {{ $attributes->merge(['class' => $defaultClass]) }}diff --git a/resources/views/livewire/project/application/advanced.blade.php b/resources/views/livewire/project/application/advanced.blade.phpindex 2a4a87ae99..1193456b7c 100644--- a/resources/views/livewire/project/application/advanced.blade.php+++ b/resources/views/livewire/project/application/advanced.blade.php@@ -25,7 +25,7 @@@endif<form wire:submit.prevent="submit"><div class="flex gap-2">- <x-forms.checkbox helper="Enable GPU usage for this application." instantSave+ <x-forms.checkbox helper="Enable GPU usage for this application. More info <a href='https://docs.docker.com/compose/gpu-support/' class='text-white underline' target='_blank'>here</a>." instantSaveid="application.settings.is_gpu_enabled" label="GPU Enabled Application" />@if ($application->settings->is_gpu_enabled)<x-forms.button type="submiot">Save</x-forms.button>@@ -37,7 +37,7 @@<x-forms.input label="GPU Count" placeholder="empty means use all GPUs"id="application.settings.gpu_count"> </x-forms.input><x-forms.input label="GPU Device Ids" placeholder="0,2"- helper="Comma separated list of device ids. More info <a href='https://docs.docker.com/compose/gpu-support/' class='text-white underline' target='_blank'>here</a>."+ helper="Comma separated list of device ids. More info <a href='https://docs.docker.com/compose/gpu-support/#access-specific-devices' class='text-white underline' target='_blank'>here</a>."id="application.settings.gpu_device_ids"> </x-forms.input></div>