Files
coolify/resources/views/components/skeleton/form.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

16 lines
553 B
PHP

@props([
'fields' => 4,
'label' => 'Loading',
])
{{-- Form skeleton: a label and an input per field, two columns on wide screens. --}}
<div role="status" {{ $attributes->class(['grid gap-4 md:grid-cols-2']) }}>
<span class="sr-only">{{ $label }}</span>
@for ($i = 0; $i < (int) $fields; $i++)
<div aria-hidden="true" class="flex flex-col gap-2">
<x-skeleton class="h-2.5 {{ $i % 2 === 0 ? 'w-24' : 'w-32' }} rounded-full" />
<x-skeleton class="h-9 w-full rounded-lg" />
</div>
@endfor
</div>