first pass for series data, can save, and shows associated books... Does not deal with series inside series

This commit is contained in:
2020-11-23 18:50:53 +11:00
parent 7bd3ff4c26
commit e7c8e645ae
6 changed files with 184 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
<h3>Books in Series</h1>
<table id="book_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
<thead>
<tr class="thead-light"><th>Title</th><th>Book Number</th></tr>
</thead>
<tbody>
{% for book in books %}
<tr>
{% if book.sub_book_num is defined %}
<td data-sort="{{book.parent_id}}.{{book.sub_book_num}}"><a href="/book/{{book.id}}">&nbsp;&nbsp;&nbsp;&nbsp;{{book.title}}</a></td>
{% else %}
<td data-sort="{{book.id}}"><a href="/book/{{book.id}}">{{book.title}}</a></td>
{% endif %}
<td>not yet:</a></td>
</tr>
{% endfor %}
</tbody>
</table>