coolify/resources/views/livewire/server/proxy/status.blade.php
Andras Bacsai f4803ad58b wip: swarm
fix: gitcompose deployments
2023-11-29 14:59:06 +01:00

17 lines
670 B
PHP

<div>
@if ($server->isFunctional())
<div class="flex gap-2" wire:poll.5000ms='checkProxy'>
@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" />
@else
<x-status.stopped status="Proxy Stopped" />
@endif
@if (data_get($server, 'proxy.status') === 'running')
<x-forms.button wire:click='checkProxy(true)'>Refresh</x-forms.button>
@endif
</div>
@endif
</div>