fix: proxy fixes

This commit is contained in:
Andras Bacsai
2024-09-27 15:36:51 +02:00
parent 72e12aaf5c
commit dedf2cf87b
6 changed files with 25 additions and 19 deletions

View File

@@ -3,10 +3,12 @@
<x-status.running status="Proxy Running" />
@elseif (data_get($server, 'proxy.status') === 'restarting')
<x-status.restarting status="Proxy Restarting" />
@else
@elseif (data_get($server, 'proxy.force_stop'))
<x-status.stopped status="Proxy Stopped" />
@elseif (data_get($server, 'proxy.status') === 'exited')
<x-status.stopped status="Proxy Exited" />
@else
<x-status.stopped status="Proxy Not Running" />
@endif
@if (data_get($server, 'proxy.status') === 'running')
<x-forms.button wire:click='checkProxy(true)'>Refresh</x-forms.button>
@endif
<x-forms.button wire:click='checkProxy(true)'>Refresh</x-forms.button>
</div>