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 {
background-color: #dfcba8;
background-color: #a36f13;
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: #dfcba8;
background-color: #a36f13;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
margin-top: calc(-50vw + 50%);

View File

@ -8,23 +8,13 @@ condamnation
origine
histoire
!-->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<html>
<head>
<title>{{nom}} - Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css">
<link href="file:///C:/Users/rugja/Marin/templates/style.css" rel="stylesheet" type="text/css">
{% include 'head.html' %}
</head>
<body>
<header id="banner">
<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>
{% include "smallheader.html" %}
<h1>{{nom}}}</h1>
<div class="flexbox">
<p>{{HistoireBateau}}</p>

View File

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

View File

@ -4,12 +4,11 @@ date
evenement
!-->
<!-- 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">
<title>{{siecle}}- Sauveteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css">
</head>
<html><head>
<title>{{siecle}}- Sauveuteurs du dunkerquois</title>
{% include 'head.html' %}
</head>
<body>
{% include "smallheader.html" %}
<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">
<h1>Sauveteurs du dunkerquois</h1>
</header>
<br>
<form action="/search" method="post">
<label for="search">Recherche :</label>
<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>
<head>
<meta charset="utf-8">
<title>Sauveteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="../static/favicon.png" />
{% include 'head.html' %}
</head>
<body>
{% include 'header.html' %}
{% include 'header.html' %}
<br>
<center>
<br>

View File

@ -7,22 +7,12 @@ place
histoire
!-->
<!-- 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>
<link href="../static/style.css" rel="stylesheet" type="text/css">
{% include 'head.html' %}
</head>
<body>
<header id="banner">
<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>
{% include "smallheader.html" %}
<h1>{{nom}}}{{prenom}}</h1>
<div class="flexbox">
<p>{{histoire}}</p>
@ -48,4 +38,4 @@ histoire
</body></html>
</body></html>

View File

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

View File

@ -1,20 +1,10 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>{{nom}} {{prenom}} - Sauveuteurs du dunkerquois</title>
<link href="../static/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="../static/favicon.png" />
<title>Recherche - Sauveuteurs du dunkerquois</title>
{% include 'head.html' %}
</head>
<body>
<header id="banner">
<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>
{% include "smallheader.html" %}
<h1>Résultats de la recherche :</h1>
<center>
<table id="searchresults">

View File

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

View File

@ -5,22 +5,12 @@ date
evenement
!-->
<!-- 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>
<link href="../static/style.css" rel="stylesheet" type="text/css">
{% include 'head.html' %}
</head>
<body>
<header id="banner">
<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>
{% include "smallheader.html" %}
<h1>{{nom}}</h1>
<div class="flexbox">
<table>
@ -41,4 +31,4 @@ evenement
<td>{{Evenement}}</td>
</tr>
</tbody></table>
</body></html>
</body></html>