Actualización del 2025-06-15 a las 19:26:12

This commit is contained in:
jlimolina 2025-06-15 19:26:12 +02:00
parent d23754d3b8
commit 603149d47a
9 changed files with 350 additions and 122 deletions

View file

@ -9,7 +9,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
/* --- Variables Globales de Diseño --- */
:root {
@ -69,6 +69,7 @@
.btn:hover, button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); text-decoration: none; }
.btn-secondary { background: #34495e; } .btn-secondary:hover { background: #2c3e50; }
.btn-info { background: #17a2b8; } .btn-info:hover { background: #138496; }
.btn-danger { background: #dc3545; } .btn-danger:hover { background: #c82333; }
.btn-small { padding: 6px 14px; font-size: 0.9rem; }
a { color: var(--secondary-color); text-decoration: none; font-weight: 500; } a:hover { text-decoration: underline; }
.top-link { display: inline-block; margin-bottom: 25px; font-weight: 500; color: var(--primary-color); }
@ -110,7 +111,7 @@
.feed-body dt { font-weight: 600; color: var(--text-color-light); }
.feed-body dd { margin: 0; word-break: break-all; }
/* --- NUEVOS ESTILOS PARA LA NAVEGACIÓN PRINCIPAL --- */
/* --- Estilos para la Navegación Principal --- */
.main-nav {
display: flex;
justify-content: center;
@ -136,7 +137,7 @@
.nav-actions {
display: flex;
gap: 10px;
margin-left: 20px; /* Espacio entre los enlaces y los botones */
margin-left: 20px;
}
/* --- Responsividad --- */
@ -163,10 +164,10 @@
<a href="{{ url_for('home') }}" class="nav-link">Noticias</a>
<a href="{{ url_for('dashboard') }}" class="nav-link">Dashboard</a>
<a href="{{ url_for('manage_feeds') }}" class="nav-link">Gestionar Feeds</a>
<a href="{{ url_for('manage_urls') }}" class="nav-link">Gestionar URLs</a>
<div class="nav-actions">
<a href="{{ url_for('add_feed') }}" class="btn btn-small">Añadir Feed</a>
<a href="{{ url_for('add_url') }}" class="btn btn-small btn-info">Añadir URL</a>
<a href="{{ url_for('scrape_url') }}" class="btn btn-small btn-info">Procesar URL</a>
</div>
</nav>
</header>