2023-03-28 20:13:08 +00:00
|
|
|
<div>
|
2023-04-12 13:42:01 +00:00
|
|
|
@if ($application->status === 'running')
|
|
|
|
<button wire:click='stop'>Stop</button>
|
|
|
|
@else
|
2023-04-14 09:24:58 +00:00
|
|
|
<button wire:click='start'>Start</button>
|
2023-04-12 13:42:01 +00:00
|
|
|
@endif
|
2023-04-14 11:18:55 +00:00
|
|
|
<button wire:click='kill'>Kill</button>
|
2023-04-19 10:42:15 +00:00
|
|
|
<span wire:poll='pollingStatus'>
|
|
|
|
@if ($application->status === 'running')
|
|
|
|
<span class="text-green-500">{{ $application->status }}</span>
|
|
|
|
@else
|
|
|
|
<span class="text-red-500">{{ $application->status }}</span>
|
|
|
|
@endif
|
|
|
|
</span>
|
2023-03-28 20:13:08 +00:00
|
|
|
</div>
|