2023-06-02 10:34:45 +00:00
|
|
|
<div class="pb-6">
|
2023-09-18 09:49:26 +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>
|
2024-05-03 08:54:44 +00:00
|
|
|
<livewire:server.proxy.status :server="$server" />
|
2023-07-28 19:36:19 +00:00
|
|
|
</div>
|
2024-03-21 13:30:35 +00:00
|
|
|
<div class="subtitle">{{ data_get($server, 'name') }}.</div>
|
2024-05-05 16:33:52 +00:00
|
|
|
<div class="navbar-main">
|
2024-05-05 17:09:22 +00:00
|
|
|
<nav class="flex gap-4 overflow-x-scroll items-center min-h-10">
|
2024-05-05 16:33:52 +00:00
|
|
|
<a class="{{ request()->routeIs('server.show') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('server.show', [
|
2023-12-18 13:01:25 +00:00
|
|
|
'server_uuid' => data_get($parameters, 'server_uuid'),
|
|
|
|
]) }}">
|
2024-05-05 16:33:52 +00:00
|
|
|
<button>General</button>
|
2023-12-18 13:01:25 +00:00
|
|
|
</a>
|
2024-05-05 16:33:52 +00:00
|
|
|
<a class="{{ request()->routeIs('server.private-key') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('server.private-key', [
|
2023-12-18 13:01:25 +00:00
|
|
|
'server_uuid' => data_get($parameters, 'server_uuid'),
|
|
|
|
]) }}">
|
2024-05-05 16:33:52 +00:00
|
|
|
<button>Private Key</button>
|
2023-12-18 13:01:25 +00:00
|
|
|
</a>
|
2024-05-05 16:33:52 +00:00
|
|
|
<a class="{{ request()->routeIs('server.resources') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('server.resources', [
|
2023-12-18 13:01:25 +00:00
|
|
|
'server_uuid' => data_get($parameters, 'server_uuid'),
|
|
|
|
]) }}">
|
2024-05-05 16:33:52 +00:00
|
|
|
<button>Resources</button>
|
2023-12-18 13:01:25 +00:00
|
|
|
</a>
|
2024-05-05 16:33:52 +00:00
|
|
|
@if (!$server->isSwarmWorker() && !$server->settings->is_build_server)
|
|
|
|
<a class="{{ request()->routeIs('server.proxy') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('server.proxy', [
|
|
|
|
'server_uuid' => data_get($parameters, 'server_uuid'),
|
|
|
|
]) }}">
|
|
|
|
<button>Proxy</button>
|
|
|
|
</a>
|
|
|
|
<a class="{{ request()->routeIs('server.destinations') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('server.destinations', [
|
|
|
|
'server_uuid' => data_get($parameters, 'server_uuid'),
|
|
|
|
]) }}">
|
|
|
|
<button>Destinations</button>
|
|
|
|
</a>
|
|
|
|
<a class="{{ request()->routeIs('server.log-drains') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('server.log-drains', [
|
|
|
|
'server_uuid' => data_get($parameters, 'server_uuid'),
|
|
|
|
]) }}">
|
|
|
|
<button>Log Drains</button>
|
|
|
|
</a>
|
|
|
|
@endif
|
|
|
|
</nav>
|
|
|
|
<div class="order-first sm:order-last">
|
|
|
|
<livewire:server.proxy.deploy :server="$server" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-02 10:34:45 +00:00
|
|
|
</div>
|