2023-06-02 10:34:45 +00:00
|
|
|
<div class="pb-6">
|
2023-09-14 15:10:37 +00:00
|
|
|
<livewire:server.proxy.modal :server="$server" />
|
2023-07-28 19:36:19 +00:00
|
|
|
<div class="flex items-center gap-2">
|
|
|
|
<h1>Server</h1>
|
2023-08-16 15:18:50 +00:00
|
|
|
@if ($server->settings->is_reachable)
|
|
|
|
<livewire:server.proxy.status :server="$server" />
|
|
|
|
@endif
|
2023-07-28 19:36:19 +00:00
|
|
|
</div>
|
2023-08-14 12:00:10 +00:00
|
|
|
<div class="subtitle ">{{ 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' : '' }}"
|
2023-08-11 18:19:42 +00:00
|
|
|
href="{{ route('server.show', [
|
2023-06-02 10:34:45 +00:00
|
|
|
'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' : '' }}"
|
2023-08-11 18:19:42 +00:00
|
|
|
href="{{ route('server.private-key', [
|
2023-06-15 12:18:49 +00:00
|
|
|
'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' : '' }}"
|
2023-08-11 18:19:42 +00:00
|
|
|
href="{{ route('server.proxy', [
|
2023-07-25 12:43:49 +00:00
|
|
|
'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' : '' }}"
|
2023-08-11 18:19:42 +00:00
|
|
|
href="{{ route('server.destinations', [
|
2023-06-15 12:18:49 +00:00
|
|
|
'server_uuid' => Route::current()->parameters()['server_uuid'],
|
|
|
|
]) }}">
|
|
|
|
<button>Destinations</button>
|
|
|
|
</a>
|
2023-07-28 19:36:19 +00:00
|
|
|
<div class="flex-1"></div>
|
2023-08-11 18:19:42 +00:00
|
|
|
<livewire:server.proxy.deploy :server="$server" />
|
2023-06-02 10:34:45 +00:00
|
|
|
</nav>
|
|
|
|
</div>
|