first pass at a token navbar experience

This commit is contained in:
2020-11-13 17:55:48 +11:00
parent 77fd5619f6
commit 5fd4479555
3 changed files with 17 additions and 10 deletions

View File

@@ -1,9 +1,13 @@
<html>
<body>
<h1>authors</h1>
{% for author in authors %}
<p>{{author.surname}}, {{author.firstnames}}</p>
{% endfor %}
</body>
</html>
<h3>Authors</h3>
<table id="book_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
<thead>
<tr class="thead-light"><th>Surname</th><th>Firstname(s)</th><th>Action</th></tr>
</thead>
<tbody>
{% for author in authors %}
<tr><td>{{author.surname}}</td><td>{{author.firstnames}}</td><td>
icons for: E, D
</td></tr>
{% endfor %}
</tbody>
</table>