lasthourcloud/resources/views/livewire/deploy-application.blade.php
2023-04-14 11:24:58 +02:00

9 lines
255 B
PHP

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