mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-29 20:52:10 +00:00
add destinations
This commit is contained in:
4
resources/views/destination/new.blade.php
Normal file
4
resources/views/destination/new.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<x-layout>
|
||||
<h1>New Destination</h1>
|
||||
<livewire:destination.new.standalone-docker />
|
||||
</x-layout>
|
||||
11
resources/views/destination/show.blade.php
Normal file
11
resources/views/destination/show.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<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
|
||||
</x-layout>
|
||||
Reference in New Issue
Block a user