coolify/resources/views/server/destinations.blade.php

21 lines
873 B
PHP
Raw Normal View History

2023-06-15 14:18:49 +02:00
<x-layout>
<x-server.navbar :server="$server" />
<div class="flex items-end gap-2">
<h1>Destinations</h1>
<a href="{{ route('destination.new', ['server_id' => $server->id]) }}">
<x-forms.button>Add a new destination</x-forms.button>
</a>
</div>
2023-06-15 14:41:39 +02:00
<div class="pt-2 pb-6 text-sm">Destinations are used to segregate resources by network.</div>
<div class="flex gap-2 text-sm">
Docker Networks available on the server:
2023-06-15 14:18:49 +02:00
@forelse ($server->standaloneDockers as $docker)
<a href="{{ route('destination.show', ['destination_uuid' => data_get($docker, 'uuid')]) }}">
2023-06-15 14:41:39 +02:00
<button class="text-white btn-link">{{ data_get($docker, 'network') }} </button>
2023-06-15 14:18:49 +02:00
</a>
@empty
<div class="text-sm">No destinations added</div>
@endforelse
</div>
</x-layout>