csv-library-website/library/templates/menu.html

13 lines
411 B
HTML

{% block menu %}
<a href="/"><button>All books</button></a>
<a href="/upload"><button>Upload</button></a>
<div class="dropdown">
<button class="dropbtn">Type</button>
<div class="dropdown-content">
{% for pubtype in pubtypes %}
<button type="button" name="button" onclick="filterSelection('{{ pubtype.title() }}')" >{{ pubtype }}</button>
{% endfor %}
</div>
</div>
{% endblock menu %}