2023-12-21 09:28:39 +01:00
|
|
|
<div x-init="$wire.checkProxy()">
|
2024-05-03 10:54:44 +02:00
|
|
|
@if (
|
|
|
|
$server->proxyType() !== 'NONE' &&
|
|
|
|
$server->isFunctional() &&
|
|
|
|
!$server->isSwarmWorker() &&
|
|
|
|
!$server->settings->is_build_server)
|
2023-12-04 11:25:24 +01:00
|
|
|
<div class="flex gap-2">
|
2023-09-24 10:55:15 +02:00
|
|
|
@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" />
|
2023-09-24 10:48:54 +02:00
|
|
|
@else
|
2023-09-24 10:55:15 +02:00
|
|
|
<x-status.stopped status="Proxy Stopped" />
|
2023-09-24 10:48:54 +02:00
|
|
|
@endif
|
2023-10-13 14:25:30 +02:00
|
|
|
@if (data_get($server, 'proxy.status') === 'running')
|
|
|
|
<x-forms.button wire:click='checkProxy(true)'>Refresh</x-forms.button>
|
|
|
|
@endif
|
2023-09-24 10:48:54 +02:00
|
|
|
</div>
|
2023-06-02 15:15:12 +02:00
|
|
|
@endif
|
|
|
|
</div>
|