Browse Source

Mejora visuañ V2

main
Damian 2 weeks ago
parent
commit
3b99730695
  1. 31
      resources/views/layouts/dashboard.blade.php

31
resources/views/layouts/dashboard.blade.php

@ -35,16 +35,16 @@
<body class="bg-gray-50"> <body class="bg-gray-50">
<div class="min-h-screen flex"> <div class="min-h-screen flex">
<!-- Sidebar modernizado --> <!-- 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"> <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> </div>
<nav> <nav>
<ul class="space-y-4"> <ul class="space-y-4">
<!-- Inicio --> <!-- Inicio -->
<li> <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> <i class="fas fa-home text-white/80"></i>
<span class="font-light">Inicio</span> <span class="font-light">Inicio</span>
</a> </a>
@ -52,7 +52,7 @@
<!-- Préstamos --> <!-- Préstamos -->
<li> <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> <i class="fas fa-book text-white/80"></i>
<span class="font-light">Préstamos</span> <span class="font-light">Préstamos</span>
</a> </a>
@ -60,7 +60,7 @@
<!-- Usuarios --> <!-- Usuarios -->
<li> <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> <i class="fas fa-users text-white/80"></i>
<span class="font-light">Usuarios</span> <span class="font-light">Usuarios</span>
</a> </a>
@ -89,9 +89,8 @@
class="pl-4 mt-2 space-y-1 text-sm"> class="pl-4 mt-2 space-y-1 text-sm">
<!-- Marca --> <!-- Marca -->
<li> <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> <i class="fas fa-trademark text-white/80"></i>
<span class="font-light">Marca</span> <span class="font-light">Marca</span>
</a> </a>
@ -99,7 +98,7 @@
<!-- Tipos --> <!-- Tipos -->
<li> <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> <i class="fas fa-car text-white/80"></i>
<span class="font-light">Tipos de Vehiculos</span> <span class="font-light">Tipos de Vehiculos</span>
</a> </a>
@ -107,7 +106,7 @@
<!-- Tipos de Licencia --> <!-- Tipos de Licencia -->
<li> <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> <i class="fas fa-id-card text-white/80"></i>
<span class="font-light">Tipos de Licencia</span> <span class="font-light">Tipos de Licencia</span>
</a> </a>
@ -115,16 +114,16 @@
<!-- Capacidad --> <!-- Capacidad -->
<li> <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> <i class="fas fa-database text-white/80"></i>
<span class="font-light">Capacidad</span> <span class="font-light">Capacidad</span>
</a> </a>
</li> </li>
<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> <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> </a>
</li> </li>
<!-- Puestos --> <!-- Puestos -->
@ -143,19 +142,19 @@
<ul x-show="openPuestos" <ul x-show="openPuestos"
class="pl-4 mt-1 space-y-1"> class="pl-4 mt-1 space-y-1">
<li> <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> <i class="fas fa-chalkboard-teacher text-white/80"></i>
<span class="font-light">Docentes</span> <span class="font-light">Docentes</span>
</a> </a>
</li> </li>
<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> <i class="fas fa-car text-white/80"></i>
<span class="font-light">Choferes</span> <span class="font-light">Choferes</span>
</a> </a>
</li> </li>
<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> <i class="fas fa-user-shield text-white/80"></i>
<span class="font-light">Administradores</span> <span class="font-light">Administradores</span>
</a> </a>
@ -165,7 +164,7 @@
<!-- Estatus --> <!-- Estatus -->
<li> <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> <i class="fas fa-toggle-on text-white/80"></i>
<span class="font-light">Estatus</span> <span class="font-light">Estatus</span>
</a> </a>

Loading…
Cancel
Save