tellicoViewer/templates/main.html

19 lines
467 B
HTML
Raw Normal View History

2015-08-08 19:30:45 -04:00
<!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["cover"]) }}"> </td>
2015-08-08 19:30:45 -04:00
{% for datum in attributes %}
<td> <a href="/book/{{book["id"]}}"> {{ book[datum] }} </a> </td>
{% endfor %}
</tr>
{% endfor %}
</table>