forked from crunk/distribusi-verse
crunk
5 days ago
3 changed files with 22 additions and 7 deletions
@ -1,20 +1,32 @@ |
|||
{% block menu %} |
|||
<button onclick="filterSelection('all')" id="removefilter">Remove filter</button> |
|||
<div class="dropdown"> |
|||
<button id="Year" class="dropbtn">Year</button> |
|||
<nav class="button-navigation"> |
|||
<button id="Year" class="dropbtn" aria-haspopup="true">Year</button> |
|||
<div class="dropdown-content"> |
|||
<ul> |
|||
{% for year in years %} |
|||
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', '{{ year[1] }}', 'Year')" >{{ year[1] }}</button> |
|||
<li> |
|||
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', '{{ year[1] }}', 'Year')" >{{ year[1] }}</button> |
|||
</li> |
|||
{% endfor %} |
|||
</ul> |
|||
</div> |
|||
</nav> |
|||
</div> |
|||
<div class="dropdown"> |
|||
<button id="Category" class="dropbtn">Category</button> |
|||
<nav class="button-navigation"> |
|||
<button id="Category" class="dropbtn" aria-haspopup="true">Category</button> |
|||
<div class="dropdown-content"> |
|||
<ul> |
|||
{% for category in categories %} |
|||
<button type="button" name="button" onclick="filterSelection('{{ category[0] }}', '{{ category[1] }}', 'Category')" >{{ category[1] }}</button> |
|||
<li> |
|||
<button type="button" name="button" onclick="filterSelection('{{ category[0] }}', '{{ category[1] }}', 'Category')" >{{ category[1] }}</button> |
|||
</li> |
|||
{% endfor %} |
|||
</ul> |
|||
</div> |
|||
</nav> |
|||
</div> |
|||
<input id="tagsearch" type="text" placeholder="Search.."> |
|||
{% endblock menu %} |
|||
|
Loading…
Reference in new issue