sidebar active
This commit is contained in:
parent
c019fcb02d
commit
c1a81191fa
@ -34,8 +34,8 @@
|
|||||||
<a href="#" class="nav-link"> <i class="ri-home-line"></i>Dashboard </a>
|
<a href="#" class="nav-link"> <i class="ri-home-line"></i>Dashboard </a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item active">
|
||||||
<a class="nav-link menu-link {{ \Request::is('employee') || (\Request::is('employee/*') ? 'active' : '') }}"
|
<a class="nav-link menu-link @if (\Request::is('employee') || \Request::is('employee/*')) active @endif"
|
||||||
href="{{ route('employee.index') }}">
|
href="{{ route('employee.index') }}">
|
||||||
<i class="ri-team-line"></i> <span data-key="t-widgets">Employee</span>
|
<i class="ri-team-line"></i> <span data-key="t-widgets">Employee</span>
|
||||||
</a>
|
</a>
|
||||||
@ -65,12 +65,12 @@
|
|||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('user.index') }}"
|
<a href="{{ route('user.index') }}"
|
||||||
class="nav-link @if (\Request::is('user/*')) active @endif">Users</a>
|
class="nav-link @if (\Request::is('user') || \Request::is('user/*')) active @endif">Users</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ route('role.index') }}"
|
<a href="{{ route('role.index') }}"
|
||||||
class="nav-link @if (\Request::is('role/*')) active @endif">Roles</a>
|
class="nav-link @if (\Request::is('role') || \Request::is('role/*')) active @endif">Roles</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
@ -93,7 +93,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="#" class="nav-link"> <i class="ri-settings-2-line"></i>Setting </a>
|
<a href="#" class="nav-link"> <i class="ri-settings-2-line"></i>Setting</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user