gonito/templates/challenge-all-submissions.julius

23 lines
581 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,
'dom': 'Bfrtlip',
'buttons': [
'copy',
'csv',
'excel'
]
});
} );