split out old books into book and books.html, all *.html now using extends and {% block %} in jinja2. So navbar is now present in all URLs
This commit is contained in:
@@ -4,13 +4,11 @@
|
||||
<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>
|
||||
<tr class="thead-light"><th>Surname</th><th>Firstname(s)</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for author in authors %}
|
||||
<tr><td>{{author.surname}}</td><td>{{author.firstnames}}</td><td>
|
||||
icons for: E, D
|
||||
</td></tr>
|
||||
<tr><td><a href="{{url_for('author', id=author.id )}}">{{author.surname}}</a></td><td>{{author.firstnames}}</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user