1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-11 23:58:08 -05:00

huge commit for webfront facelift

This commit is contained in:
RaidMax
2022-04-19 18:43:58 -05:00
parent 7b78e0803a
commit d5b4c60e5a
105 changed files with 2981 additions and 2545 deletions

View File

@ -4,7 +4,15 @@
$(document).ready(function () {
$('.table-slide').click(function () {
$(this).siblings().children().children('.hidden-row').slideToggle(0);
if ($(window).width() < 993) {
$(this).prev().find('.hidden-row').toggleClass('d-none d-flex');
} else {
$(this).prev().find('.hidden-row-lg').toggleClass('d-none');
}
$(this).attr('data-title', '');
$(this).attr('data-toggle', '');
$(this).children('span').toggleClass('oi-chevron-top oi-chevron-bottom');
});
setupPerformanceGraph();
@ -364,7 +372,7 @@ function renderPerformanceChart() {
elements: {
line: {
fill: false,
borderColor: 'rgba(255, 255, 255, 0.75)',
borderColor: halfmoon.getPreferredMode() === "light-mode" ? 'rgba(0, 0, 0, 0.85)' : 'rgba(255, 255, 255, 0.75)',
borderWidth: 2
},
point: {
@ -407,4 +415,4 @@ function renderPerformanceChart() {
data: chartData,
options: options
});
}
}