added tiny thumbnails to person list
This commit is contained in:
@@ -4,12 +4,18 @@
|
|||||||
<h3>Show All People</h3>
|
<h3>Show All People</h3>
|
||||||
<table id="person_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
|
<table id="person_table" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="thead-light"><th>Tag</th><th>Firstname(s)</th><th>Surname</th></tr>
|
<tr class="thead-light"><th>Tag</th><th>Firstname(s)</th><th>Surname</th><th></th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for person in persons %}
|
{% for person in persons %}
|
||||||
<tr><td><a href="{{url_for('person', id=person.id )}}">{{person.tag}}</td><td>{{person.firstname}}</td>
|
<tr><td><a href="{{url_for('person', id=person.id )}}">{{person.tag}}</td><td>{{person.firstname}}</td>
|
||||||
<td>{{person.surname}}</td></tr>
|
<td>{{person.surname}}</td>
|
||||||
|
<td>
|
||||||
|
{% for refimg in person.refimg %}
|
||||||
|
<img height=24 src="data:image/jpeg;base64,{{refimg.thumbnail}}";</img>
|
||||||
|
{% endfor %}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user