{% extends "base_admin.html" %} {% load projecttags %} {% load bootstrap %} {% block scripts %} {{ block.super }} {% endblock %} {% block docready %} {{ block.super }} var table=$('#gradings').DataTable( {paging: false}); new $.fn.dataTable.Buttons( table, { name:'visibility', buttons: [{extend: 'colvis', text: 'Select assignments...', columns: '.assign'}, {extend: 'colvisGroup', text: 'Show all', show: ':hidden'}, {extend: 'colvisGroup', text: 'Hide all', hide: ':visible .assign'}, ] }); new $.fn.dataTable.Buttons( table, { name:'export', buttons: [{extend: 'excel', text: 'Export as Excel...'}, {extend: 'csv', text: 'Export as CSV...'}, ] }); table.buttons('visibility', 0).container().prependTo( 'div.col-sm-12' ); table.buttons('export', 0).container().appendTo( '#lower_buttons'); {% endblock %} {% setting "MAIN_URL" as main_url %} {% block breadcrumbs %} {% endblock %} {% block content %} {% for assignment in assignments %} {% endfor %} {% for row in resulttable %} {% for col in row %} {% if col.means_passed %} {% endfor %} {% endfor %}
# Last Name First Name Student ID Study Program{{ assignment.title }}Passed graded assignments Sum of grades
{{ forloop.counter }} {% elif col.means_failed %} {% else %} {% endif %} {{ col }}
{% endblock %}