mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-05 07:58:08 +01:00
5.4.1445
This commit is contained in:
parent
748920e5c3
commit
99ddd90df8
@ -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*/]
|
||||
}));
|
||||
}
|
||||
|
||||
|
@ -8,14 +8,14 @@ function createErrorAccordionTitle(i, errorLog) {
|
||||
let style = 'bg-amber-outline';
|
||||
const tagLine = errorLog.contents[0];
|
||||
return `<tr id="error_h_${i}" aria-controls="error_t_${i}" aria-expanded="false"
|
||||
class="clickable collapsed ${style}" data-target="#error_t_${i}" data-toggle="collapse">
|
||||
class="clickable collapsed ${style}" data-bs-target="#error_t_${i}" data-bs-toggle="collapse">
|
||||
<td>${errorLog.fileName}</td>
|
||||
<td>${tagLine}</td>
|
||||
</tr>`
|
||||
}
|
||||
|
||||
function createErrorAccordionBody(i, errorLog) {
|
||||
return `<tr class="collapse" data-parent="#tableAccordion" id="error_t_${i}">
|
||||
return `<tr class="collapse" data-bs-parent="#tableAccordion" id="error_t_${i}">
|
||||
<td colspan="2">
|
||||
<pre class="pre-scrollable" style="overflow-x: scroll">${errorLog.contents.join('\n')}</pre>
|
||||
</td>
|
||||
|
@ -210,9 +210,9 @@ function createserverAccordionTitle(i, server) {
|
||||
// Lowercase due to locale translation: Server
|
||||
function createserverAccordionBody(i, server) {
|
||||
|
||||
return `<tr class="collapse" data-parent="#tableSAccordion" id="server_t_` + i + `">` +
|
||||
return `<tr class="collapse" data-bs-parent="#tableSAccordion" id="server_t_` + i + `">` +
|
||||
`<td colspan="4">` +
|
||||
`<div class="collapse row" data-parent="#tableSAccordion" id="server_t_` + i + `">` +
|
||||
`<div class="collapse row" data-bs-parent="#tableSAccordion" id="server_t_` + i + `">` +
|
||||
`<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">` +
|
||||
(server.operator ? `<p><i class="col-blue fab fa-fw fa-superpowers"></i> Operator</p>` : ``) +
|
||||
(server.banned ? `<p><i class="col-red fas fa-fw fa-gavel"></i> Banned</p>` : ``) +
|
||||
|
@ -75,9 +75,9 @@ function createAccordionTitle(i, session) {
|
||||
}
|
||||
|
||||
function createAccordionBody(i, session) {
|
||||
return `<tr class="collapse" data-parent="#tableAccordion" id="session_t_${i}">
|
||||
return `<tr class="collapse" data-bs-parent="#tableAccordion" id="session_t_${i}">
|
||||
<td colspan="4">
|
||||
<div class="collapse row" data-parent="#tableAccordion" id="session_t_${i}">
|
||||
<div class="collapse row" data-bs-parent="#tableAccordion" id="session_t_${i}">
|
||||
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
|
||||
<p><i class="col-teal far fa-fw fa-clock"></i> Ended<span class="float-end"><b>${session.end}</b></span></p>
|
||||
<p><i class="col-green far fa-fw fa-clock"></i> Length<span class="float-end"><b>${session.length}</b></span></p>
|
||||
|
@ -67,7 +67,7 @@
|
||||
<i class="fas fa-fw fa-server"></i>
|
||||
<span>Servers</span>
|
||||
</a>
|
||||
<div aria-labelledby="headingPages" class="collapse" data-parent="#accordionSidebar" id="serverPages">
|
||||
<div aria-labelledby="headingPages" class="collapse" data-bs-parent="#accordionSidebar" id="serverPages">
|
||||
<div class="bg-white py-2 collapse-inner rounded">
|
||||
<a class="collapse-item nav-button" href="#tab-servers"><i
|
||||
class="fas fa-fw fa-network-wired"></i>
|
||||
@ -92,7 +92,7 @@
|
||||
<i class="fas fa-fw fa-users"></i>
|
||||
<span>Playerbase</span>
|
||||
</a>
|
||||
<div aria-labelledby="headingPages" class="collapse" data-parent="#accordionSidebar"
|
||||
<div aria-labelledby="headingPages" class="collapse" data-bs-parent="#accordionSidebar"
|
||||
id="playerbasePages">
|
||||
<div class="bg-white py-2 collapse-inner rounded">
|
||||
<a class="collapse-item nav-button" href="#tab-playerbase-overview"><i
|
||||
|
@ -86,7 +86,7 @@
|
||||
<i class="fas fa-fw fa-cubes"></i>
|
||||
<span>Plugins</span>
|
||||
</a>
|
||||
<div aria-labelledby="headingPages" class="collapse" data-parent="#accordionSidebar" id="pluginsPages">
|
||||
<div aria-labelledby="headingPages" class="collapse" data-bs-parent="#accordionSidebar" id="pluginsPages">
|
||||
<div class="bg-white py-2 collapse-inner rounded">
|
||||
${navPluginsTabs}
|
||||
</div>
|
||||
|
@ -67,7 +67,7 @@
|
||||
<i class="fas fa-fw fa-chart-area"></i>
|
||||
<span>Online Activity</span>
|
||||
</a>
|
||||
<div aria-labelledby="headingPages" class="collapse" data-parent="#accordionSidebar"
|
||||
<div aria-labelledby="headingPages" class="collapse" data-bs-parent="#accordionSidebar"
|
||||
id="onlineActivityPages">
|
||||
<div class="bg-white py-2 collapse-inner rounded">
|
||||
<a class="collapse-item nav-button" href="#tab-online-activity-overview"><i
|
||||
@ -90,7 +90,7 @@
|
||||
<i class="fas fa-fw fa-users"></i>
|
||||
<span>Playerbase</span>
|
||||
</a>
|
||||
<div aria-labelledby="headingPages" class="collapse" data-parent="#accordionSidebar"
|
||||
<div aria-labelledby="headingPages" class="collapse" data-bs-parent="#accordionSidebar"
|
||||
id="playerbasePages">
|
||||
<div class="bg-white py-2 collapse-inner rounded">
|
||||
<a class="collapse-item nav-button" href="#tab-playerbase-overview"><i
|
||||
|
Loading…
Reference in New Issue
Block a user