14 lines
429 B
PHP
Raw Normal View History

2023-06-02 15:15:12 +02:00
<div>
@if ($server->settings->is_validated)
2023-06-08 08:39:00 +02:00
<div wire:poll.10000ms="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>