New-OMIS/resources/views/layouts/partials/sidebar.blade.php
2024-04-09 18:00:26 +05:45

106 lines
3.6 KiB
PHP

<div class="app-menu navbar-menu">
<!-- LOGO -->
<div class="navbar-brand-box">
<!-- Dark Logo-->
<a href="index-2.html" class="logo logo-dark">
<span class="logo-sm">
<img src="{{ asset('assets/images/logo-sm.png') }}" alt="" height="22">
</span>
<span class="logo-lg">
<img src="{{ asset('assets/images/logo-dark.png') }}" alt="" height="17">
</span>
</a>
<!-- Light Logo-->
<a href="index-2.html" class="logo logo-light">
<span class="logo-sm">
<img src="{{ asset('assets/images/logo-sm.png') }}" alt="" height="22">
</span>
<span class="logo-lg">
<img src="{{ asset('assets/images/logo-light.png') }}" alt="" height="17">
</span>
</a>
<button type="button" class="btn btn-sm fs-20 header-item float-end btn-vertical-sm-hover p-0" id="vertical-hover">
<i class="ri-record-circle-line"></i>
</button>
</div>
<div id="scrollbar">
<div class="container-fluid">
<div id="two-column-menu">
</div>
<ul class="navbar-nav" id="navbar-nav">
<li class="nav-item">
<a href="#" class="nav-link"> <i class="ri-home-line"></i>Dashboard </a>
</li>
<li class="nav-item">
<a class="nav-link menu-link {{ \Request::is('employee') || (\Request::is('employee/*') ? 'active' : '') }}"
href="{{ route('employee.index') }}">
<i class="ri-team-line"></i> <span data-key="t-widgets">Employee</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ route('leave.index') }}">
<i class="ri-honour-line"></i> <span data-key="t-widgets">Leave</span>
</a>
</li>
{{-- <li class="nav-item">
<a class="nav-link menu-link" href="{{ route('user.index') }}">
<i class="ri-user-line"></i>User
</a>
</li> --}}
<li class="nav-item">
<a class="nav-link menu-link" href="#MenuTwo" data-bs-toggle="collapse" role="button" aria-expanded="false"
aria-controls="MenuTwo">
<i class="ri-dashboard-2-line"></i> <span data-key="t-resources">Master</span>
</a>
<div class="menu-dropdown collapse" id="MenuTwo">
<ul class="nav nav-sm flex-column">
<li class="nav-item">
<a href="{{ route('user.index') }}"
class="nav-link @if (\Request::is('user/*')) active @endif">Users</a>
</li>
<li class="nav-item">
<a href="{{ route('role.index') }}"
class="nav-link @if (\Request::is('role/*')) active @endif">Roles</a>
</li>
<li class="nav-item">
<a href="{{ route('countries.index') }}" class="nav-link">Countries</a>
</li>
<li class="nav-item">
<a href="{{ route('proviences.index') }}" class="nav-link">Provinces</a>
</li>
<li class="nav-item">
<a href="{{ route('districts.index') }}" class="nav-link">District</a>
</li>
<li class="nav-item">
<a href="{{ route('cities.index') }}" class="nav-link">Cities</a>
</li>
<li class="nav-item">
<a href="{{ route('departments.index') }}" class="nav-link">Departments</a>
</li>
</ul>
</div>
</li>
<li class="nav-item">
<a href="#" class="nav-link"> <i class="ri-settings-2-line"></i>Setting </a>
</li>
</ul>
</div>
<!-- Sidebar -->
</div>
<div class="sidebar-background"></div>
</div>