2023-05-31 12:38:36 +02:00
|
|
|
<div wire:poll.5000ms='applicationStatusChanged'>
|
2023-05-22 22:30:33 +02:00
|
|
|
@if ($application->status === 'running')
|
2023-06-05 12:07:55 +02:00
|
|
|
<x-loading wire:loading.delay.longer />
|
2023-05-22 22:30:33 +02:00
|
|
|
<div class="flex items-center gap-2 text-sm" wire:loading.remove.delay.longer>
|
2023-06-05 12:07:55 +02:00
|
|
|
<div class="badge badge-success badge-xs"></div>
|
|
|
|
<div class="text-xs font-medium tracking-wide">Running</div>
|
2023-05-22 22:30:33 +02:00
|
|
|
</div>
|
|
|
|
@else
|
2023-06-05 12:07:55 +02:00
|
|
|
<x-loading wire:loading.delay.longer />
|
2023-05-22 22:30:33 +02:00
|
|
|
<div class="flex items-center gap-2 text-sm" wire:loading.remove.delay.longer>
|
2023-06-05 12:07:55 +02:00
|
|
|
<div class="badge badge-error badge-xs"></div>
|
|
|
|
<div class="text-xs font-medium tracking-wide">Stopped</div>
|
2023-05-22 22:30:33 +02:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|