2020-12-11 16:54:09 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block main %}
|
2020-12-21 18:41:55 +01:00
|
|
|
<div id="nav" class="container">
|
|
|
|
{% include 'menu.html' %}
|
|
|
|
</div>
|
2021-01-09 20:52:31 +01:00
|
|
|
<div id="bookshelf">
|
2020-12-21 18:41:55 +01:00
|
|
|
{% for id, pubinfo in publications.items() %}
|
2021-01-09 20:52:31 +01:00
|
|
|
<div class='book filter {{ pubinfo["Type"] }} {{ pubinfo["Year"] }} {{ pubinfo["License"] }}'>
|
|
|
|
<a href='{{ id }}'>
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
{%if pubinfo["Image"]%}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" class="tdimage">
|
|
|
|
<img src="{{ url_for('static', filename='images/image-{0}.jpg'.format(id))}}" alt="">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
|
|
|
<tr>
|
|
|
|
<td>Author/Editor</td>
|
|
|
|
<td>{{ pubinfo["Author"] }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Title</td>
|
|
|
|
<td>{{ pubinfo["Title"] }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</a>
|
|
|
|
</div>
|
2020-12-11 16:54:09 +01:00
|
|
|
{% endfor%}
|
2020-12-21 18:41:55 +01:00
|
|
|
</div>
|
2020-12-30 00:06:45 +01:00
|
|
|
<script src="{{ url_for('static', filename='js/dropdown.js')}}"></script>
|
2020-12-11 16:54:09 +01:00
|
|
|
{% endblock %}
|