Add report best results

This commit is contained in:
2023-06-06 00:59:10 +02:00
parent 0c1c226afe
commit eb8b0d3554
5 changed files with 55 additions and 7 deletions

17
app/static/js/report.js Normal file
View File

@@ -0,0 +1,17 @@
$(document).ready(function () {
// Check if row is selected
$('#report-table tbody').on('click', 'tr', function () {
if ($(this).hasClass('selected')) {
$(this).removeClass('selected');
} else {
$('#report-table tbody tr.selected').removeClass("selected")
$(this).addClass('selected');
}
});
$(document).ajaxStart(function(){
$("body").addClass('ajaxLoading');
});
$(document).ajaxStop(function(){
$("body").removeClass('ajaxLoading');
});
});