This commit is contained in:
Andras Bacsai
2023-07-28 21:36:19 +02:00
parent 469e404725
commit b57b4f9bd3
9 changed files with 32 additions and 40 deletions

View File

@@ -10,7 +10,6 @@
@if ($server->proxy->status === 'exited')
<x-forms.button wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
@endif
<livewire:server.proxy.status :server="$server" />
</div>
<div class="pt-3 pb-4 ">Traefik v2</div>
@if (

View File

@@ -1,9 +1,9 @@
<div wire:poll.10000ms="get_status" x-init="$wire.get_status">
<div wire:poll.3000ms="get_status" x-init="$wire.get_status">
@if ($server->proxy->status === 'running')
<x-status.running />
<x-status.running text="Proxy Running" />
@elseif ($server->proxy->status === 'restarting')
<x-status.restarting />
<x-status.restarting text="Proxy Restarting" />
@else
<x-status.stopped />
<x-status.stopped text="Proxy Stopped" />
@endif
</div>