Files
coolify/resources/views/livewire/destination/new/docker.blade.php
Andras Bacsai bdb367555d feat(ui): unify brand accents and polish shared controls
Standardize highlighted buttons, selected controls, and loading
indicators on coollabs accent colors; improve light-mode log toolbar
styling; enhance small popups with compact/icon modes; and align
navbars, helpers, and related layouts with matching tests.
2026-08-05 22:34:56 +02:00

29 lines
1.2 KiB
PHP

@can('createAnyResource')
<div class="w-full">
<form class="flex w-full flex-col gap-4" wire:submit="submit">
<div class="grid gap-4 sm:grid-cols-2">
<x-forms.input id="name" label="Name" required />
<x-forms.input id="network" label="Network" required />
</div>
<x-forms.listbox id="serverId" label="Server" required :live="true" :options="$servers
->map(
fn($server) => [
'value' => (string) $server->id,
'label' => $server->name,
],
)
->all()" />
<div class="flex justify-end border-t border-neutral-200 pt-4 dark:border-white/[0.07]">
<x-forms.button type="submit" wire:target="submit"
class="button-highlighted">
Create destination
</x-forms.button>
</div>
</form>
</div>
@else
<x-callout type="danger" title="Insufficient Permissions">
You don't have permission to create new destinations. Please contact your team administrator for access.
</x-callout>
@endcan