singleloginsystem/resources/views/components/dashboard-stats.blade.php
= 1a7134419c Refactor: Improve dependency injection for dashboard components and enhance SAML logging
- Removed inline data definitions from multiple dashboard components for roles, users, and connected apps, replacing them with service-based computed properties.
- Added comprehensive debug and error-level logging throughout `SamlIdpService` and related controllers to improve traceability of SAML flows.
- Cleaned up and centralized SAML-related logic, improving maintainability and error handling consistency.
- Deleted unused `hr-permission.blade.php` component to reduce code redundancy.
2026-06-01 13:05:59 +00:00

21 lines
746 B
PHP

@props(['stats'])
<grid class="grid grid-cols-4 gap-x-4">
<x-shared.card class="p-4">
<p class="text-sm text-gray-400">Total Users</p>
<p class="text-2xl">{{ $stats->totalUsers }}</p>
</x-shared.card>
<x-shared.card class="p-4">
<p class="text-sm text-gray-400">Active Roles</p>
<p class="text-2xl">{{ $stats->activeRoles }}</p>
</x-shared.card>
<x-shared.card class="p-4">
<p class="text-sm text-gray-400">Services</p>
<p class="text-2xl">{{ $stats->servicesCount }}</p>
</x-shared.card>
<x-shared.card class="p-4">
<p class="text-sm text-gray-400">Revoked Today</p>
<p class="text-2xl">{{ $stats->revokedTodayCount }}</p>
</x-shared.card>
</grid>