gonito/templates/challenge-all-submissions.julius
2018-11-12 10:11:58 +01:00

17 lines
466 B
Plaintext

sigma.parsers.json("@{ChallengeGraphDataR $ challengeName challenge}", {
container: 'graph-container',
settings: {
defaultNodeColor: '#ec5148'
}
});
var columnDefs = $.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray});
$(document).ready(function() {
$("table").DataTable({
'pageLength': 50,
'order': [[2, 'desc'], [#{delta} + columnDefs.length-1, 'desc']],
'columnDefs': columnDefs
});
} );