From 91cc6a44c7c58bccdde48b2cb3624f4857deed93 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Mon, 5 Aug 2024 13:44:28 +0200 Subject: [PATCH] Sigo aplicando portal --- Libros/biblioteca/db.sqlite3 | Bin 147456 -> 147456 bytes .../templates/gestion/lista_autores.html | 90 ++++++++++++++---- 2 files changed, 71 insertions(+), 19 deletions(-) diff --git a/Libros/biblioteca/db.sqlite3 b/Libros/biblioteca/db.sqlite3 index 4e6304f666ab08562afb0897816877835e4942f8..9d40bdb2d7f6050f9815b07748c533df69d6426e 100644 GIT binary patch delta 53 zcmV-50LuS>fC+$r36L8BGLalZ0Wz^*qK^vA009rE01v1S&9f13oDY+zpCtqU001+Q LfiHrfrl0|!%|a2^ delta 85 zcmV-b0IL6hfC+$r36L8BF_9cY0Wq;)qK^vg00IxF01v1S&9f13oDY+zpCu$70tEmS r6ERe2Zf|5{WMOr5Z*paGFJxhEX=Q9KYH()&000w%@t?Qxp8*e`p=BKi diff --git a/Libros/biblioteca/gestion/templates/gestion/lista_autores.html b/Libros/biblioteca/gestion/templates/gestion/lista_autores.html index 83e5d0a..4797171 100644 --- a/Libros/biblioteca/gestion/templates/gestion/lista_autores.html +++ b/Libros/biblioteca/gestion/templates/gestion/lista_autores.html @@ -1,19 +1,71 @@ - - - - Lista de Autores - - -

Lista de Autores

- Nuevo Autor - - - +{% extends 'base.html' %} + +{% block content %} +
+ +
+
+

Autores

+
+
+
+
+
+ +
+
+
+ +
+ {% for autor in autores %} +
+
+
+ + {% if autor.foto %} + Foto del autor + {% else %} + Sin imágen + {% endif %} +

{{ autor.nombre}}

+ +
+ +
+ +
+
+
+ {% endfor %} +
+
+{% endblock %} \ No newline at end of file