lasthourcloud/resources/views/components/status/degraded.blade.php
Andras Bacsai 62ae845f4b fix: complex service status
service: firefly III
2024-02-23 10:09:42 +01:00

14 lines
512 B
PHP

@props([
'status' => 'Degraded',
])
<x-loading wire:loading.delay.longer />
<div class="flex items-center" wire:loading.remove.delay.longer>
<div class="badge badge-warning badge-xs"></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
</div>