|
|
@ -35,16 +35,16 @@ |
|
|
|
<body class="bg-gray-50"> |
|
|
|
<div class="min-h-screen flex"> |
|
|
|
<!-- Sidebar modernizado --> |
|
|
|
<aside class="sidebar bg-gradient-to-b from-[#1E40AF] to-[#1E3A8A] text-white w-64 min-h-screen px-4 py-6 hidden md:block shadow-xl"> |
|
|
|
<aside class="sidebar bg-gradient-to-b from-[#1E40AF] to-[#6B5B9A] text-white w-64 min-h-screen px-4 py-6 hidden md:block shadow-xl"> |
|
|
|
<div class="flex items-center justify-center mb-12"> |
|
|
|
<span class="text-2xl font-light tracking-wider animate__animated animate__fadeIn">PrestamosTecmm</span> |
|
|
|
<span class="text-2xl font-bold tracking-wider animate__animated animate__fadeIn">PrestamosTecmm</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<nav> |
|
|
|
<ul class="space-y-4"> |
|
|
|
<!-- Inicio --> |
|
|
|
<li> |
|
|
|
<a href="/dashboard" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/dashboard" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('dashboard') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-home text-white/80"></i> |
|
|
|
<span class="font-light">Inicio</span> |
|
|
|
</a> |
|
|
@ -52,7 +52,7 @@ |
|
|
|
|
|
|
|
<!-- Préstamos --> |
|
|
|
<li> |
|
|
|
<a href="/prestamos" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/prestamos" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('prestamos') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-book text-white/80"></i> |
|
|
|
<span class="font-light">Préstamos</span> |
|
|
|
</a> |
|
|
@ -60,7 +60,7 @@ |
|
|
|
|
|
|
|
<!-- Usuarios --> |
|
|
|
<li> |
|
|
|
<a href="/usuarios" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/usuarios" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('usuarios') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-users text-white/80"></i> |
|
|
|
<span class="font-light">Usuarios</span> |
|
|
|
</a> |
|
|
@ -89,9 +89,8 @@ |
|
|
|
class="pl-4 mt-2 space-y-1 text-sm"> |
|
|
|
|
|
|
|
<!-- Marca --> |
|
|
|
|
|
|
|
<li> |
|
|
|
<a href="{{ route('marca.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="{{ route('marca.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('marca*') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-trademark text-white/80"></i> |
|
|
|
<span class="font-light">Marca</span> |
|
|
|
</a> |
|
|
@ -99,7 +98,7 @@ |
|
|
|
|
|
|
|
<!-- Tipos --> |
|
|
|
<li> |
|
|
|
<a href="{{ route('vehiculos.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="{{ route('vehiculos.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('vehiculos*') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-car text-white/80"></i> |
|
|
|
<span class="font-light">Tipos de Vehiculos</span> |
|
|
|
</a> |
|
|
@ -107,7 +106,7 @@ |
|
|
|
|
|
|
|
<!-- Tipos de Licencia --> |
|
|
|
<li> |
|
|
|
<a href="{{ route('tiposLicencias.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> <!-- Cambiado aquí --> |
|
|
|
<a href="{{ route('tiposLicencias.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('tiposLicencias*') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-id-card text-white/80"></i> |
|
|
|
<span class="font-light">Tipos de Licencia</span> |
|
|
|
</a> |
|
|
@ -115,16 +114,16 @@ |
|
|
|
|
|
|
|
<!-- Capacidad --> |
|
|
|
<li> |
|
|
|
<a href="{{ route('capacidades.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="{{ route('capacidades.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('capacidades*') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-database text-white/80"></i> |
|
|
|
<span class="font-light">Capacidad</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
<a href="/configuracion/capacidad" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/configuracion/capacidad" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('configuracion/capacidad') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-gas-pump text-white/80"></i> |
|
|
|
<span class="font-light">Tipo de Gasolina </span> |
|
|
|
<span class="font-light">Tipo de Gasolina</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<!-- Puestos --> |
|
|
@ -143,19 +142,19 @@ |
|
|
|
<ul x-show="openPuestos" |
|
|
|
class="pl-4 mt-1 space-y-1"> |
|
|
|
<li> |
|
|
|
<a href="{{ route('docentes.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="{{ route('docentes.index') }}" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('docentes*') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-chalkboard-teacher text-white/80"></i> |
|
|
|
<span class="font-light">Docentes</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<a href="/configuracion/puestos/choferes" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/configuracion/puestos/choferes" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('configuracion/puestos/choferes') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-car text-white/80"></i> |
|
|
|
<span class="font-light">Choferes</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<a href="/configuracion/puestos/admin" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/configuracion/puestos/admin" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('configuracion/puestos/admin') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-user-shield text-white/80"></i> |
|
|
|
<span class="font-light">Administradores</span> |
|
|
|
</a> |
|
|
@ -165,7 +164,7 @@ |
|
|
|
|
|
|
|
<!-- Estatus --> |
|
|
|
<li> |
|
|
|
<a href="/configuracion/estatus" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm"> |
|
|
|
<a href="/configuracion/estatus" class="nav-item-hover flex items-center space-x-3 px-4 py-3 rounded-lg hover:bg-white/10 backdrop-blur-sm {{ request()->is('configuracion/estatus') ? 'bg-white/20' : '' }}"> |
|
|
|
<i class="fas fa-toggle-on text-white/80"></i> |
|
|
|
<span class="font-light">Estatus</span> |
|
|
|
</a> |
|
|
|