

<?php $__env->startSection('title', 'Panel Admin'); ?>
<?php $__env->startSection('page_header', 'Dashboard Admin'); ?>

<?php $__env->startSection('sidebar'); ?>
<div id="sidebar-wrapper">

    
    <div class="sidebar-header">
        <img src="/img/logo.png" alt="Logo E-Absensi">
        <h6>E-ABSENSI</h6>
        <span class="badge bg-primary-subtle text-primary px-3 py-2 rounded-pill" style="font-size: 10px;">
            ADMINISTRATOR
        </span>
    </div>

    
    <div class="overflow-auto flex-grow-1">

        <p class="menu-title">Dashboard Utama</p>
        <a href="<?php echo e(route('admin.dashboard')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.dashboard') ? 'active' : ''); ?>">
            <i class="bi bi-grid-1x2-fill"></i> Beranda
        </a>

        <p class="menu-title">Manajemen</p>
        <a href="<?php echo e(route('admin.siswa.index')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.siswa.*') ? 'active' : ''); ?>">
            <i class="bi bi-people-fill"></i> Data Siswa
        </a>
        <a href="<?php echo e(route('admin.guru.index')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.guru.*') ? 'active' : ''); ?>">
            <i class="bi bi-person-badge-fill"></i> Data Guru
        </a>
        <a href="<?php echo e(route('admin.user.index')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.user.*') ? 'active' : ''); ?>">
            <i class="bi bi-shield-lock-fill"></i> Akses Pengguna
        </a>

        
        <p class="menu-title">Presensi QR Code (Kegiatan Pembiasaan)</p>
        <a href="<?php echo e(route('admin.scan')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.scan') ? 'active' : ''); ?>">
            <i class="bi bi-qr-code-scan"></i> Scan Presensi
        </a>
        <a href="<?php echo e(route('admin.laporan.harian')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.laporan.harian') ? 'active' : ''); ?>">
            <i class="bi bi-calendar2-check-fill"></i> Laporan Harian QR
        </a>
        <a href="<?php echo e(route('admin.laporan.bulanan')); ?>"
           class="nav-link <?php echo e(request()->routeIs('admin.laporan.bulanan') ? 'active' : ''); ?>">
            <i class="bi bi-pie-chart-fill"></i> Rekap Bulanan QR
        </a>

        
        <p class="menu-title">Absen Keliling (Manual)</p>
        <a href="<?php echo e(route('absen-manual.index')); ?>"
           class="nav-link <?php echo e(request()->routeIs('absen-manual.index') ? 'active' : ''); ?>">
            <i class="bi bi-journal-check"></i> Input Absen Manual
        </a>
        <a href="<?php echo e(route('absen-manual.laporan')); ?>"
           class="nav-link <?php echo e(request()->routeIs('absen-manual.laporan') ? 'active' : ''); ?>">
            <i class="bi bi-exclamation-triangle-fill"></i> Laporan Ketidakhadiran
        </a>

    </div>

    
    <div class="p-3 border-top">
        <form action="<?php echo e(route('logout')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <button type="submit" class="btn btn-outline-danger btn-logout w-100">
                <i class="bi bi-box-arrow-right me-1"></i> Keluar Sistem
            </button>
        </form>
    </div>

</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <?php echo $__env->yieldContent('admin-content'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\absensi_muttaqin_v2\resources\views/layouts/admin.blade.php ENDPATH**/ ?>