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