2020-12-21 18:41:55 +01:00
|
|
|
{% block menu %}
|
2020-12-29 22:56:28 +01:00
|
|
|
<button id="leftmostbtn" onclick="filterSelection('all')">All books</button>
|
2020-12-21 19:54:55 +01:00
|
|
|
<button><a href="/upload">Upload</a></button>
|
2020-12-21 18:41:55 +01:00
|
|
|
<div class="dropdown">
|
2020-12-30 00:06:45 +01:00
|
|
|
<button id="PubType" class="dropbtn">Type</button>
|
2020-12-21 18:41:55 +01:00
|
|
|
<div class="dropdown-content">
|
|
|
|
{% for pubtype in pubtypes %}
|
2020-12-30 00:06:45 +01:00
|
|
|
<button type="button" name="button" onclick="filterSelection('{{ pubtype }}', 'PubType')" >{{ pubtype.title() }}</button>
|
2020-12-21 18:41:55 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-21 19:26:12 +01:00
|
|
|
<div class="dropdown">
|
2020-12-30 00:06:45 +01:00
|
|
|
<button id="Year" class="dropbtn">Year</button>
|
2020-12-21 19:26:12 +01:00
|
|
|
<div class="dropdown-content">
|
|
|
|
{% for pubyear in pubyears %}
|
2020-12-30 00:06:45 +01:00
|
|
|
<button type="button" name="button" onclick="filterSelection('{{ pubyear }}', 'Year')" >{{ pubyear }}</button>
|
2020-12-21 19:26:12 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-29 22:56:28 +01:00
|
|
|
<div class="dropdown">
|
2020-12-30 00:06:45 +01:00
|
|
|
<button id="License" class="dropbtn">License</button>
|
2020-12-29 22:56:28 +01:00
|
|
|
<div class="dropdown-content">
|
|
|
|
{% for publicense in publicenses %}
|
2020-12-30 00:06:45 +01:00
|
|
|
<button type="button" name="button" onclick="filterSelection('{{ publicense }}', 'License')" >{{ publicense }}</button>
|
2020-12-29 22:56:28 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-05 20:18:28 +02:00
|
|
|
<div class="dropdown">
|
|
|
|
<input id="tagsearch" type="text" placeholder="🔍 Search..">
|
|
|
|
</div>
|
2020-12-21 18:41:55 +01:00
|
|
|
{% endblock menu %}
|