distribusi-verse/verse/templates/filtermenu.html

21 lines
834 B
HTML
Raw Normal View History

{% block menu %}
<button onclick="filterSelection('all')" id="removefilter">Remove filter</button>
<div class="dropdown">
2024-04-19 22:55:07 +02:00
<button id="Year" class="dropbtn">Year</button>
<div class="dropdown-content">
{% for year in years %}
2024-04-19 22:55:07 +02:00
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', '{{ year[1] }}', 'Year')" >{{ year[1] }}</button>
{% endfor %}
</div>
</div>
<div class="dropdown">
2024-04-19 22:55:07 +02:00
<button id="Category" class="dropbtn">Category</button>
<div class="dropdown-content">
2024-04-19 22:55:07 +02:00
{% for category in categories %}
<button type="button" name="button" onclick="filterSelection('{{ category[0] }}', '{{ category[1] }}', 'Category')" >{{ category[1] }}</button>
{% endfor %}
</div>
</div>
2022-03-08 23:28:33 +01:00
<input id="tagsearch" type="text" placeholder="Search..">
{% endblock menu %}