2022-03-06 23:15:38 +01:00
|
|
|
{% block menu %}
|
|
|
|
<button onclick="filterSelection('all')" id="removefilter">Remove filter</button>
|
|
|
|
<div class="dropdown">
|
|
|
|
<button id="Academicyear" class="dropbtn">Academic year</button>
|
|
|
|
<div class="dropdown-content">
|
|
|
|
{% for year in years %}
|
2022-03-06 23:27:00 +01:00
|
|
|
<button type="button" name="button" onclick="filterSelection('{{ year[0] }}', 'Academicyear')" >{{ year[1] }}</button>
|
2022-03-06 23:15:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="dropdown">
|
|
|
|
<button id="Term" class="dropbtn">Term</button>
|
|
|
|
<div class="dropdown-content">
|
|
|
|
{% for term in terms %}
|
2022-03-06 23:27:00 +01:00
|
|
|
<button type="button" name="button" onclick="filterSelection('{{ term[0] }}', 'Term')" >{{ term[1] }}</button>
|
2022-03-06 23:15:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="dropdown">
|
|
|
|
<button id="Course" class="dropbtn">Course</button>
|
|
|
|
<div class="dropdown-content">
|
|
|
|
{% for course in courses %}
|
2022-03-06 23:27:00 +01:00
|
|
|
<button type="button" name="button" onclick="filterSelection('{{ course[0] }}', 'Course')" >{{ course[1] }}</button>
|
2022-03-06 23:15:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock menu %}
|