Files
jabali-panel/resources/views/filament/admin/widgets/ssl-stats.blade.php
2026-02-02 03:11:45 +02:00

20 lines
815 B
PHP

<x-filament-widgets::widget>
<div class="grid gap-3" style="grid-template-columns: repeat(5, minmax(0, 1fr));">
@foreach($this->getStats() as $stat)
<x-filament::section
:icon="$stat['icon']"
:icon-color="$stat['color']"
class="!px-2 !py-1"
>
<x-slot name="heading">
<div class="flex items-center gap-2">
<span class="fi-section-header-heading">{{ $stat['value'] }}</span>
<span class="fi-section-header-description">{{ $stat['label'] }}</span>
</div>
</x-slot>
<x-slot name="description"></x-slot>
</x-filament::section>
@endforeach
</div>
</x-filament-widgets::widget>