2024-03-30 11:14:30 +01:00
|
|
|
|
2020-12-11 16:54:09 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block main %}
|
2023-12-01 15:58:33 +01:00
|
|
|
<nav id="nav" class="container">
|
2020-12-21 18:41:55 +01:00
|
|
|
{% include 'menu.html' %}
|
2023-12-01 15:58:33 +01:00
|
|
|
</nav>
|
2024-03-30 12:00:47 +01:00
|
|
|
<div id="auth_buttons">
|
|
|
|
{% if not current_user.is_authenticated %}
|
|
|
|
<div class="signin">
|
|
|
|
<a href="/login">
|
2024-03-30 13:40:07 +01:00
|
|
|
<svg class="feather">
|
|
|
|
<use href="{{ url_for('static', filename='icons/users-feather-sprite.svg')+ '#log-in'}}" />
|
|
|
|
</svg>
|
|
|
|
Sign in
|
2024-03-30 12:00:47 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="signin">
|
|
|
|
<a href="/register">
|
2024-03-30 13:40:07 +01:00
|
|
|
<svg class="feather">
|
|
|
|
<use href="{{ url_for('static', filename='icons/users-feather-sprite.svg') + '#user-plus'}}" />
|
|
|
|
</svg>
|
|
|
|
Register
|
2024-03-30 12:00:47 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="logout">
|
|
|
|
<a href="/logout">
|
2024-03-30 13:40:07 +01:00
|
|
|
<svg class="feather">
|
|
|
|
<use href="{{ url_for('static', filename='icons/users-feather-sprite.svg') + '#log-out'}}" />
|
|
|
|
</svg>
|
|
|
|
Sign out
|
2024-03-30 12:00:47 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</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() %}
|
2023-07-14 21:16:30 +02:00
|
|
|
<div id="{{ id }}" class='book filter {{ pubinfo["Type"] }} {{ pubinfo["Year"] }} {{ pubinfo["License"] }}'>
|
2021-01-09 20:52:31 +01:00
|
|
|
<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>
|
2023-12-01 15:58:33 +01:00
|
|
|
<td class="author">Author/Editor:</td>
|
2021-01-09 20:52:31 +01:00
|
|
|
<td>{{ pubinfo["Author"] }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2023-12-01 15:58:33 +01:00
|
|
|
<td class="title">Title:</td>
|
2024-03-30 13:40:07 +01:00
|
|
|
<td><a href='{{ id }}'>{{ pubinfo["Title"] }}</a></td>
|
2021-01-09 20:52:31 +01:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</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>
|
2023-07-12 21:09:22 +02:00
|
|
|
<script src="{{ url_for('static', filename='js/search.js')}}"></script>
|
|
|
|
|
2020-12-11 16:54:09 +01:00
|
|
|
{% endblock %}
|