lasthourcloud/resources/views/livewire/deploy-application.blade.php
2023-04-14 13:18:55 +02:00

10 lines
299 B
PHP

<div>
@if ($application->status === 'running')
<button wire:click='stop'>Stop</button>
@else
<button wire:click='start'>Start</button>
@endif
<button wire:click='kill'>Kill</button>
<span wire:poll='pollingStatus'>status: {{ $application->status }}</span>
</div>