21 lines
834 B
HTML
21 lines
834 B
HTML
{% block menu %}
|
|
<button onclick="filterSelection('all')" id="removefilter">Remove filter</button>
|
|
<div class="dropdown">
|
|
<button id="Year" class="dropbtn">Year</button>
|
|
<div class="dropdown-content">
|
|
{% for year in years %}
|
|
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', '{{ year[1] }}', 'Year')" >{{ year[1] }}</button>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<div class="dropdown">
|
|
<button id="Category" class="dropbtn">Category</button>
|
|
<div class="dropdown-content">
|
|
{% for category in categories %}
|
|
<button type="button" name="button" onclick="filterSelection('{{ category[0] }}', '{{ category[1] }}', 'Category')" >{{ category[1] }}</button>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<input id="tagsearch" type="text" placeholder="Search..">
|
|
{% endblock menu %}
|