lasthourcloud/resources/views/components/status/running.blade.php

16 lines
624 B
PHP
Raw Normal View History

2023-07-28 19:36:19 +00:00
@props([
2023-09-22 13:29:19 +00:00
'status' => 'Running',
2023-07-28 19:36:19 +00:00
])
2024-03-20 11:54:06 +00:00
<div class="flex items-center" >
<x-loading wire:loading.delay.longer />
<span wire:loading.remove.delay.longer class="flex items-center">
2024-03-19 14:37:16 +00:00
<div class="badge badge-success "></div>
2024-02-07 13:55:06 +00:00
<div class="pl-2 pr-1 text-xs font-bold tracking-wider text-success">
{{ str($status)->before(':')->headline() }}
</div>
@if (!str($status)->startsWith('Proxy') && !str($status)->contains('('))
2024-03-25 09:41:44 +00:00
<div class="text-xs {{ str($status)->contains('unhealthy') ? 'dark:text-warning' : 'text-success' }}">({{ str($status)->after(':') }})</div>
2024-02-07 13:55:06 +00:00
@endif
2024-03-20 11:54:06 +00:00
</span>
2023-06-08 08:55:50 +00:00
</div>