@extends('layouts.app') @section('content')

User Management

Manage platform users and permissions

Total Users

{{ $totalUsers }}

Verified

{{ $verifiedUsers }}

Pending Verification

{{ $pendingVerification }}

Suspended

{{ $suspendedUsers }}

@forelse ($users as $user) @empty @endforelse
User Email Role Status Joined Activity Actions
{{ substr($user->name, 0, 1) }}

{{ $user->name }}

ID: {{ $user->id }}

{{ $user->email }} {{ ucfirst($user->role) }} {{ $user->is_suspended ? 'Suspended' : ($user->is_verified ? 'Verified' : 'Pending') }} {{ $user->created_at->format('d M Y') }} @if ($user->last_login_at)

{{ $user->last_login_at->diffForHumans() }}

@else

Never

@endif
@if (!$user->is_verified)
@csrf
@endif @if (!$user->is_suspended)
@csrf
@else
@csrf
@endif

No users found matching your filters

@if ($users->hasPages())
{{ $users->links() }}
@endif
@endsection