Compare commits

...

2 Commits

4 changed files with 28 additions and 21 deletions

11
templates/header.html Normal file
View File

@ -0,0 +1,11 @@
<center>
<header id="banner_index">
<img src="../static/icon.png" width="250" height="125">
<h1>Sauveteurs du dunkerquois</h1>
</header>
<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>
<input type="submit" value="Rechercher">
</form>
</center>

View File

@ -6,19 +6,9 @@
<link rel="icon" type="image/png" href="../static/favicon.png" />
</head>
<body>
<header id="banner_index">
<center>
<img src="../static/icon.png" width="250" height="125">
<h1>Sauveteurs du dunkerquois</h1>
</center>
</header>
{% include 'header.html' %}
<br>
<center>
<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>
<input type="submit" value="Rechercher">
</form>
<br>
<div>
<button action="/random">Page au hasard</button>

View File

@ -17,16 +17,7 @@ description
<link rel="icon" type="image/png" href="../static/favicon.png" />
</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>{{description}}</p>

View File

@ -0,0 +1,15 @@
<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>