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

Dashboard

Pantau akses, aktivitas, dan perjalanan magang dalam satu ruang.

{{ \Carbon\Carbon::now()->translatedFormat('d F Y') }}
PROGRAM MAGANG · SEMESTER {{ now()->month >= 7 ? 'GANJIL' : 'GENAP' }} {{ now()->format('Y') }}/{{ now()->addYear()->format('Y') }}

Selamat {{ $greeting }}, {{ Auth::user()?->name ?? 'Admin' }}.

Pantau aktivitas dan perkembangan internship kamu di satu tempat.

@php $pendingApplicationsCount = \App\Models\InternApplication::where('status', \App\Enums\ApplicationStatus::PENDING->value)->count(); @endphp @if ($pendingApplicationsCount > 0)

Ada {{ $pendingApplicationsCount }} Pendaftaran Calon Intern Menunggu Verifikasi

Tinjau berkas pendaftaran calon peserta magang untuk menyetujui atau menolak akun.

Tinjau Sekarang
@endif

Recent Activity

Jejak aktivitas pengguna di seluruh workspace

@forelse ($activities as $activity)
{{ $activity->user_name }} ({{ $activity->role_name }})
{{ $activity->description }}
{{ $activity->created_at }}
@empty
Belum ada aktivitas pengguna yang tercatat.
@endforelse
Menampilkan {{ $activities->firstItem() ?? 0 }}–{{ $activities->lastItem() ?? 0 }} dari {{ $activities->total() }} aktivitas
@if ($activities->hasPages())
@if ($activities->onFirstPage()) @else @endif @if ($activities->lastPage() <= 7) @foreach (range(1, $activities->lastPage()) as $page) @if ($page == $activities->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach @else @php $currentPage = $activities->currentPage(); $lastPage = $activities->lastPage(); @endphp {{-- Halaman 1 --}} @if ($currentPage == 1) 1 @else 1 @endif @if ($currentPage > 3) ... @endif @foreach (range(max(2, $currentPage - 1), min($lastPage - 1, $currentPage + 1)) as $page) @if ($page == $currentPage) {{ $page }} @else {{ $page }} @endif @endforeach @if ($currentPage < $lastPage - 2) ... @endif {{-- Halaman Terakhir --}} @if ($currentPage == $lastPage) {{ $lastPage }} @else {{ $lastPage }} @endif @endif @if ($activities->hasMorePages()) @else @endif
@else
1
@endif
@endsection