destinations

This commit is contained in:
Andras Bacsai
2023-05-04 10:45:09 +02:00
parent b8b0d2243f
commit 32b7a1ffcd
15 changed files with 115 additions and 44 deletions

View File

@@ -1,11 +1,4 @@
<x-layout>
<h1>Destination</h1>
<p>Name: {{ data_get($destination, 'name') }}</p>
<p>Server:{{ data_get($destination, 'server.ip') }}:{{ data_get($destination, 'server.port') }} </p>
@if ($destination->getMorphClass() === 'App\Models\StandaloneDocker')
<p>Network: {{ data_get($destination, 'network') }}</p>
@endif
@if ($destination->getMorphClass() === 'App\Models\SwarmDocker')
<p>Uuid: {{ data_get($destination, 'uuid') }}</p>
@endif
<livewire:destination.form :destination_uuid="$destination_uuid" />
</x-layout>