14 lines
456 B
PHP
14 lines
456 B
PHP
<div>
|
|
@if ($server->settings->is_reachable)
|
|
<div wire:poll.10000ms="proxyStatus" x-init="$wire.proxyStatus">
|
|
@if ($server->extra_attributes->proxy_status === 'running')
|
|
<x-status.running />
|
|
@elseif ($server->extra_attributes->proxy_status === 'restarting')
|
|
<x-status.restarting />
|
|
@else
|
|
<x-status.stopped />
|
|
@endif
|
|
</div>
|
|
@endif
|
|
</div>
|