2023-10-11 09:00:40 +00:00
|
|
|
<div>
|
|
|
|
@if ($server->isFunctional())
|
|
|
|
<div class="flex h-full pr-4">
|
2024-02-22 12:29:28 +00:00
|
|
|
<div class="flex flex-col w-48 gap-4 min-w-fit">
|
2023-10-11 09:00:40 +00:00
|
|
|
<a class="{{ request()->routeIs('server.proxy') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.proxy', $parameters) }}">
|
|
|
|
<button>Configuration</button>
|
|
|
|
</a>
|
|
|
|
@if (data_get($server, 'proxy.type') !== 'NONE')
|
2024-02-22 12:29:28 +00:00
|
|
|
<a class="{{ request()->routeIs('server.proxy.dynamic-confs') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.proxy.dynamic-confs', $parameters) }}">
|
|
|
|
<button>Dynamic Configurations</button>
|
|
|
|
</a>
|
2023-10-11 09:00:40 +00:00
|
|
|
<a class="{{ request()->routeIs('server.proxy.logs') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.proxy.logs', $parameters) }}">
|
|
|
|
<button>Logs</button>
|
|
|
|
</a>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<div>Server is not validated. Validate first.</div>
|
|
|
|
@endif
|
|
|
|
</div>
|