gonito/templates/challenge-all-submissions.julius

23 lines
581 B
Plaintext
Raw Normal View History

2016-02-11 21:54:22 +01:00
sigma.parsers.json("@{ChallengeGraphDataR $ challengeName challenge}", {
container: 'graph-container',
settings: {
defaultNodeColor: '#ec5148'
}
});
2017-05-27 21:30:33 +02:00
var columnDefs = $.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray});
2017-05-27 21:30:33 +02:00
$(document).ready(function() {
$("table").DataTable({
'pageLength': 50,
2018-11-12 10:11:58 +01:00
'order': [[2, 'desc'], [#{delta} + columnDefs.length-1, 'desc']],
2019-09-16 20:32:43 +02:00
'columnDefs': columnDefs,
'dom': 'Bfrtlip',
'buttons': [
'copy',
'csv',
'excel'
]
});
2017-05-27 21:30:33 +02:00
} );