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

@@ -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>