mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 00:24:15 +02:00
fix: checkbox click
This commit is contained in:
parent
d721f4809a
commit
7a0e415ecf
@ -1,5 +1,5 @@
|
|||||||
<div class="px-2 form-control min-w-fit hover:bg-coolgray-100">
|
<div class="flex flex-row items-center gap-4 px-2 form-control min-w-fit hover:bg-coolgray-100">
|
||||||
<label class="flex gap-4 px-0 cursor-pointer label">
|
<label class="flex gap-4 px-0 label">
|
||||||
<span class="flex gap-2 label-text min-w-fit">
|
<span class="flex gap-2 label-text min-w-fit">
|
||||||
@if ($label)
|
@if ($label)
|
||||||
{!! $label !!}
|
{!! $label !!}
|
||||||
@ -10,8 +10,9 @@
|
|||||||
<x-helper :helper="$helper" />
|
<x-helper :helper="$helper" />
|
||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
|
</label>
|
||||||
|
<span class="flex-grow"></span>
|
||||||
<input @disabled($disabled) type="checkbox" {{ $attributes->merge(['class' => $defaultClass]) }}
|
<input @disabled($disabled) type="checkbox" {{ $attributes->merge(['class' => $defaultClass]) }}
|
||||||
@if ($instantSave) wire:loading.attr="disabled" wire:click='{{ $instantSave === 'instantSave' || $instantSave == '1' ? 'instantSave' : $instantSave }}'
|
@if ($instantSave) wire:loading.attr="disabled" wire:click='{{ $instantSave === 'instantSave' || $instantSave == '1' ? 'instantSave' : $instantSave }}'
|
||||||
wire:model={{ $id }} @else wire:model={{ $value ?? $id }} @endif />
|
wire:model={{ $id }} @else wire:model={{ $value ?? $id }} @endif />
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -207,7 +207,7 @@ class="w-full text-white rounded input input-sm bg-coolgray-200 disabled:bg-cool
|
|||||||
<div class="flex items-center justify-center pt-4">
|
<div class="flex items-center justify-center pt-4">
|
||||||
<x-forms.checkbox instantSave wire:model="includeSwarm"
|
<x-forms.checkbox instantSave wire:model="includeSwarm"
|
||||||
helper="Swarm clusters are excluded from this list by default. For database, services or complex compose deployments with databases to work with Swarm,
|
helper="Swarm clusters are excluded from this list by default. For database, services or complex compose deployments with databases to work with Swarm,
|
||||||
you need to set a few things on the server. Read more <a class='text-white underline' href='https://coolify.io/docs/swarm#database-requirements' target='_blank'>here</a>."
|
you need to set a few things on the server. Read more <a class='text-white underline' href='https://coolify.io/docs/docker/swarm#database-requirements' target='_blank'>here</a>."
|
||||||
label="Include Swarm Clusters" />
|
label="Include Swarm Clusters" />
|
||||||
</div>
|
</div>
|
||||||
@endif --}}
|
@endif --}}
|
||||||
|
@ -59,20 +59,20 @@
|
|||||||
@endif
|
@endif
|
||||||
@if ($server->settings->is_swarm_worker)
|
@if ($server->settings->is_swarm_worker)
|
||||||
<x-forms.checkbox disabled instantSave type="checkbox" id="server.settings.is_swarm_manager"
|
<x-forms.checkbox disabled instantSave type="checkbox" id="server.settings.is_swarm_manager"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Manager?" />
|
label="Is it a Swarm Manager?" />
|
||||||
@else
|
@else
|
||||||
<x-forms.checkbox instantSave type="checkbox" id="server.settings.is_swarm_manager"
|
<x-forms.checkbox instantSave type="checkbox" id="server.settings.is_swarm_manager"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Manager?" />
|
label="Is it a Swarm Manager?" />
|
||||||
@endif
|
@endif
|
||||||
@if ($server->settings->is_swarm_manager)
|
@if ($server->settings->is_swarm_manager)
|
||||||
<x-forms.checkbox disabled instantSave type="checkbox" id="server.settings.is_swarm_worker"
|
<x-forms.checkbox disabled instantSave type="checkbox" id="server.settings.is_swarm_worker"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Worker?" />
|
label="Is it a Swarm Worker?" />
|
||||||
@else
|
@else
|
||||||
<x-forms.checkbox instantSave type="checkbox" id="server.settings.is_swarm_worker"
|
<x-forms.checkbox instantSave type="checkbox" id="server.settings.is_swarm_worker"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Worker?" />
|
label="Is it a Swarm Worker?" />
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
@ -26,23 +26,23 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
</x-forms.select>
|
</x-forms.select>
|
||||||
<div class="w-96">
|
<div class="w-96">
|
||||||
<div class="pt-6"> Swarm support is in alpha version. Read the docs <a class='text-white' href='https://coolify.io/docs/swarm#deploy-with-persistent-storage' target='_blank'>here</a>.</div>
|
<div class="pt-6"> Swarm support is in alpha version. Read the docs <a class='text-white' href='https://coolify.io/docs/docker/swarm#deploy-with-persistent-storage' target='_blank'>here</a>.</div>
|
||||||
@if ($is_swarm_worker)
|
@if ($is_swarm_worker)
|
||||||
<x-forms.checkbox disabled instantSave type="checkbox" id="is_swarm_manager"
|
<x-forms.checkbox disabled instantSave type="checkbox" id="is_swarm_manager"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Manager?" />
|
label="Is it a Swarm Manager?" />
|
||||||
@else
|
@else
|
||||||
<x-forms.checkbox type="checkbox" instantSave id="is_swarm_manager"
|
<x-forms.checkbox type="checkbox" instantSave id="is_swarm_manager"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Manager?" />
|
label="Is it a Swarm Manager?" />
|
||||||
@endif
|
@endif
|
||||||
@if ($is_swarm_manager)
|
@if ($is_swarm_manager)
|
||||||
<x-forms.checkbox disabled instantSave type="checkbox" id="is_swarm_worker"
|
<x-forms.checkbox disabled instantSave type="checkbox" id="is_swarm_worker"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Worker?" />
|
label="Is it a Swarm Worker?" />
|
||||||
@else
|
@else
|
||||||
<x-forms.checkbox type="checkbox" instantSave id="is_swarm_worker"
|
<x-forms.checkbox type="checkbox" instantSave id="is_swarm_worker"
|
||||||
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/swarm' target='_blank'>here</a>."
|
helper="For more information, please read the documentation <a class='text-white' href='https://coolify.io/docs/docker/swarm' target='_blank'>here</a>."
|
||||||
label="Is it a Swarm Worker?" />
|
label="Is it a Swarm Worker?" />
|
||||||
@endif
|
@endif
|
||||||
@if ($is_swarm_worker && count($swarm_managers) > 0)
|
@if ($is_swarm_worker && count($swarm_managers) > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user