You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
3.6 KiB

@section('lefsidebar')
<aside class="left-sidebar">
<div class="scroll-sidebar">
<nav class="sidebar-nav">
<ul id="sidebarnav">
<li class="sidebar-item">
<a href="{{ route('inicio') }}" class="sidebar-link waves-dark profile-dd" href="javascript:void(0)" aria-expanded="false"><span class="hide-menu">Sección de {{auth()->user()->name}} </span></a>
</li>
@if ( Auth::user()->fk_id_roles == 1 || Auth::user()->fk_id_roles == 2 )
<li class="sidebar-item">
<a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-account"></i><span class="hide-menu">Administración</span></a>
<ul aria-expanded="false" class="collapse first-level">
<li class="sidebar-item">
<a href="{{ route('departamentos') }}" class="sidebar-link">
<i class="mdi mdi-cards-variant"></i>
<span class="hide-menu"> Departamentos </span>
</a>
</li>
<li class="sidebar-item">
<a href="{{ route('empresas') }}" class="sidebar-link">
<i class="mdi mdi-cards-variant"></i>
<span class="hide-menu"> Empresas </span>
</a>
</li>
<li class="sidebar-item">
<a href="{{ route('grupos') }}" class="sidebar-link">
<i class="mdi mdi-cards-variant"></i>
<span class="hide-menu"> Grupos </span>
</a>
</li>
<li class="sidebar-item">
<a href="{{ route('usuarios') }}" class="sidebar-link">
<i class="mdi mdi-adjust"></i>
<span class="hide-menu"> Usuarios </span>
</a>
</li>
</ul>
</li>
@endif
@if ( Auth::user()->fk_id_roles == 1 || Auth::user()->fk_id_roles == 2 )
<li class="sidebar-item">
<a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)"
aria-expanded="false">
<i class="mdi mdi-note-text"></i>
<span class="hide-menu">Bitacora</span>
</a>
<ul aria-expanded="false" class="collapse first-level">
<li class="sidebar-item">
<a href="{{ route('bitacora') }}" class="sidebar-link">
<i class="mdi mdi-cards-variant"></i>
<span class="hide-menu">Bitacora</span>
</a>
</li>
</ul>
</li>
@endif
</ul>
</nav>
</div>
</aside>
@endsection