Maj avec templates head, header, smallheader dans toutes les pages.

Maj style dark.
This commit is contained in:
Antoine Waehren 2021-12-03 04:20:23 +01:00
parent 11cadfd553
commit df874bcd13
12 changed files with 42 additions and 92 deletions

View File

@ -23,7 +23,7 @@ table, tr, td {
} }
#banner { #banner {
background-color: #dfcba8; background-color: #a36f13;
margin-left: calc(-50vw + 50%); margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
margin-top: calc(-50vw + 50%); margin-top: calc(-50vw + 50%);
@ -34,7 +34,7 @@ table, tr, td {
} }
#banner_index { #banner_index {
background-color: #dfcba8; background-color: #a36f13;
margin-left: calc(-50vw + 50%); margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%); margin-right: calc(-50vw + 50%);
margin-top: calc(-50vw + 50%); margin-top: calc(-50vw + 50%);

View File

@ -8,23 +8,13 @@ condamnation
origine origine
histoire histoire
!--> !-->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <html>
<head>
<title>{{nom}} - Sauveuteurs du dunkerquois</title> <title>{{nom}} - Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css"> {% include 'head.html' %}
<link href="file:///C:/Users/rugja/Marin/templates/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<header id="banner"> {% include "smallheader.html" %}
<img src="../static/icon.png" width="150" height="75">
<span id="logo_title">Sauveuteurs du dunkerquois</span>
</header>
<br>
<a href="https://www.google.com/">Proposer une modification</a>
<form class="searchbar" method=get>
<input type="text" placeholder="Saisissez votre recherche..." size=20>
<input type="submit" value="Rechercher">
</form>
<h1>{{nom}}}</h1> <h1>{{nom}}}</h1>
<div class="flexbox"> <div class="flexbox">
<p>{{HistoireBateau}}</p> <p>{{HistoireBateau}}</p>

View File

@ -1,16 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8">
<title>404 Not Found - Sauveuteurs du dunkerquois</title> <title>404 Not Found - Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css" /> {% include 'head.html' %}
<link rel="icon" type="image/png" href="../static/favicon.png" />
</head> </head>
<body> <body>
<header id="banner"> {% include 'smallheader.html' %}
<img src="../static/icon.png" width="150" height="75">
<span id="logo_title">Sauveuteurs du dunkerquois</span>
</header>
<h1>Page introuvable !</h1> <h1>Page introuvable !</h1>
<p>Retour à <a href="/home">la page d'accueil</a>.</p> <p>Retour à <a href="/home">la page d'accueil</a>.</p>
</body> </body>

View File

@ -4,12 +4,11 @@ date
evenement evenement
!--> !-->
<!-- saved from url=(0055)file:///C:/Users/rugja/Marin/templates/bateau_temp.html --> <!-- saved from url=(0055)file:///C:/Users/rugja/Marin/templates/bateau_temp.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <html><head>
<title>{{siecle}}- Sauveuteurs du dunkerquois</title>
<title>{{siecle}}- Sauveteurs du dunkerquois</title> {% include 'head.html' %}
<link href="../static/style.css" rel="stylesheet" type="text/css"> </head>
</head>
<body> <body>
{% include "smallheader.html" %} {% include "smallheader.html" %}
<h1>{{siecle}}</h1> <h1>{{siecle}}</h1>
</body></html> </body></html>

3
templates/head.html Normal file
View File

@ -0,0 +1,3 @@
<meta charset="utf-8">
<link href="../static/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="../static/favicon.png" />

View File

@ -3,6 +3,7 @@
<img src="../static/icon.png" width="250" height="125"> <img src="../static/icon.png" width="250" height="125">
<h1>Sauveteurs du dunkerquois</h1> <h1>Sauveteurs du dunkerquois</h1>
</header> </header>
<br>
<form action="/search" method="post"> <form action="/search" method="post">
<label for="search">Recherche :</label> <label for="search">Recherche :</label>
<input type="text" name="search" value="" placeholder="Rechercher des sauveteurs, des bateaux, des expéditions..." size="40" required> <input type="text" name="search" value="" placeholder="Rechercher des sauveteurs, des bateaux, des expéditions..." size="40" required>

View File

@ -1,12 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<meta charset="utf-8">
<title>Sauveteurs du dunkerquois</title> <title>Sauveteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css" /> {% include 'head.html' %}
<link rel="icon" type="image/png" href="../static/favicon.png" />
</head> </head>
<body> <body>
{% include 'header.html' %} {% include 'header.html' %}
<br> <br>
<center> <center>
<br> <br>

View File

@ -7,22 +7,12 @@ place
histoire histoire
!--> !-->
<!-- saved from url=(0055)file:///C:/Users/rugja/Marin/templates/bateau_temp.html --> <!-- saved from url=(0055)file:///C:/Users/rugja/Marin/templates/bateau_temp.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <html><head>
<title>{{nom}}{{prenom}}- Sauveuteurs du dunkerquois</title> <title>{{nom}}{{prenom}}- Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css"> {% include 'head.html' %}
</head> </head>
<body> <body>
<header id="banner"> {% include "smallheader.html" %}
<img src="../static/icon.png" width="150" height="75">
<span id="logo_title">Sauveuteurs du dunkerquois</span>
</header>
<br>
<a href="https://www.google.com/">Proposer une modification</a>
<form class="searchbar" method=get>
<input type="text" placeholder="Saisissez votre recherche..." size=20>
<input type="submit" value="Rechercher">
</form>
<h1>{{nom}}}{{prenom}}</h1> <h1>{{nom}}}{{prenom}}</h1>
<div class="flexbox"> <div class="flexbox">
<p>{{histoire}}</p> <p>{{histoire}}</p>
@ -48,4 +38,4 @@ histoire
</body></html> </body></html>

View File

@ -11,10 +11,8 @@ description
!--> !-->
<head> <head>
<meta charset="utf-8">
<title>{{nom}} {{prenom}} - Sauveuteurs du dunkerquois</title> <title>{{nom}} {{prenom}} - Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css" /> {% include 'head.html' %}
<link rel="icon" type="image/png" href="../static/favicon.png" />
</head> </head>
<body> <body>
{% include "smallheader.html" %} {% include "smallheader.html" %}

View File

@ -1,20 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<meta charset="utf-8"> <title>Recherche - Sauveuteurs du dunkerquois</title>
<title>{{nom}} {{prenom}} - Sauveuteurs du dunkerquois</title> {% include 'head.html' %}
<link href="../static/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="../static/favicon.png" />
</head> </head>
<body> <body>
<header id="banner"> {% include "smallheader.html" %}
<img src="../static/icon.png" width="150" height="75">
<span id="logo_title">Sauveuteurs du dunkerquois</span>
</header>
<br>
<form class="searchbar" method=get>
<input type="text" placeholder="Saisissez votre recherche..." size=20>
<input type="submit" value="Rechercher">
</form>
<h1>Résultats de la recherche :</h1> <h1>Résultats de la recherche :</h1>
<center> <center>
<table id="searchresults"> <table id="searchresults">

View File

@ -1,15 +1,11 @@
<center> <a id="homeref" href="/home/">
<a href="/home/"> <header id="banner">
<header id="banner"> <img src="../static/icon.png" width="150" height="75">
<img src="../static/icon.png" width="150" height="75"> <span id="logo_title">Sauveuteurs du dunkerquois</span>
<span id="logo_title">Sauveuteurs du dunkerquois</span> </header></a>
</header></a> <br>
<br> <a href="https://www.google.com/">Proposer une modification</a>
<a href="https://www.google.com/">Proposer une modification</a> <form action="/search" class="searchbar" method="post">
<span> <input type="text" name="search" value="" placeholder="Rechercher des sauveteurs, des bateaux, des expéditions..." size="40" required>
<form action="/search" method="post"> <input type="submit" value="Rechercher">
<input type="text" name="search" value="" placeholder="Rechercher des sauveteurs, des bateaux, des expéditions..." size="40" required> </form>
<input type="submit" value="Rechercher">
</form>
</span>
</center>

View File

@ -5,22 +5,12 @@ date
evenement evenement
!--> !-->
<!-- saved from url=(0055)file:///C:/Users/rugja/Marin/templates/bateau_temp.html --> <!-- saved from url=(0055)file:///C:/Users/rugja/Marin/templates/bateau_temp.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <html><head>
<title>{{nom}} - Sauveuteurs du dunkerquois</title> <title>{{nom}} - Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css"> {% include 'head.html' %}
</head> </head>
<body> <body>
<header id="banner"> {% include "smallheader.html" %}
<img src="../static/icon.png" width="150" height="75">
<span id="logo_title">Sauveuteurs du dunkerquois</span>
</header>
<br>
<a href="https://www.google.com/">Proposer une modification</a>
<form class="searchbar" method=get>
<input type="text" placeholder="Saisissez votre recherche..." size=20>
<input type="submit" value="Rechercher">
</form>
<h1>{{nom}}</h1> <h1>{{nom}}</h1>
<div class="flexbox"> <div class="flexbox">
<table> <table>
@ -41,4 +31,4 @@ evenement
<td>{{Evenement}}</td> <td>{{Evenement}}</td>
</tr> </tr>
</tbody></table> </tbody></table>
</body></html> </body></html>