Actualizar js/layout.js
This commit is contained in:
@@ -29,16 +29,17 @@ function renderSidebar() {
|
||||
|
||||
const path = window.location.pathname.split("/").pop() || "index.html";
|
||||
|
||||
// MENU ITEMS (Recuperados Dashboard y Usuarios)
|
||||
const menuItems = [
|
||||
// MENUS.
|
||||
const menuItems = [
|
||||
{ name: "Dashboard", link: "panel.html", icon: "layout-dashboard" },
|
||||
{ name: "Servicios", link: "servicios.html", icon: "briefcase" },
|
||||
{ name: "Proveedores", link: "proveedores.html", icon: "building-2" }, // Nuevo nombre para el buzón actual
|
||||
{ name: "Calendario", link: "calendario.html", icon: "calendar" },
|
||||
{ name: "Clientes", link: "clientes.html", icon: "users" },
|
||||
{ name: "Usuarios", link: "usuarios.html", icon: "user-cog" },
|
||||
{ name: "Automatizaciones", link: "automatizaciones.html", icon: "zap" },
|
||||
{ name: "Automatizaciones", link: "automatizaciones.html", icon: "zap" }, // Queda libre para lo nuevo
|
||||
{ name: "Configuración", link: "configuracion.html", icon: "settings" },
|
||||
];
|
||||
];
|
||||
|
||||
const linksHtml = menuItems.map(item => {
|
||||
const isActive = path === item.link;
|
||||
|
||||
Reference in New Issue
Block a user