From f9d8c1c9f2bb2434b756494c24afe12afad35800 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Wed, 11 Sep 2024 16:27:22 +0200 Subject: [PATCH] Cada app tiene su menu personalizado --- ReyMotaAppsDj/reymota/templates/base.html | 19 +++----- .../templates/libros/_menu-libros.html | 21 +++++++++ .../templates/libros/detalle_autor.html | 6 +++ .../templates/libros/detalle_libro.html | 7 ++- .../reymota/templates/libros/form_autor.html | 6 +++ .../reymota/templates/libros/form_libro.html | 6 +++ .../reymota/templates/libros/index.html | 45 +++---------------- .../templates/libros/lista_autores.html | 8 +++- .../templates/libros/lista_libros.html | 7 ++- .../templates/lyrics/_menu-lyrics.html | 34 ++++++++++++++ .../templates/lyrics/detalle_album.html | 7 ++- .../templates/lyrics/detalle_artista.html | 6 +++ .../templates/lyrics/detalle_song.html | 7 ++- .../reymota/templates/lyrics/form_album.html | 6 +++ .../templates/lyrics/form_artista.html | 6 +++ .../reymota/templates/lyrics/form_song.html | 6 +++ .../reymota/templates/lyrics/index.html | 43 +++--------------- .../templates/lyrics/lista_albumes.html | 7 ++- .../templates/lyrics/lista_artistas.html | 6 +++ .../reymota/templates/lyrics/lista_songs.html | 9 +++- .../repostajes/_menu-repostajes.html | 23 ++++++++++ .../repostajes/detalle_repostaje.html | 7 ++- .../repostajes/detalle_vehiculo.html | 6 +++ .../templates/repostajes/form_repostaje.html | 6 +++ .../templates/repostajes/form_vehiculo.html | 6 +++ .../reymota/templates/repostajes/index.html | 30 +++---------- .../repostajes/lista_repostajes.html | 7 ++- .../templates/repostajes/lista_vehiculos.html | 6 +++ 28 files changed, 232 insertions(+), 121 deletions(-) create mode 100644 ReyMotaAppsDj/reymota/templates/libros/_menu-libros.html create mode 100644 ReyMotaAppsDj/reymota/templates/lyrics/_menu-lyrics.html create mode 100644 ReyMotaAppsDj/reymota/templates/repostajes/_menu-repostajes.html diff --git a/ReyMotaAppsDj/reymota/templates/base.html b/ReyMotaAppsDj/reymota/templates/base.html index c211614..849a901 100644 --- a/ReyMotaAppsDj/reymota/templates/base.html +++ b/ReyMotaAppsDj/reymota/templates/base.html @@ -15,19 +15,14 @@ - {% block menuapp %} -
- -
- - {% endblock menuapp %} -
+ {% block menuapp %} + + + + {% endblock menuapp %} +