wip
This commit is contained in:
parent
a275ac5f41
commit
0072343e0f
@ -1,5 +1,6 @@
|
|||||||
<div>
|
<div x-data="{ stopProxy: false }">
|
||||||
|
<x-naked-modal show="stopProxy" action="stopProxy"
|
||||||
|
message='Are you sure you would like to stop the proxy? All resources will be unavailable.' />
|
||||||
@if ($server->settings->is_validated)
|
@if ($server->settings->is_validated)
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<h3>Proxy</h3>
|
<h3>Proxy</h3>
|
||||||
@ -18,7 +19,8 @@
|
|||||||
Start
|
Start
|
||||||
</x-inputs.button>
|
</x-inputs.button>
|
||||||
@else
|
@else
|
||||||
<x-inputs.button isWarning wire:click="stopProxy">Stop</x-inputs.button>
|
<x-inputs.button isWarning x-on:click.prevent="stopProxy = true">Stop
|
||||||
|
</x-inputs.button>
|
||||||
@endif
|
@endif
|
||||||
<span x-data="{ showConfiguration: false }">
|
<span x-data="{ showConfiguration: false }">
|
||||||
<x-inputs.button isBold x-on:click.prevent="showConfiguration = !showConfiguration">Show
|
<x-inputs.button isBold x-on:click.prevent="showConfiguration = !showConfiguration">Show
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
<x-inputs.button>Change</x-inputs.button>
|
<x-inputs.button>Change</x-inputs.button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<p>{{ $server->privateKey->name }}</p>
|
<a href="{{ route('private-key.show', ['private_key_uuid' => data_get($server, 'privateKey.uuid')]) }}">
|
||||||
|
<x-inputs.button>{{ data_get($server, 'privateKey.uuid') }}</x-inputs.button>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div x-cloak x-show="activeTab === 'destinations'">
|
<div x-cloak x-show="activeTab === 'destinations'">
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
@ -37,7 +39,9 @@
|
|||||||
</div>
|
</div>
|
||||||
@if ($server->standaloneDockers->count() > 0)
|
@if ($server->standaloneDockers->count() > 0)
|
||||||
@foreach ($server->standaloneDockers as $docker)
|
@foreach ($server->standaloneDockers as $docker)
|
||||||
<p>Network: {{ data_get($docker, 'network') }}</p>
|
<a href="{{ route('destination.show', ['destination_uuid' => data_get($docker, 'uuid')]) }}">
|
||||||
|
<x-inputs.button>{{ data_get($docker, 'network') }}</x-inputs.button>
|
||||||
|
</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
<p>No destinations found</p>
|
<p>No destinations found</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user