completed TODOs 13, 14, 15, 16 - views of subsets of books. Added 2 new TODOs to enhance their output / make the views better

This commit is contained in:
2021-01-09 01:13:26 +11:00
parent a6211928df
commit cd7a77ff6b
5 changed files with 59 additions and 16 deletions

16
templates/missing.html Normal file
View File

@@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block main_content %}
<h3>Missing Books</h3>
<table id="missing_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
<thead>
<tr class="thead-light"><th>Books</th><th>Series</th><th>Number of Books in Series</th></tr>
</thead>
<tbody>
{% for obj in books %}
<tr><td>{{obj.missing}}</td><td><a href="{{url_for('series', id=obj.id )}}">{{obj.title}}</a></td><td>{{obj.num_books}}</td></tr>
{% endfor %}
</tbody>
</table>
{% endblock main_content %}