mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-06 05:02:08 +00:00
wip: swarm
This commit is contained in:
20
resources/views/livewire/destination/new/docker.blade.php
Normal file
20
resources/views/livewire/destination/new/docker.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<div>
|
||||
<h1>Create a new Destination</h1>
|
||||
<div class="subtitle ">Destinations are used to segregate resources by network.</div>
|
||||
<form class="flex flex-col gap-4" wire:submit='submit'>
|
||||
<div class="flex gap-2">
|
||||
<x-forms.input id="name" label="Name" required />
|
||||
<x-forms.input id="network" label="Network" required />
|
||||
</div>
|
||||
<x-forms.select id="server_id" label="Select a server" required wire:change="generate_name">
|
||||
<option disabled>Select a server</option>
|
||||
@foreach ($servers as $server)
|
||||
<option value="{{ $server->id }}">{{ $server->name }}</option>
|
||||
@endforeach
|
||||
</x-forms.select>
|
||||
<x-forms.checkbox type="checkbox" id="is_swarm" label="Is it a Swarm network?" />
|
||||
<x-forms.button type="submit">
|
||||
Save Destination
|
||||
</x-forms.button>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user