books.kaderli.dev/templates/index.html
Severin Kaderli c238f11015
Add styles.css
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
2022-01-17 20:07:49 +01:00

48 lines
984 B
HTML

<!DOCTYPE html>
<html>
<head>
<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>
<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>
&copy2022 Severin Kaderli - {{GIT_COMMIT}}
</footer>
</body>
</html>