Refactor select.blade.php file

This commit is contained in:
Andras Bacsai 2024-01-12 15:41:46 +01:00
parent 90a5a23fd9
commit f762959c9f

View File

@ -202,10 +202,7 @@
<li class="step step-secondary">Select a Server</li> <li class="step step-secondary">Select a Server</li>
<li class="step">Select a Destination</li> <li class="step">Select a Destination</li>
</ul> </ul>
@if ($isDatabase)
<div class="text-center">Swarm clusters are excluded from this type of resource at the moment. It will
be activated soon. Stay tuned.</div>
@endif
{{-- @if ($isDatabase) {{-- @if ($isDatabase)
<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"
@ -235,6 +232,10 @@
</div> </div>
@endforelse @endforelse
</div> </div>
@if ($isDatabase)
<div class="text-center">Swarm clusters are excluded from this type of resource at the moment. It will
be activated soon. Stay tuned.</div>
@endif
@endif @endif
@if ($current_step === 'destinations') @if ($current_step === 'destinations')
<ul class="pb-10 steps"> <ul class="pb-10 steps">
@ -267,7 +268,7 @@
</div> </div>
@endforeach @endforeach
@endif @endif
<a href="{{ route('destination.new', ['server_id' => $server_id]) }}" <a href="{{ route('destination.new', ['server_id' => $server_id]) }}"
class="items-center justify-center pb-10 text-center box-without-bg group bg-coollabs hover:bg-coollabs-100"> class="items-center justify-center pb-10 text-center box-without-bg group bg-coollabs hover:bg-coollabs-100">
<div class="flex flex-col mx-6 "> <div class="flex flex-col mx-6 ">
<div class="font-bold text-white"> <div class="font-bold text-white">