{% 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 %}
# | Last Name | First Name | Student ID | Study Program | {% for assignment in assignments %}{{ assignment.title }} | {% endfor %}Passed graded assignments | Sum of grades |
---|---|---|---|---|---|---|---|
{{ forloop.counter }} | {% for col in row %} {% if col.means_passed %}{% elif col.means_failed %} | {% else %} | {% endif %} {{ col }} | {% endfor %}