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

16 lines
596 B
PHP
Raw Normal View History

2023-09-21 15:48:31 +00:00
@props([
2023-09-22 13:29:19 +00:00
'status' => 'Degraded',
2023-09-21 15:48:31 +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">
<div class="badge badge-warning "></div>
2024-03-25 09:41:44 +00:00
<div class="pl-2 pr-1 text-xs font-bold tracking-widerr dark:text-warning">
2024-03-20 11:54:06 +00:00
{{ 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 dark:text-warning">({{ str($status)->after(':') }})</div>
2024-03-20 11:54:06 +00:00
@endif
</span>
2023-09-21 15:48:31 +00:00
</div>