21 lines
713 B
HTML
21 lines
713 B
HTML
{% block menu %}
|
|
<button onclick="filterSelection('all')">All books</button>
|
|
<button><a href="/upload">Upload</a></button>
|
|
<div class="dropdown">
|
|
<button class="dropbtn">Type</button>
|
|
<div class="dropdown-content">
|
|
{% for pubtype in pubtypes %}
|
|
<button type="button" name="button" onclick="filterSelection('{{ pubtype }}')" >{{ pubtype.title() }}</button>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="dropdown">
|
|
<button class="dropbtn">Year</button>
|
|
<div class="dropdown-content">
|
|
{% for pubyear in pubyears %}
|
|
<button type="button" name="button" onclick="filterSelection('{{ pubyear }}')" >{{ pubyear }}</button>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endblock menu %}
|