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

16 lines
692 B
PHP
Raw Normal View History

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