mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 08:15:24 +00:00
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.
29 lines
1.2 KiB
PHP
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
|