tellicoViewer/templates/main.html

19 lines
467 B
HTML

<!doctype html>
<title>Test App</title>
<table border="1">
<tr>
<th> cover </th>
{% for datum in attributes %}
<th> {{ datum }} </th>
{% endfor %}
</tr>
{% for book in books %}
<tr>
<td> <img height="100px" width="50px" src="{{ url_for('static', filename="library_files/" + book["image"]) }}"> </td>
{% for datum in attributes %}
<td> <a href="/book/{{book["id"]}}"> {{ book[datum] }} </a> </td>
{% endfor %}
</tr>
{% endfor %}
</table>