From c30dfa41fb9c762aa37a91247a4a4a2c0ce17672 Mon Sep 17 00:00:00 2001 From: Guamss Date: Wed, 25 Feb 2026 12:05:20 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20banni=C3=A8re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/myalbum/static/styles/style.css | 14 ++++++++++++++ src/myalbum/templates/index.html | 25 ++++++++++++++++--------- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/myalbum/static/styles/style.css b/src/myalbum/static/styles/style.css index 1731284..6cb7188 100644 --- a/src/myalbum/static/styles/style.css +++ b/src/myalbum/static/styles/style.css @@ -6,6 +6,20 @@ font-family: "Roboto", sans-serif; } +.banner { + border: 1px solid black; + margin-bottom: 2rem; +} + +.banner-body { + text-align: center; +} + +.banner-header { + padding-left: 1rem; + border-bottom: 1px solid black; +} + main { display: flex; flex-direction: column; diff --git a/src/myalbum/templates/index.html b/src/myalbum/templates/index.html index 64a9ab4..71cf537 100644 --- a/src/myalbum/templates/index.html +++ b/src/myalbum/templates/index.html @@ -11,18 +11,25 @@
-

Note : Toutes les personnes présentes sur les photos consentent à apparaître sur cette page

+

+ Note : Toutes les personnes présentes sur les photos consentent à + apparaître sur cette page +

{% for photo in photos %} - + {{ photo.name }} {{ i + 1 }} - {% endfor %} {% if num_page < (nbr_page) %} + {% endfor %} {% if num_page < nbr_page %} > {% endif %}