2023-06-02 10:34:45 +00:00
|
|
|
<div class="pb-6">
|
|
|
|
<h1>Server</h1>
|
2023-06-16 10:35:40 +00:00
|
|
|
<div class="pt-2 pb-10 ">{{ data_get($server, 'name') }}</div>
|
2023-07-26 11:23:47 +00:00
|
|
|
<nav class="navbar-main">
|
2023-06-02 10:34:45 +00:00
|
|
|
<a class="{{ request()->routeIs('server.show') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.show', [
|
|
|
|
'server_uuid' => Route::current()->parameters()['server_uuid'],
|
|
|
|
]) }}">
|
|
|
|
<button>General</button>
|
|
|
|
</a>
|
2023-06-15 12:18:49 +00:00
|
|
|
<a class="{{ request()->routeIs('server.private-key') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.private-key', [
|
|
|
|
'server_uuid' => Route::current()->parameters()['server_uuid'],
|
|
|
|
]) }}">
|
|
|
|
<button>Private Key</button>
|
|
|
|
</a>
|
2023-07-25 12:43:49 +00:00
|
|
|
<a class="{{ request()->routeIs('server.proxy') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.proxy', [
|
|
|
|
'server_uuid' => Route::current()->parameters()['server_uuid'],
|
|
|
|
]) }}">
|
|
|
|
<button>Proxy</button>
|
|
|
|
</a>
|
2023-06-15 12:18:49 +00:00
|
|
|
<a class="{{ request()->routeIs('server.destinations') ? 'text-white' : '' }}"
|
|
|
|
href="{{ route('server.destinations', [
|
|
|
|
'server_uuid' => Route::current()->parameters()['server_uuid'],
|
|
|
|
]) }}">
|
|
|
|
<button>Destinations</button>
|
|
|
|
</a>
|
2023-06-06 06:53:30 +00:00
|
|
|
@if (request()->routeIs('server.proxy'))
|
|
|
|
<div class="flex-1"></div>
|
|
|
|
<livewire:server.proxy.deploy :server="$server" />
|
|
|
|
@endif
|
2023-06-02 10:34:45 +00:00
|
|
|
</nav>
|
|
|
|
</div>
|