coolify/resources/views/livewire/destination/show.blade.php
Andras Bacsai 8ae56587d5
feat(ui): Shadow UI redesign, domain management, and DNS autoconfigure (#11119)
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
2026-08-03 23:11:54 +02:00

49 lines
2.4 KiB
PHP

<div>
<x-slot:title>
{{ $destination->name }} | Destination | Coolify
</x-slot>
@php
$destinationSubtitle = $destination->getMorphClass() === 'App\Models\StandaloneDocker'
? 'Docker network on '.data_get($destination, 'server.name', 'server')
: 'Deprecated Docker Swarm network';
@endphp
<x-dashboard.navbar section="destination" :parameters="['destination_uuid' => $destination->uuid]"
:title="$name" :subtitle="$destinationSubtitle" :titleOnDesktop="true" />
<form wire:submit="submit" class="application-settings-form">
<x-unsaved-bar action="submit" />
<x-application.settings-section title="General"
:description="$destination->getMorphClass() === 'App\Models\StandaloneDocker'
? 'Docker network used to connect deployed resources.'
: 'Deprecated Docker Swarm network.'">
<x-slot:actions>
@if ($destination->getMorphClass() !== 'App\Models\StandaloneDocker')
<x-status-badge label="Deprecated" type="warning" />
@endif
@if ($network !== 'coolify')
<x-modal-confirmation title="Confirm Destination Deletion?"
buttonTitle="Delete destination" isErrorButton submitAction="delete"
:actions="['This will delete the selected destination/network.']"
confirmationText="{{ $destination->name }}"
confirmationLabel="Please confirm the execution of the actions by entering the Destination Name below"
shortConfirmationLabel="Destination Name" :confirmWithPassword="false"
step2ButtonText="Permanently Delete" canGate="delete"
:canResource="$destination" />
@endif
</x-slot:actions>
<div class="grid gap-4 lg:grid-cols-2">
<x-forms.input canGate="update" :canResource="$destination" id="name" label="Name" />
<x-forms.input id="serverIp" label="Server IP" readonly />
@if ($destination->getMorphClass() === 'App\Models\StandaloneDocker')
<div class="lg:col-span-2">
<x-forms.input id="network" label="Docker network" readonly />
</div>
@endif
</div>
</x-application.settings-section>
</form>
</div>