mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 08:34:11 +02:00
16 lines
689 B
PHP
16 lines
689 B
PHP
<div wire:poll.5000ms='applicationStatusChanged'>
|
|
@if ($application->status === 'running')
|
|
<x-loading wire:loading.delay.longer />
|
|
<div class="flex items-center gap-2 text-sm" wire:loading.remove.delay.longer>
|
|
<div class="badge badge-success badge-xs"></div>
|
|
<div class="text-xs font-medium tracking-wide">Running</div>
|
|
</div>
|
|
@else
|
|
<x-loading wire:loading.delay.longer />
|
|
<div class="flex items-center gap-2 text-sm" wire:loading.remove.delay.longer>
|
|
<div class="badge badge-error badge-xs"></div>
|
|
<div class="text-xs font-medium tracking-wide">Stopped</div>
|
|
</div>
|
|
@endif
|
|
</div>
|