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

14 lines
456 B
PHP
Raw Normal View History

2023-06-02 15:15:12 +02:00
<div>
@if ($server->settings->is_validated)
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>