From 0ab59bf6a81bc3080f79596a9c4d2f9e8716c99b Mon Sep 17 00:00:00 2001 From: Shni Date: Wed, 15 Oct 2025 09:28:14 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20Actualizar=20las=20rutas=20de=20inclusi?= =?UTF-8?q?=C3=B3n=20en=20las=20vistas=20del=20panel=20de=20control=20para?= =?UTF-8?q?=20mejorar=20la=20estructura=20del=20c=C3=B3digo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/views/pages/dashboard.ejs | 14 +++++++------- .../partials/dashboard/dashboard_overview.ejs | 15 ++++----------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/src/server/views/pages/dashboard.ejs b/src/server/views/pages/dashboard.ejs index a3c8b1e..c38bfdd 100644 --- a/src/server/views/pages/dashboard.ejs +++ b/src/server/views/pages/dashboard.ejs @@ -2,19 +2,19 @@
<% if (!selectedGuild) { %> - - <%- include('partials/dashboard/dashboard_noguild_card') %> + + <%- include('../partials/dashboard/dashboard_noguild_card') %> <% } else { %>
- <%- include('partials/dashboard/dashboard_sidebar') %> + <%- include('../partials/dashboard/dashboard_sidebar') %>
- <% if (typeof page !== 'undefined' && page === 'overview') { %> - <%- include('partials/dashboard/dashboard_overview') %> - <% } else if (typeof page !== 'undefined' && page === 'settings') { %> -
<%- include('partials/dashboard/dashboard_settings') %>
+ <% if (typeof page !== 'undefined' && page === 'overview') { %> + <%- include('../partials/dashboard/dashboard_overview') %> + <% } else if (typeof page !== 'undefined' && page === 'settings') { %> +
<%- include('../partials/dashboard/dashboard_settings') %>
<% } else { %>
<% } %> diff --git a/src/server/views/partials/dashboard/dashboard_overview.ejs b/src/server/views/partials/dashboard/dashboard_overview.ejs index 815c5af..1253348 100644 --- a/src/server/views/partials/dashboard/dashboard_overview.ejs +++ b/src/server/views/partials/dashboard/dashboard_overview.ejs @@ -1,13 +1,6 @@ -
-
- <%- include('partials/dashboard/dashboard_sidebar') %> - - -
-
-

Welcome <%= user?.username || 'Admin' %>,

-
- -
+
+
+

Welcome <%= user?.username || 'Admin' %>,

+