Cambio de rutas: ahora portada muestra noticias y gestión de feeds pasa a /feeds. Mejoras en navegación y backup.
This commit is contained in:
parent
b3dc6a4ac2
commit
d7cabbb2c6
5 changed files with 222 additions and 61 deletions
|
|
@ -27,9 +27,11 @@
|
|||
</head>
|
||||
<body>
|
||||
<h1>Últimas Noticias Recopiladas</h1>
|
||||
<p><a href="/">← Volver a feeds</a></p>
|
||||
|
||||
<form method="get" action="/noticias">
|
||||
<!-- Enlace de gestión de feeds -->
|
||||
<p><a href="/feeds">⚙️ Gestionar feeds RSS</a></p>
|
||||
|
||||
<form method="get" action="">
|
||||
<select name="categoria_id">
|
||||
<option value="">— Categoría —</option>
|
||||
{% for cid, cnom in categorias %}
|
||||
|
|
@ -45,7 +47,7 @@
|
|||
<select name="pais_id" id="pais_id">
|
||||
<option value="">— País —</option>
|
||||
{% for pid, pnom, contid in paises %}
|
||||
<option value="{{ pid }}"
|
||||
<option value="{{ pid }}"
|
||||
{% if pais_id == pid %}selected{% endif %}
|
||||
{% if cont_id and contid != cont_id %}style="display:none"{% endif %}>
|
||||
{{ pnom }}
|
||||
|
|
@ -77,6 +79,8 @@
|
|||
<li>No hay noticias que mostrar con estos filtros.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p><a href="/feeds">← Volver a gestión de feeds</a></p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue