first pass for series data, can save, and shows associated books... Does not deal with series inside series
This commit is contained in:
16
templates/seriess.html
Normal file
16
templates/seriess.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block main_content %}
|
||||
<h3>Series</h3>
|
||||
<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>Number of Books</th><th>Rating (average)</th><th>Notes</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for series in seriess %}
|
||||
<tr><td><a href="{{url_for('series', id=series.id )}}">{{series.title}}</a></td><td>{{series.num_books}}</td><td>{{series.calcd_rating}}</td>
|
||||
<td>{{series.note}}</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock main_content %}
|
||||
Reference in New Issue
Block a user