@extends('layouts.master') @section('title', 'User Manager') @section('page-title', 'User Manager') @section('css') @endsection @section('content')

User Manager

Kelola akun pengguna aplikasi secara aman, rapi, dan terstruktur.
Tambah User
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
Total User
{{ number_format($totalUsers, 0, ',', '.') }}
User Aktif
{{ number_format($activeUsers, 0, ',', '.') }}
Admin
{{ number_format($adminUsers, 0, ',', '.') }}
@forelse($users as $idx => $u) @empty @endforelse
# User Email Role Status Terakhir Update Aksi
{{ $users->firstItem() + $idx }}
avatar
{{ $u->name }}
{{ $u->username ?: '-' }}
{{ $u->email }} {{ strtoupper($u->role) }} @if ($u->is_active) Aktif @else Nonaktif @endif {{ optional($u->updated_at)->format('d-m-Y H:i') }}
@csrf @method('PATCH')
@csrf @method('DELETE')
Belum ada data user.
{{ $users->withQueryString()->links() }}
@endsection