feat(admin): add OcrHealthBar, OcrStatCards, OcrModelsTable components

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-18 00:30:24 +02:00
parent 5f4e60a14c
commit 0d8ac46639
6 changed files with 209 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<script lang="ts">
let { ocrServiceAvailable }: { ocrServiceAvailable: boolean } = $props();
</script>
<div class="flex items-center gap-2">
<span
class="inline-block h-2.5 w-2.5 rounded-full {ocrServiceAvailable
? 'bg-green-500'
: 'bg-red-500'}"
></span>
<span class="text-sm font-medium {ocrServiceAvailable ? 'text-green-700' : 'text-red-700'}">
{ocrServiceAvailable ? 'Online' : 'Offline'}
</span>
</div>