From 99ddd90df81e8999b9454db83ed2e75236f4680b Mon Sep 17 00:00:00 2001 From: AuroraLS3 Date: Sat, 18 Sep 2021 19:53:28 +0000 Subject: [PATCH] 5.4.1445 --- Plan/src/main/resources/assets/plan/plan/web/js/graphs.js | 8 +++++--- .../main/resources/assets/plan/plan/web/js/loadErrors.js | 4 ++-- .../resources/assets/plan/plan/web/js/player-values.js | 4 ++-- .../resources/assets/plan/plan/web/js/sessionAccordion.js | 4 ++-- Plan/src/main/resources/assets/plan/plan/web/network.html | 4 ++-- Plan/src/main/resources/assets/plan/plan/web/player.html | 2 +- Plan/src/main/resources/assets/plan/plan/web/server.html | 4 ++-- 7 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Plan/src/main/resources/assets/plan/plan/web/js/graphs.js b/Plan/src/main/resources/assets/plan/plan/web/js/graphs.js index 225900a42..fdcfd0f11 100644 --- a/Plan/src/main/resources/assets/plan/plan/web/js/graphs.js +++ b/Plan/src/main/resources/assets/plan/plan/web/js/graphs.js @@ -339,7 +339,7 @@ function playersChart(id, playersOnlineSeries, sel) { type: s.type.spline, tooltip: s.tooltip.zeroDecimals, data: averageGroupPoints(groupByInterval, minDate), - color: "#1E90FF", + color: "#02458d", yAxis: 0 }; } @@ -360,7 +360,7 @@ function playersChart(id, playersOnlineSeries, sel) { type: s.type.spline, tooltip: s.tooltip.zeroDecimals, data: [], - color: "#1E90FF", + color: "#02458d", yAxis: 0 }; @@ -373,18 +373,20 @@ function playersChart(id, playersOnlineSeries, sel) { softMax: 2, softMin: 0 }, + /* Average online players graph Disabled xAxis: { events: { afterSetExtremes: updateAveragePlayers } }, + */ title: {text: ''}, plotOptions: { areaspline: { fillOpacity: 0.4 } }, - series: [playersOnlineSeries, emptyAveragePlayersSeries] + series: [playersOnlineSeries, /*emptyAveragePlayersSeries*/] })); } diff --git a/Plan/src/main/resources/assets/plan/plan/web/js/loadErrors.js b/Plan/src/main/resources/assets/plan/plan/web/js/loadErrors.js index 4eccba4ed..6d23b6b01 100644 --- a/Plan/src/main/resources/assets/plan/plan/web/js/loadErrors.js +++ b/Plan/src/main/resources/assets/plan/plan/web/js/loadErrors.js @@ -8,14 +8,14 @@ function createErrorAccordionTitle(i, errorLog) { let style = 'bg-amber-outline'; const tagLine = errorLog.contents[0]; return ` + class="clickable collapsed ${style}" data-bs-target="#error_t_${i}" data-bs-toggle="collapse"> ${errorLog.fileName} ${tagLine} ` } function createErrorAccordionBody(i, errorLog) { - return ` + return `
${errorLog.contents.join('\n')}
diff --git a/Plan/src/main/resources/assets/plan/plan/web/js/player-values.js b/Plan/src/main/resources/assets/plan/plan/web/js/player-values.js index 7c1af3aae..690641892 100644 --- a/Plan/src/main/resources/assets/plan/plan/web/js/player-values.js +++ b/Plan/src/main/resources/assets/plan/plan/web/js/player-values.js @@ -210,9 +210,9 @@ function createserverAccordionTitle(i, server) { // Lowercase due to locale translation: Server function createserverAccordionBody(i, server) { - return `` + + return `` + `` + - `
` + + `
` + `
` + (server.operator ? `

Operator

` : ``) + (server.banned ? `

Banned

` : ``) + diff --git a/Plan/src/main/resources/assets/plan/plan/web/js/sessionAccordion.js b/Plan/src/main/resources/assets/plan/plan/web/js/sessionAccordion.js index e6f1a8928..1bedea23c 100644 --- a/Plan/src/main/resources/assets/plan/plan/web/js/sessionAccordion.js +++ b/Plan/src/main/resources/assets/plan/plan/web/js/sessionAccordion.js @@ -75,9 +75,9 @@ function createAccordionTitle(i, session) { } function createAccordionBody(i, session) { - return ` + return ` -
+

Ended${session.end}

Length${session.length}

diff --git a/Plan/src/main/resources/assets/plan/plan/web/network.html b/Plan/src/main/resources/assets/plan/plan/web/network.html index bf257dcb9..d579b739d 100644 --- a/Plan/src/main/resources/assets/plan/plan/web/network.html +++ b/Plan/src/main/resources/assets/plan/plan/web/network.html @@ -67,7 +67,7 @@ Servers -
+
@@ -92,7 +92,7 @@ Playerbase -
Plugins -
+
${navPluginsTabs}
diff --git a/Plan/src/main/resources/assets/plan/plan/web/server.html b/Plan/src/main/resources/assets/plan/plan/web/server.html index 2308c9344..f1366f135 100644 --- a/Plan/src/main/resources/assets/plan/plan/web/server.html +++ b/Plan/src/main/resources/assets/plan/plan/web/server.html @@ -67,7 +67,7 @@ Online Activity -