lasthourcloud/resources/views/livewire/server/proxy/status.blade.php
Andras Bacsai 0d45d9980c fix
2023-06-15 13:51:31 +02:00

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>