Initial commit
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
commit
71c14cae9d
3 changed files with 107 additions and 0 deletions
48
templates/index.html
Normal file
48
templates/index.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style></style>
|
||||
</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>
|
||||
Hello World! {{GIT_COMMIT}}
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue