@extends('layouts.admin') @section('title', 'Admin Dashboard | Smart Dermatology') @section('page_title', 'Overview') @section('page_subtitle', 'Monitor users, access levels, and recent activity.') @section('content')
Total Users

{{ $stats['total_users'] }}

Registered accounts in the system
Admin Accounts

{{ $stats['total_admins'] }}

Role-protected dashboard access
User Accounts

{{ $stats['total_members'] }}

Standard member panel access
Total Analyses

{{ $stats['total_analyses'] }}

Saved prediction records
Recently Registered Users

Quick snapshot of latest accounts.

@forelse ($stats['recent_users'] as $user) @empty @endforelse
Name Email User Type Joined
{{ $user->name }} {{ $user->email }} {{ $user->user_type }} {{ $user->created_at?->format('d M Y') }}
No users found yet.
Recent Analyses

Latest AI results saved by users.

View All
@forelse ($stats['recent_analyses'] as $analysis) @empty @endforelse
User Disease Confidence Time
{{ $analysis->user->name }} {{ str_replace('_', ' ', $analysis->disease) }} {{ number_format($analysis->confidence * 100, 2) }}% {{ $analysis->created_at?->diffForHumans() }}
No analyses recorded yet.
@endsection