Finalisation initiale template sauveteur.

This commit is contained in:
Antoine Waehren 2021-12-02 20:12:54 +01:00
parent 782616c5dc
commit c69396b11e
2 changed files with 24 additions and 12 deletions

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,18 +2,26 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{nom}} {{prenom}} - Sauveuteur du dunkerquois</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> <tr>
<td>Nom</td><td>{{nom}}</td> <td class="table_key">Nom</td><td>{{nom}}</td>
</tr> </tr>
<td>Prénom</td><td>{{prenom}}</td> <tr>
<td>Sauvetages effectués</td><td>{{nb_sauvetages}}</td> <td class="table_key">Prénom</td><td>{{prenom}}</td>
<td>Personnes sauvées</td><td>{{nb_sauves}}</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>