pintu2/resources/views/layout/navbars/sidebar.blade.php
2024-03-15 18:36:20 +07:00

109 lines
4.1 KiB
PHP

<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Brand Logo -->
<a href="#" class="brand-link">
<img src="{{ asset('/') }}dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
<span class="brand-text font-weight-light">PINTU</span>
</a>
<!-- Sidebar -->
<div class="sidebar">
<!-- Sidebar user (optional) -->
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
<div class="image">
<img src="{{ asset('/') }}dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
</div>
<div class="info">
<a href="#" class="d-block">{{ Auth::user()->nama_depan }} {{ Auth::user()->nama_belakang }}</a>
</div>
</div>
<!-- SidebarSearch Form -->
<div class="form-inline">
<div class="input-group" data-widget="sidebar-search">
<input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
<div class="input-group-append">
<button class="btn btn-sidebar">
<i class="fas fa-search fa-fw"></i>
</button>
</div>
</div>
</div>
<!-- Sidebar Menu -->
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
<!-- Add icons to the links using the .nav-icon class
with font-awesome or any other icon font library -->
<li class="nav-item">
<a href="{{ route('admin.dashboard') }}" class="nav-link {{ Request::is('admin') ? 'active' : '' }}">
<i class="nav-icon fas fa-tachometer-alt"></i>
<p>
Dashboard
</p>
</a>
</li>
<li class="nav-header">LAYANAN</li>
<li class="nav-item">
<a href="{{ route('layanan-dpudpa.index') }}" class="nav-link {{ Request::is('admin/layanan-dpudpa') ? 'active' : '' }}">
<i class="nav-icon fas fa-tachometer-alt"></i>
<p>
Pengajuan DPU / DPA
</p>
</a>
</li>
<li class="nav-item">
<a href="{{ route('layanan-sempro.index') }}" class="nav-link {{ Request::is('admin/layanan-sempro') ? 'active' : '' }}">
<i class="nav-icon fas fa-tachometer-alt"></i>
<p>
Pengajuan Seminar Proposal
</p>
</a>
</li>
<li class="nav-header">ADMINISTRASI</li>
@role('Super Administrator')
<li class="nav-item">
<a href="{{ route('users.index') }}" class="nav-link {{ Request::is('admin/users') ? 'active' : '' }}">
<i class="nav-icon fas fa-users"></i>
<p>
Manajemen User
</p>
</a>
</li>
<li class="nav-item">
<a href="{{ route('users-roles.index') }}" class="nav-link {{ Request::is('admin/user_roles') ? 'active' : '' }}">
<i class="nav-icon fas fa-users"></i>
<p>
Manajemen Role User
</p>
</a>
</li>
@endrole
<li class="nav-item">
<a href="{{ route('mahasiswa.index') }}" class="nav-link {{ Request::is('admin/mahasiswa') ? 'active' : '' }}">
<i class="nav-icon fas fa-user-graduate"></i>
<p>
Manajemen Mahasiswa
</p>
</a>
</li>
</ul>
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
<li class="nav-header">Lainnya</li>
<li class="nav-item">
<a href="{{ route('admin.logout') }}" class="nav-link">
<i class="nav-icon fas fa-power-off"></i>
<p>
Logout
</p>
</a>
</li>
</ul>
</nav>
<!-- /.sidebar-menu -->
</div>
<!-- /.sidebar -->
</aside>