2023-06-02 15:15:12 +02:00
|
|
|
<div>
|
2023-06-15 13:51:31 +02:00
|
|
|
@if ($server->settings->is_reachable)
|
2023-06-15 13:28:16 +02:00
|
|
|
<div wire:poll.10000ms="proxyStatus" x-init="$wire.proxyStatus">
|
2023-06-02 15:15:12 +02:00
|
|
|
@if ($server->extra_attributes->proxy_status === 'running')
|
2023-06-08 10:55:50 +02:00
|
|
|
<x-status.running />
|
|
|
|
@elseif ($server->extra_attributes->proxy_status === 'restarting')
|
|
|
|
<x-status.restarting />
|
2023-06-02 15:15:12 +02:00
|
|
|
@else
|
2023-06-08 10:55:50 +02:00
|
|
|
<x-status.stopped />
|
2023-06-02 15:15:12 +02:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|