Add datatables.net to <table>

This commit is contained in:
Ben Wilson
2022-10-05 22:46:39 +01:00
parent 3e1d05d485
commit 7b483ca700
2 changed files with 23 additions and 10 deletions

12
.gitlab/header.html Normal file
View File

@@ -0,0 +1,12 @@
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css" />
<script type="text/ecmascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/ecmascript" src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
<script>
$(document).ready(function(){
$('#pretty').DataTable({
order: [[0, 'asc']],
"lengthChange": false,
"paging": false,
});
});
</script>