<ul class="nav">
  @if (Auth::user()->lv_user == 1)
  <li class="nav-item">
    <a class="nav-link" href="{{ url('home')}}">
      <i class="mdi mdi-grid-large menu-icon"></i>
      <span class="menu-title">Dashboard</span>
    </a>
  </li>

  <li class="nav-item nav-category">Penjadwalan Penelitian</li>
  <li class="nav-item">
    <a class="nav-link" data-bs-toggle="collapse" href="#jadwal" aria-expanded="false" aria-controls="jadwal">
      <i class="menu-icon mdi mdi-file-tree"></i>
      <span class="menu-title">Penjadwalan</span>
      <i class="menu-arrow"></i>
    </a>
    <div class="collapse" id="jadwal">
      <ul class="nav flex-column sub-menu">
        <li class="nav-item"> <a class="nav-link" href="{{ url('admin/jadwal/index')}}">Buat Jadwal</a></li>
        <li class="nav-item"> <a class="nav-link" href="{{ url('admin/terapjadwal')}}">Terapkan Jadwal</a></li>
      </ul>
    </div>
  </li>

  <li class="nav-item nav-category">Akun & Hak Akses</li>
  
  <li class="nav-item">
    <a class="nav-link" data-bs-toggle="collapse" href="#akun1" aria-expanded="false" aria-controls="akun1">
      <i class="menu-icon mdi mdi-account-card-details"></i>
      <span class="menu-title">Akun</span>
      <i class="menu-arrow"></i>
    </a>
    <div class="collapse" id="akun1">
      <ul class="nav flex-column sub-menu">
        <li class="nav-item"> <a class="nav-link" href="{{ url('admin/akunadmin')}}">Akun
            Administrator</a></li>
        <li class="nav-item"> <a class="nav-link" href="{{ url('admin/akun/dosen')}}">Akun
            Dosen</a></li>
      </ul>
    </div>
  </li>

  {{-- <li class="nav-item">
    <a class="nav-link" data-bs-toggle="collapse" href="#ui-basic2" aria-expanded="false" aria-controls="ui-basic2">
      <i class="menu-icon mdi mdi-account-key"></i>
      <span class="menu-title">Hak Akses</span>
      <i class="menu-arrow"></i>
    </a>
    <div class="collapse" id="ui-basic2">
      <ul class="nav flex-column sub-menu">
        <li class="nav-item"> <a class="nav-link" href="{{ url('admin/akses')}}">List
            Reviewer</a></li>
      </ul>
    </div>
  </li> --}}

  <li class="nav-item nav-category">Data Pengajuan Penelitian</li>
  <li class="nav-item">
    <a class="nav-link" data-bs-toggle="collapse" href="#form-elements" aria-expanded="false"
      aria-controls="form-elements">
      <i class="menu-icon mdi mdi-card-text-outline"></i>
      <span class="menu-title">Penelitian Dosen</span>
      <i class="menu-arrow"></i>
    </a>
    <div class="collapse" id="form-elements">
      <ul class="nav flex-column sub-menu">
        <li class="nav-item"><a class="nav-link" href="{{ url('admin/judulpenelitian')}}">Judul Penelitian</a></li>
        <li class="nav-item"><a class="nav-link" href="{{ url('admin/proposal')}}">Proposal</a></li>
        <li class="nav-item"><a class="nav-link" href="{{ url('admin/laporan')}}">Laporan</a></li>
      </ul>
    </div>
  </li>
  @else
  <li class="nav-item nav-category">Data Pengajuan Penelitian</li>
  <li class="nav-item">
    <a class="nav-link" data-bs-toggle="collapse" href="#form-elements" aria-expanded="false"
      aria-controls="form-elements">
      <i class="menu-icon mdi mdi-card-text-outline"></i>
      <span class="menu-title">Penelitian Dosen</span>
      <i class="menu-arrow"></i>
    </a>
    <div class="collapse" id="form-elements">
      <ul class="nav flex-column sub-menu">
        <li class="nav-item"><a class="nav-link" href="{{ url('admin/judulpenelitian')}}">Judul Penelitian</a></li>
        <li class="nav-item"><a class="nav-link" href="{{ url('admin/proposal')}}">Proposal</a></li>
        <li class="nav-item"><a class="nav-link" href="{{ url('admin/laporan')}}">Laporan</a></li>
      </ul>
    </div>
  </li>

  @endif
</ul>