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