Add styles.css

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2022-01-17 20:07:49 +01:00
parent 4df16ec768
commit c238f11015
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
3 changed files with 117 additions and 36 deletions

View file

@ -2,47 +2,47 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style></style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<header>
<h1>My book list</h1>
<p>This page lists all books that I've read since I started tracking them.</p>
</header>
<header>
<h1>My book list</h1>
<p>This page lists all books that I've read since I started tracking them.</p>
</header>
<main>
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Year</th>
<th>Pages</th>
<th>Started</th>
<th>Finished</th>
</tr>
</thead>
<tbody>
{% for book in books %}
<tr>
<td>{{book.title}}</td>
<td>{{book.author}}</td>
<td>{{book.year}}</td>
<td>{{book.pages}}</td>
<td>{{book.startDate}}</td>
<td>{{book.endDate}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</main>
<main>
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Year</th>
<th>Pages</th>
<th>Started</th>
<th>Finished</th>
</tr>
</thead>
<tbody>
{% for book in books %}
<tr>
<td>{{book.title}}</td>
<td>{{book.author}}</td>
<td>{{book.year}}</td>
<td>{{book.pages}}</td>
<td>{{book.startDate}}</td>
<td>{{book.endDate}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</main>
<footer>
Hello World! {{GIT_COMMIT}}
</footer>
<footer>
&copy2022 Severin Kaderli - {{GIT_COMMIT}}
</footer>
</body>
</html>