mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
updates
This commit is contained in:
1 parent
a4177ca0ec
commit
e4704fb7e6
16 files changed
+123
-54
No files matched your search
@@ -0,0 +1,30 @@
|
||||
<x-layout>
|
||||
<h1>Destinations</h1>
|
||||
<div class="pt-2 pb-10 text-sm">All Destinations</div>
|
||||
<div class="grid grid-cols-2 gap-2">
|
||||
@forelse ($destinations as $destination)
|
||||
@if ($destination->getMorphClass() === 'App\Models\StandaloneDocker')
|
||||
<a class="flex gap-4 text-center hover:no-underline box group"
|
||||
href="{{ route('destination.show', ['destination_uuid' => data_get($destination, 'uuid')]) }}">
|
||||
<div class="group-hover:text-white">
|
||||
<div>{{ $destination->name }}</div>
|
||||
</div>
|
||||
</a>
|
||||
@endif
|
||||
@if ($destination->getMorphClass() === 'App\Models\SwarmDocker')
|
||||
<a class="flex gap-4 text-center hover:no-underline box group"
|
||||
href="{{ route('destination.show', ['destination_uuid' => data_get($destination, 'uuid')]) }}">
|
||||
|
||||
<div class="group-hover:text-white">
|
||||
<div>{{ $destination->name }}</div>
|
||||
</div>
|
||||
</a>
|
||||
@endif
|
||||
@empty
|
||||
<div>
|
||||
<div>No destinations found.</div>
|
||||
<x-use-magic-bar />
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
</x-layout>
|
||||
Reference in new issue
Block a user