forked from crunk/distribusi-verse
crunk
7 months ago
4 changed files with 13 additions and 37 deletions
@ -1,28 +1,20 @@ |
|||
{% block menu %} |
|||
<button onclick="filterSelection('all')" id="removefilter">Remove filter</button> |
|||
<div class="dropdown"> |
|||
<button id="Academicyear" class="dropbtn">Academic year</button> |
|||
<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] }}', 'Academicyear')" >{{ year[1] }}</button> |
|||
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', '{{ year[1] }}', 'Year')" >{{ year[1] }}</button> |
|||
{% endfor %} |
|||
</div> |
|||
</div> |
|||
<div class="dropdown"> |
|||
<button id="Term" class="dropbtn">Term</button> |
|||
<button id="Category" class="dropbtn">Category</button> |
|||
<div class="dropdown-content"> |
|||
{% for term in terms %} |
|||
<button type="button" name="button" onclick="filterSelection('{{ term[0] }}', '{{ term[1] }}', 'Term')" >{{ term[1] }}</button> |
|||
{% for category in categories %} |
|||
<button type="button" name="button" onclick="filterSelection('{{ category[0] }}', '{{ category[1] }}', 'Category')" >{{ category[1] }}</button> |
|||
{% endfor %} |
|||
</div> |
|||
</div> |
|||
<div class="dropdown"> |
|||
<button id="Course" class="dropbtn">Course</button> |
|||
<div class="dropdown-content"> |
|||
{% for course in courses %} |
|||
<button type="button" name="button" onclick="filterSelection('{{ course[0] }}' , '{{ course[1] }}', 'Course')" >{{ course[1] }}</button> |
|||
{% endfor %} |
|||
</div> |
|||
</div> |
|||
<input id="tagsearch" type="text" placeholder="Search.."> |
|||
{% endblock menu %} |
|||
|
Loading…
Reference in new issue