lasthourcloud/resources/views/components/server/sidebar.blade.php

21 lines
950 B
PHP
Raw Normal View History

<div class="flex h-full pr-4">
<div class="flex flex-col w-48 gap-4 min-w-fit">
2024-03-24 15:00:25 +00:00
<a class="{{ request()->routeIs('server.proxy') ? 'dark:text-white' : '' }}"
href="{{ route('server.proxy', $parameters) }}">
<button>Configuration</button>
</a>
2024-03-11 14:08:05 +00:00
@if ($server->proxyType() !== 'NONE')
2024-03-11 16:31:28 +00:00
{{-- @if ($server->proxyType() === 'TRAEFIK_V2') --}}
2024-03-24 15:00:25 +00:00
<a class="{{ request()->routeIs('server.proxy.dynamic-confs') ? 'dark:text-white' : '' }}"
2024-03-11 14:08:05 +00:00
href="{{ route('server.proxy.dynamic-confs', $parameters) }}">
<button>Dynamic Configurations</button>
</a>
2024-03-11 16:31:28 +00:00
{{-- @endif --}}
2024-03-24 15:00:25 +00:00
<a class="{{ request()->routeIs('server.proxy.logs') ? 'dark:text-white' : '' }}"
href="{{ route('server.proxy.logs', $parameters) }}">
<button>Logs</button>
</a>
@endif
</div>
2023-10-11 09:00:40 +00:00
</div>