Add styles.css
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
4df16ec768
commit
c238f11015
3 changed files with 117 additions and 36 deletions
|
@ -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>
|
||||
©2022 Severin Kaderli - {{GIT_COMMIT}}
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue