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:
16
templates/missing.html
Normal file
16
templates/missing.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user