gonito/templates/show-challenge.julius

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