traefik dashboard link

This commit is contained in:
Andras Bacsai
2023-06-08 11:00:15 +02:00
parent 0add4155ab
commit 9767ca47ff

View File

@@ -1,38 +1,58 @@
<div> <div>
@if ($server->settings->is_validated) @if ($server->settings->is_validated)
@if ($server->extra_attributes->proxy_status === 'running') @if ($server->extra_attributes->proxy_status === 'running')
<div class="group"> <div class="flex gap-4">
<label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Actions <div class="group">
<x-chevron-down /> <label tabindex="0" class="flex items-center gap-2 text-sm cursor-pointer hover:text-white"> Links
</label> <x-chevron-down />
<div class="absolute hidden group-hover:block "> </label>
<ul tabindex="0" class="mt-1 text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200"> <div class="absolute hidden group-hover:block ">
<li> <ul tabindex="0" class="text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200">
<div class="rounded-none hover:bg-coollabs" wire:click='deploy'><svg <li>
xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24" <a target="_blank"
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs"
stroke-linejoin="round"> href="http://{{ request()->getHost() }}:8080">
<path stroke="none" d="M0 0h24v24H0z" fill="none" /> Traefik Dashboard
<path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" /> <x-external-link />
<path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" /> </a>
<path d="M12 9l0 3" /> </li>
<path d="M12 15l.01 0" /> </ul>
</svg>Restart</div> </div>
</li> </div>
<li> <div class="group">
<div class="rounded-none hover:bg-red-500" wire:click='stop'><svg <label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Actions
xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24" <x-chevron-down />
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" </label>
stroke-linejoin="round"> <div class="absolute hidden group-hover:block ">
<path stroke="none" d="M0 0h24v24H0z" fill="none" /> <ul tabindex="0"
<path d="M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5" /> class="mt-1 text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200">
<path d="M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5" /> <li>
<path d="M14 5.5a1.5 1.5 0 0 1 3 0v6.5" /> <div class="rounded-none hover:bg-coollabs" wire:click='deploy'><svg
<path xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
d="M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47" /> stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
</svg>Stop</div> stroke-linejoin="round">
</li> <path stroke="none" d="M0 0h24v24H0z" fill="none" />
</ul> <path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" />
<path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" />
<path d="M12 9l0 3" />
<path d="M12 15l.01 0" />
</svg>Restart</div>
</li>
<li>
<div class="rounded-none hover:bg-red-500" wire:click='stop'><svg
xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5" />
<path d="M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5" />
<path d="M14 5.5a1.5 1.5 0 0 1 3 0v6.5" />
<path
d="M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47" />
</svg>Stop</div>
</li>
</ul>
</div>
</div> </div>
</div> </div>
@else @else