From bd1d21c31886b7bfcd102cf7bd60ef7cad3039ad Mon Sep 17 00:00:00 2001 From: "theo@manjaro" Date: Fri, 3 Dec 2021 04:58:39 +0100 Subject: [PATCH 1/9] Remise du fichier erreur --- templates/error.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/error.html diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 0000000..674979b --- /dev/null +++ b/templates/error.html @@ -0,0 +1,18 @@ + + + + + 404 Not Found - Sauveuteurs du dunkerquois + + + + + +

Page introuvable !

+

Retour à la page d'accueil.

+ + + From 91d680148be23f0d963e94bc16bd2af278e82c44 Mon Sep 17 00:00:00 2001 From: Antoine Waehren Date: Fri, 3 Dec 2021 05:12:15 +0100 Subject: [PATCH 2/9] =?UTF-8?q?Mis=20=C3=A0=20jour=20du=20style=20dark.=20?= =?UTF-8?q?D=C3=A9finition=20du=20style=20dark=20par=20d=C3=A9faut.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/style.css | 3 +++ static/style_dark.css | 21 ++++++++++++++++++--- templates/head.html | 2 +- templates/header.html | 3 ++- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/static/style.css b/static/style.css index 75b7dcc..434d4a8 100644 --- a/static/style.css +++ b/static/style.css @@ -41,8 +41,11 @@ table, tr, td { } #logo_title { + padding-top: 10px; + padding-bottom: 10px; font-weight: bold; font-size: 30px; + color: black; } #searchresults { diff --git a/static/style_dark.css b/static/style_dark.css index eaee40d..9a2c889 100644 --- a/static/style_dark.css +++ b/static/style_dark.css @@ -1,5 +1,5 @@ body { - background: black; + background: #313131; font-family: arial; color: white; } @@ -23,7 +23,7 @@ table, tr, td { } #banner { - background-color: #a36f13; + background-color: #9C7228; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); margin-top: calc(-50vw + 50%); @@ -34,7 +34,7 @@ table, tr, td { } #banner_index { - background-color: #a36f13; + background-color: #9C7228; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); margin-top: calc(-50vw + 50%); @@ -43,8 +43,15 @@ table, tr, td { } #logo_title { + padding-top: 10px; + padding-bottom: 10px; font-weight: bold; font-size: 30px; + color: white; +} + +#searchresults { + width: 75%; } .searchbar { @@ -55,3 +62,11 @@ table, tr, td { .right-align { margin-left: auto; } + +a:link { +color: #8F9BFF; +} + +a:visited { +color: #9BA6FF; +} diff --git a/templates/head.html b/templates/head.html index fbbdfb6..05ae535 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,3 +1,3 @@ - + diff --git a/templates/header.html b/templates/header.html index d17926b..83c4f40 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,7 +1,8 @@

From 020b2829087e0f7ae3f35dce0102e47770d770fa Mon Sep 17 00:00:00 2001 From: Antoine Waehren Date: Fri, 3 Dec 2021 05:17:01 +0100 Subject: [PATCH 3/9] Nettoyage du code. --- templates/expedition.html | 10 +++------- templates/sauvees.html | 14 ++------------ templates/sauveteur.html | 11 ----------- templates/station.html | 16 ++++++---------- 4 files changed, 11 insertions(+), 40 deletions(-) diff --git a/templates/expedition.html b/templates/expedition.html index dd7b5b4..61a2e30 100644 --- a/templates/expedition.html +++ b/templates/expedition.html @@ -1,14 +1,10 @@ - - {{siecle}}- Sauveuteurs du dunkerquois {% include 'head.html' %} {% include "smallheader.html" %} -

{{siecle}}

- +

{{siecle}}

+ + diff --git a/templates/sauvees.html b/templates/sauvees.html index 4ed38e0..0d0f56b 100644 --- a/templates/sauvees.html +++ b/templates/sauvees.html @@ -1,12 +1,4 @@ - - {{nom}}{{prenom}}- Sauveuteurs du dunkerquois {% include 'head.html' %} @@ -35,7 +27,5 @@ histoire {{place}} - - - - + + diff --git a/templates/sauveteur.html b/templates/sauveteur.html index 5880cfa..671cea6 100644 --- a/templates/sauveteur.html +++ b/templates/sauveteur.html @@ -1,15 +1,4 @@ - - {{nom}} {{prenom}} - Sauveuteurs du dunkerquois {% include 'head.html' %} diff --git a/templates/station.html b/templates/station.html index df5bbf0..088f64c 100644 --- a/templates/station.html +++ b/templates/station.html @@ -1,17 +1,11 @@ - - {{nom}} - Sauveuteurs du dunkerquois {% include 'head.html' %} {% include "smallheader.html" %} -

{{nom}}

+

{{nom}}

@@ -22,7 +16,7 @@ evenement - +
Date {{Annee}}