Files
coolify/resources/views/components/skeleton/settings-sections.blade.php
T
Andras Bacsai c54902f776 feat(logs): add text view, group log toolbar into menus, and use skeleton loaders
- Runtime logs: add a compact text view, move display options and log level filters into a View menu, move copy and download into an Export menu, and remove the extra top margin.
- Replace spinner loading cards with skeletons on the logs, dynamic configurations, proxy, TLS certificates, Docker images, environment variables, preview deployments, rollback, subscription, cloud provider, and new resource pages.
2026-10-12 14:55:37 +02:00

21 lines
751 B
PHP

@props([
'count' => 2,
'label' => 'Loading',
])
{{-- Settings section skeleton: a title bar and a content block per section. --}}
<div role="status" {{ $attributes->class(['flex flex-col gap-6']) }}>
<span class="sr-only">{{ $label }}</span>
@for ($i = 0; $i < (int) $count; $i++)
<section class="application-settings-section" aria-hidden="true">
<header>
<x-skeleton class="my-1 h-3 {{ $i % 2 === 0 ? 'w-40' : 'w-28' }} rounded-full" />
<x-skeleton class="h-7 w-20 rounded-lg" />
</header>
<div class="application-settings-section-body">
<x-skeleton class="h-40 w-full rounded-lg" />
</div>
</section>
@endfor
</div>