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,12 +1,31 @@
<div>
@if ($server->settings->is_validated)
@if ($server->extra_attributes->proxy_status === 'running')
<div class="flex gap-4">
<div class="group">
<label tabindex="0" class="flex items-center gap-2 text-sm cursor-pointer hover:text-white"> Links
<x-chevron-down />
</label>
<div class="absolute hidden group-hover:block ">
<ul tabindex="0" class="text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200">
<li>
<a target="_blank"
class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs"
href="http://{{ request()->getHost() }}:8080">
Traefik Dashboard
<x-external-link />
</a>
</li>
</ul>
</div>
</div>
<div class="group">
<label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Actions
<x-chevron-down />
</label>
<div class="absolute hidden group-hover:block ">
<ul tabindex="0" class="mt-1 text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200">
<ul tabindex="0"
class="mt-1 text-xs text-white normal-case rounded min-w-max menu bg-coolgray-200">
<li>
<div class="rounded-none hover:bg-coollabs" wire:click='deploy'><svg
xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" viewBox="0 0 24 24"
@ -35,6 +54,7 @@
</ul>
</div>
</div>
</div>
@else
<x-forms.button wire:click='deploy'> <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="44"
height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none"