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

10 lines
347 B
PHP
Raw Normal View History

2023-07-28 19:36:19 +00:00
<div wire:poll.3000ms="get_status" x-init="$wire.get_status">
@if ($server->proxy->status === 'running')
2023-07-28 19:36:19 +00:00
<x-status.running text="Proxy Running" />
@elseif ($server->proxy->status === 'restarting')
2023-07-28 19:36:19 +00:00
<x-status.restarting text="Proxy Restarting" />
@else
2023-07-28 19:36:19 +00:00
<x-status.stopped text="Proxy Stopped" />
2023-06-02 13:15:12 +00:00
@endif
</div>