2023-05-22 13:47:40 +00:00
|
|
|
<x-layout>
|
2023-06-07 13:08:35 +00:00
|
|
|
<h1>Servers</h1>
|
2023-06-07 19:44:16 +00:00
|
|
|
<nav class="flex pt-2 pb-10 text-sm">
|
|
|
|
<ol class="inline-flex items-center">
|
|
|
|
<li class="inline-flex items-center">
|
2023-05-24 13:47:04 +00:00
|
|
|
All Servers
|
|
|
|
</li>
|
2023-06-07 19:44:16 +00:00
|
|
|
</ol>
|
|
|
|
</nav>
|
2023-06-07 13:08:35 +00:00
|
|
|
<div class="grid grid-cols-2 gap-2">
|
2023-06-02 13:15:12 +00:00
|
|
|
@forelse ($servers as $server)
|
2023-06-07 08:33:45 +00:00
|
|
|
<a class="text-center hover:no-underline box group"
|
|
|
|
href="{{ route('server.show', ['server_uuid' => data_get($server, 'uuid')]) }}">
|
|
|
|
<div class="group-hover:text-white">
|
|
|
|
<div>{{ $server->name }}</div>
|
|
|
|
@if (!$server->settings->is_validated)
|
|
|
|
<div class="text-xs text-error">not validated</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</a>
|
2023-06-02 13:15:12 +00:00
|
|
|
@empty
|
2023-06-07 15:24:37 +00:00
|
|
|
<div>
|
|
|
|
<div>No servers found. Without a server, you won't be able to do much.</div>
|
|
|
|
<x-use-magic-bar />
|
2023-06-02 13:15:12 +00:00
|
|
|
</div>
|
|
|
|
@endforelse
|
|
|
|
</div>
|
2023-05-22 13:47:40 +00:00
|
|
|
</x-layout>
|