@extends('admin.layout') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @section('page-subtitle', 'Overview of your system performance and module status') @section('breadcrumb') Dashboard @endsection @push('header-actions') @endpush @section('content')
Total Tenants
{{ $stats['total_tenants'] }}
{{ abs($stats['tenant_growth']) }}% this month
Active Users
{{ $stats['active_users'] }}
{{ abs($stats['user_growth']) }}% this week
Modules Installed
{{ $stats['installed_modules'] }}
{{ $stats['total_modules'] }} available
System Health
{{ $stats['system_health'] }}%
{{ $stats['system_health'] >= 95 ? 'Excellent' : ($stats['system_health'] >= 80 ? 'Good' : 'Needs Attention') }}
Quick Actions
Common administrative tasks
Recent Activity
Latest system events and changes
@forelse($recentActivity as $activity)
{{ $activity['title'] }}
{{ $activity['description'] }}
{{ $activity['time'] }}
@empty

No recent activity

@endforelse
System Status
Current system performance
@foreach($systemStatus as $component => $status)
{{ ucwords(str_replace('_', ' ', $component)) }}
{{ $status['value'] }}
@endforeach
Most Used Modules
Popular modules by usage
@foreach($topModules as $module)
{{ $module['name'] }}
{{ $module['tenants'] }} tenants • {{ $module['usage'] }}% usage
@endforeach
Plan Distribution
Tenant subscription breakdown
@foreach($planDistribution as $plan => $data)
{{ ucfirst($plan) }}
{{ $data['count'] }} tenants
{{ $data['percentage'] }}%
@endforeach
Performance Trends
System metrics over time
@endsection @push('styles') @endpush @push('scripts') @endpush