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

14 lines
504 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
])
2023-12-06 14:30:04 +00:00
<x-loading wire:loading.delay.longer />
<div class="flex items-center" wire:loading.remove.delay.longer>
2024-03-19 14:37:16 +00:00
<div class="badge badge-warning "></div>
<div class="pl-2 pr-1 text-xs font-bold tracking-widerr text-warning">
{{ str($status)->before(':')->headline() }}
</div>
@if (!str($status)->startsWith('Proxy') && !str($status)->contains('('))
<div class="text-xs text-warning">({{ str($status)->after(':') }})</div>
@endif
2023-09-21 15:48:31 +00:00
</div>