<aside class="main-sidebar sidebar-light elevation-2">

    <!-- Logo -->
    <a href="../dashboard/index.php" class="brand-link text-center">

        <img src="../../assets/logo/logo.png"
             alt="Logo"
             class="brand-image img-circle elevation-2"
             style="opacity:.9">

        <span class="brand-text font-weight-bold">
            SIMPAS
        </span>

    </a>

    <!-- Sidebar -->
    <div class="sidebar">

        <!-- User -->
        <div class="user-panel mt-3 pb-3 mb-3 d-flex">

            <div class="image">

                <img src="../../assets/logo/logo.png"
                     class="img-circle elevation-2">

            </div>

            <div class="info">

                <a href="#" class="d-block">

                    <?= $_SESSION['nama']; ?>

                </a>

                <small class="text-muted">

                    <?= $_SESSION['level']; ?>

                </small>

            </div>

        </div>

        <nav class="mt-2">

            <ul class="nav nav-pills nav-sidebar flex-column"
                data-widget="treeview"
                role="menu">

                <!-- DASHBOARD -->

                <li class="nav-item">

                    <a href="../dashboard/index.php" class="nav-link active">

                        <i class="nav-icon fas fa-home"></i>

                        <p>Dashboard</p>

                    </a>

                </li>

                <li class="nav-header">
                    MASTER DATA
                </li>

                <li class="nav-item">

                    <a href="../siswa/index.php" class="nav-link">

                        <i class="nav-icon fas fa-user-graduate"></i>

                        <p>Data Siswa</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="../kelas/index.php" class="nav-link">

                        <i class="nav-icon fas fa-school"></i>

                        <p>Data Kelas</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="../orangtua/index.php" class="nav-link">

                        <i class="nav-icon fas fa-users"></i>

                        <p>Data Orang Tua</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="../tahun/index.php" class="nav-link">

                        <i class="nav-icon fas fa-calendar-alt"></i>

                        <p>Tahun Pelajaran</p>

                    </a>

                </li>

                <li class="nav-header">

                    ABSENSI

                </li>

                <li class="nav-item">

                    <a href="../scan/index.php" class="nav-link">

                        <i class="nav-icon fas fa-qrcode"></i>

                        <p>Scan QR</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="../absensi/index.php" class="nav-link">

                        <i class="nav-icon fas fa-clipboard-check"></i>

                        <p>Data Absensi</p>

                    </a>

                </li>

                <li class="nav-item">

                 <a href="../jadwal/index.php" class="nav-link">

    <i class="nav-icon fas fa-clock"></i>

    <p>Jadwal Absensi</p>

</a>

                    </a>

                </li>

                <li class="nav-header">

                    LAPORAN

                </li>

                <li class="nav-item">

                    <a href="../laporan/index.php" class="nav-link">

                        <i class="nav-icon fas fa-chart-bar"></i>

                        <p>Rekap Absensi</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="../setting/index.php" class="nav-link">

                        <i class="nav-icon fas fa-cogs"></i>

                        <p>Pengaturan</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="../../logout.php"
                       class="nav-link text-danger">

                        <i class="nav-icon fas fa-sign-out-alt"></i>

                        <p>Logout</p>

                    </a>

                </li>

            </ul>

        </nav>

    </div>

</aside>