Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Frontend consistency sweep Tier 4: skeleton uses Card primitive

rcourtman2012fb55b79c
diff --git a/frontend-modern/src/features/alerts/AlertDestinationsLoadingState.tsx b/frontend-modern/src/features/alerts/AlertDestinationsLoadingState.tsx
index 94574911ca..20ccca381b 100644
--- a/frontend-modern/src/features/alerts/AlertDestinationsLoadingState.tsx
+++ b/frontend-modern/src/features/alerts/AlertDestinationsLoadingState.tsx
@@ -1,7 +1,9 @@
+import { Card } from '@/components/shared/Card';
+
export function AlertDestinationsLoadingState() {
return (
<div class="flex w-full flex-col gap-6 animate-pulse pointer-events-none select-none md:gap-8">
- <div class="rounded-lg border border-border bg-surface p-6 space-y-4">
+ <Card padding="lg" class="space-y-4">
<div class="flex items-center justify-between">
<div class="space-y-2">
<div class="h-5 w-40 rounded bg-surface-hover" />
@@ -15,8 +17,8 @@ export function AlertDestinationsLoadingState() {
<div class="h-4 w-32 rounded bg-surface-hover" />
<div class="h-10 w-full rounded bg-surface-hover" />
</div>
- </div>
- <div class="rounded-lg border border-border bg-surface p-6 space-y-4">
+ </Card>
+ <Card padding="lg" class="space-y-4">
<div class="flex items-center justify-between">
<div class="space-y-2">
<div class="h-5 w-44 rounded bg-surface-hover" />
@@ -28,8 +30,8 @@ export function AlertDestinationsLoadingState() {
<div class="h-4 w-28 rounded bg-surface-hover" />
<div class="h-10 w-full rounded bg-surface-hover" />
</div>
- </div>
- <div class="rounded-lg border border-border bg-surface p-6 space-y-4">
+ </Card>
+ <Card padding="lg" class="space-y-4">
<div class="flex items-center justify-between">
<div class="space-y-2">
<div class="h-5 w-28 rounded bg-surface-hover" />
@@ -38,7 +40,7 @@ export function AlertDestinationsLoadingState() {
<div class="h-4 w-20 rounded bg-surface-hover" />
</div>
<div class="h-10 w-full rounded bg-surface-hover" />
- </div>
+ </Card>
</div>
);
}