disable datatables, sticky table headers by natural css

integration-tests
Josha von Gizycki 6 years ago
parent 47c79b82bd
commit 4d018df11a

@ -1,6 +1,7 @@
@ci-blue: Highlight; @ci-blue: Highlight;
@error-color: #e00; @error-color: #e00;
@accent-color: #efefef; @accent-color: #efefef;
@body-background-color: #fcfcfc;
@background-color: #eee; @background-color: #eee;
@ci-color: #aaa; @ci-color: #aaa;
@border-stack: 1px solid @ci-color; @border-stack: 1px solid @ci-color;
@ -13,6 +14,7 @@
body { body {
font-family: sans-serif; font-family: sans-serif;
margin: 0; margin: 0;
background-color: @body-background-color;
} }
a:link, a:link,
@ -228,6 +230,10 @@ table {
} }
thead { thead {
position: sticky;
top: 0;
background-color: @body-background-color;
th { th {
padding: @text-padding-v @text-padding-h; padding: @text-padding-v @text-padding-h;
border-bottom: @accent-border-width / 5 solid @ci-color; border-bottom: @accent-border-width / 5 solid @ci-color;

@ -44,6 +44,7 @@ document.addEventListener('DOMContentLoaded', function() {
}) })
$(document).ready(function() { $(document).ready(function() {
return;
$('table').DataTable({ $('table').DataTable({
stateSave: true, stateSave: true,
fixedHeader: true, fixedHeader: true,

Loading…
Cancel
Save