This commit is contained in:
theo@manjaro 2021-12-02 20:15:35 +01:00
commit 805022995b
5 changed files with 28 additions and 20 deletions

View File

View File

@ -1,13 +1,17 @@
body { body {
background-color: lightblue;
} }
h1 { h1 {
color: white;
text-align: center;
} }
p { p {
font-family: verdana; }
font-size: 20px;
table, tr, td {
border: 1px solid black;
border-collapse: collapse;
}
.table_key {
font-weight: bold;
} }

View File

@ -2,7 +2,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title> Sauveteurs du dunkerquois</title> <title> Sauveteurs du dunkerquois</title>
<link href="style.css" rel="stylesheet" type="text/css" /> <link href="../static/style.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<center> <center>

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<link href="/static/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Bienvenue !</h1>
<p>Ceci est la page d'accueil !</p>
</body>
</html>

View File

@ -1,12 +1,27 @@
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{nom}} {{prenom}}</title> <title>{{nom}} {{prenom}} - Sauveuteur du dunkerquois</title>
<link href="style.css" rel="stylesheet" type="text/css" /> <link href="../static/style.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<h1>{{nom}}} {{prenom}}</h1> <h1>{{nom}} {{prenom}}</h1>
<table> <table>
<tr>
<td class="table_key">Nom</td><td>{{nom}}</td>
</tr>
<tr>
<td class="table_key">Prénom</td><td>{{prenom}}</td>
</tr>
<tr>
<td class="table_key">Sauvetages effectués</td><td>{{nb_sauvetages}}</td>
</tr>
<tr>
<td class="table_key">Personnes sauvées</td><td>{{nb_sauves}}</td>
</tr>
<tr>
<td class="table_key">Gratifications</td><td>{{gratifications}}</td>
</tr>
</table> </table>
<p></p> <p></p>
</body> </body>