lasthourcloud/resources/views/livewire/server/proxy/status.blade.php

14 lines
456 B
PHP
Raw Normal View History

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