Cleanup: Remoción masiva de restos de WordPress y consolidación de archivos GKACHELE™

This commit is contained in:
komkida91
2026-01-27 18:00:16 +01:00
parent d9aad67066
commit 7083aa3893
874 changed files with 137670 additions and 137443 deletions

View File

@@ -1,20 +1,24 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - Administración del Sitio</title>
<style>
* { box-sizing: border-box; }
body {
* {
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 0;
background: #f0f0f1;
margin: 0;
background: #f0f0f1;
display: flex;
height: 100vh;
color: #3c434a;
}
/* Sidebar similar a WP */
.sidebar {
width: 160px;
@@ -24,12 +28,14 @@
display: flex;
flex-direction: column;
}
.sidebar-header {
padding: 10px 0 10px 20px;
font-weight: 600;
font-size: 14px;
color: #fff;
}
.menu-item {
display: block;
padding: 10px 20px;
@@ -39,13 +45,20 @@
border-left: 4px solid transparent;
cursor: pointer;
}
.menu-item:hover, .menu-item.active {
.menu-item:hover,
.menu-item.active {
background: #2c3338;
color: #72aee6;
border-left-color: #72aee6;
}
.menu-item i { margin-right: 8px; width: 16px; text-align: center; }
.menu-item i {
margin-right: 8px;
width: 16px;
text-align: center;
}
/* Main Content */
.main-content {
flex-grow: 1;
@@ -53,7 +66,7 @@
flex-direction: column;
overflow: hidden;
}
/* Top Bar */
.top-bar {
height: 32px;
@@ -65,27 +78,40 @@
justify-content: space-between;
font-size: 13px;
}
.top-bar a { color: #fff; text-decoration: none; margin-left: 20px; }
.top-bar a:hover { color: #72aee6; }
.top-bar a {
color: #fff;
text-decoration: none;
margin-left: 20px;
}
.top-bar a:hover {
color: #72aee6;
}
/* Content Area */
.wp-content {
.gk-content {
padding: 20px;
overflow-y: auto;
flex-grow: 1;
}
h1 { font-size: 23px; font-weight: 400; margin: 0 0 20px 0; padding: 0; }
h1 {
font-size: 23px;
font-weight: 400;
margin: 0 0 20px 0;
padding: 0;
}
.card {
background: #fff;
border: 1px solid #c3c4c7;
padding: 20px;
margin-bottom: 20px;
max-width: 800px;
box-shadow: 0 1px 1px rgba(0,0,0,.04);
box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}
.welcome-panel {
background: #fff;
padding: 30px;
@@ -95,7 +121,7 @@
justify-content: space-between;
align-items: center;
}
.btn-primary {
background: #2271b1;
border-color: #2271b1;
@@ -107,11 +133,28 @@
cursor: pointer;
display: inline-block;
}
.btn-primary:hover { background: #135e96; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #f0f0f1; }
th { font-weight: 600; }
.btn-primary:hover {
background: #135e96;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
th,
td {
text-align: left;
padding: 10px;
border-bottom: 1px solid #f0f0f1;
}
th {
font-weight: 600;
}
.status-badge {
background: #f0f0f1;
color: #646970;
@@ -120,18 +163,27 @@
font-size: 11px;
font-weight: 600;
}
.status-badge.published { background: #edfaef; color: #008a20; }
.status-badge.pending { background: #fff8e5; color: #996800; }
.status-badge.published {
background: #edfaef;
color: #008a20;
}
.status-badge.pending {
background: #fff8e5;
color: #996800;
}
</style>
<!-- FontAwesome simplificado para iconos -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<!-- Sidebar -->
<div class="sidebar">
<div class="sidebar-header">
<i class="fab fa-wordpress-simple"></i> GKACHELE
<i class="fas fa-cube"></i> GKACHELE
</div>
<a href="#" class="menu-item active"><i class="fas fa-tachometer-alt"></i> Escritorio</a>
<a href="#" class="menu-item"><i class="fas fa-thumbtack"></i> Entradas</a>
@@ -156,45 +208,48 @@
</div>
</div>
<!-- WP Content -->
<div class="wp-content">
<!-- GK Content -->
<div class="gk-content">
<h1>Escritorio</h1>
<div class="welcome-panel">
<div>
<h2 style="margin-top: 0;">¡Te damos la bienvenida a tu panel!</h2>
<p style="color: #646970;">Aquí puedes gestionar todos tus sitios y contenidos de forma profesional.</p>
<p style="color: #646970;">Aquí puedes gestionar todos tus sitios y contenidos de forma profesional.
</p>
</div>
<button class="btn-primary" onclick="window.location.href='/dashboard/create'">+ Crear Nuevo Sitio</button>
<button class="btn-primary" onclick="window.location.href='/dashboard/create'">+ Crear Nuevo
Sitio</button>
</div>
<div class="card">
<h3><i class="fas fa-globe"></i> Tus Sitios Web</h3>
{% if not sites %}
<p>No tienes sitios creados. ¡Empieza ahora!</p>
<p>No tienes sitios creados. ¡Empieza ahora!</p>
{% else %}
<table>
<thead>
<tr>
<th>Nombre (Slug)</th>
<th>Tema</th>
<th>Estado</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
{% for site in sites %}
<tr>
<td><strong>{{ site.slug }}</strong></td>
<td>{{ site.theme }}</td>
<td><span class="status-badge {{ site.status }}">{{ site.status|upper }}</span></td>
<td>
<a href="/customizer/{{ site.id }}" class="btn-primary" style="padding: 4px 8px; font-size: 11px;">Personalizar</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<table>
<thead>
<tr>
<th>Nombre (Slug)</th>
<th>Tema</th>
<th>Estado</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
{% for site in sites %}
<tr>
<td><strong>{{ site.slug }}</strong></td>
<td>{{ site.theme }}</td>
<td><span class="status-badge {{ site.status }}">{{ site.status|upper }}</span></td>
<td>
<a href="/customizer/{{ site.id }}" class="btn-primary"
style="padding: 4px 8px; font-size: 11px;">Personalizar</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
@@ -216,4 +271,5 @@
</div>
</body>
</html>
</html>

File diff suppressed because it is too large Load Diff