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

15 lines
661 B
PHP
Raw Normal View History

2024-09-19 10:32:56 +00:00
<div x-init="$wire.checkProxy()" class="flex gap-2">
@if (data_get($server, 'proxy.status') === 'running')
<x-status.running status="Proxy Running" />
@elseif (data_get($server, 'proxy.status') === 'restarting')
<x-status.restarting status="Proxy Restarting" />
2024-09-27 13:36:51 +00:00
@elseif (data_get($server, 'proxy.force_stop'))
2024-09-19 10:32:56 +00:00
<x-status.stopped status="Proxy Stopped" />
2024-09-27 13:36:51 +00:00
@elseif (data_get($server, 'proxy.status') === 'exited')
<x-status.stopped status="Proxy Exited" />
@else
<x-status.stopped status="Proxy Not Running" />
2024-09-19 10:32:56 +00:00
@endif
2024-09-27 13:36:51 +00:00
<x-forms.button wire:click='checkProxy(true)'>Refresh</x-forms.button>
2023-06-02 13:15:12 +00:00
</div>