fix
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
</div>
|
||||
|
||||
@if ($destination->getMorphClass() === 'App\Models\StandaloneDocker')
|
||||
<div class="pt-2 pb-10 text-sm">A Docker network in a non-swarm environment</div>
|
||||
<div class="pt-2 pb-10 ">A Docker network in a non-swarm environment</div>
|
||||
@else
|
||||
<div class="pt-2 pb-10 text-sm">Your swarm docker network. WIP</div>
|
||||
<div class="pt-2 pb-10 ">Your swarm docker network. WIP</div>
|
||||
@endif
|
||||
<div class="flex gap-2">
|
||||
<x-forms.input id="destination.name" label="Name" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div>
|
||||
<h1>Create a new Destination</h1>
|
||||
<div class="pt-2 pb-10 text-sm">Destinations are used to segregate resources by network.</div>
|
||||
<div class="pt-2 pb-10 ">Destinations are used to segregate resources by network.</div>
|
||||
<form class="flex flex-col gap-4" wire:submit.prevent='submit'>
|
||||
<div class="flex gap-2">
|
||||
<x-forms.input id="name" label="Name" required />
|
||||
|
||||
@@ -6,15 +6,15 @@
|
||||
</a>
|
||||
<x-forms.button wire:click='scan'>Scan destinations on the server</x-forms.button>
|
||||
</div>
|
||||
<div class="pt-2 pb-6 text-sm">Destinations are used to segregate resources by network.</div>
|
||||
<div class="flex gap-2 text-sm">
|
||||
<div class="pt-2 pb-6 ">Destinations are used to segregate resources by network.</div>
|
||||
<div class="flex gap-2 ">
|
||||
Available for using:
|
||||
@forelse ($server->standaloneDockers as $docker)
|
||||
<a href="{{ route('destination.show', ['destination_uuid' => data_get($docker, 'uuid')]) }}">
|
||||
<button class="text-white btn-link">{{ data_get($docker, 'network') }} </button>
|
||||
</a>
|
||||
@empty
|
||||
<div class="text-sm">N\A</div>
|
||||
<div class="">N\A</div>
|
||||
@endforelse
|
||||
</div>
|
||||
<div class="grid gap-2 pt-2">
|
||||
@@ -22,7 +22,7 @@
|
||||
<h3>Scanned available Destinations</h3>
|
||||
@endif
|
||||
@foreach ($networks as $network)
|
||||
<div class="flex gap-2 text-sm w-96">
|
||||
<div class="flex gap-2 w-96">
|
||||
<div class="w-32">{{ data_get($network, 'Name') }}</div>
|
||||
<a
|
||||
href="{{ route('destination.new', ['server_id' => $server->id, 'network_name' => data_get($network, 'Name')]) }}">
|
||||
|
||||
Reference in New Issue
Block a user