This commit is contained in:
AuroraLS3 2022-05-28 07:28:15 +00:00
parent 2054020de5
commit f686d573da
2 changed files with 9 additions and 0 deletions

View File

@ -317,6 +317,9 @@ function loadPerformanceValues(json, error) {
element.querySelector('#data_server_downtime_30d').innerText = data.server_downtime_30d;
element.querySelector('#data_server_downtime_7d').innerText = data.server_downtime_7d;
element.querySelector('#data_server_downtime_24h').innerText = data.server_downtime_24h;
element.querySelector('#data_players_30d').innerText = data.players_30d;
element.querySelector('#data_players_7d').innerText = data.players_7d;
element.querySelector('#data_players_24h').innerText = data.players_24h;
element.querySelector('#data_tps_30d').innerText = data.tps_30d;
element.querySelector('#data_tps_7d').innerText = data.tps_7d;
element.querySelector('#data_tps_24h').innerText = data.tps_24h;

View File

@ -1107,6 +1107,12 @@
<td id="data_server_downtime_7d"></td>
<td id="data_server_downtime_24h"></td>
</tr>
<tr>
<td><i class="fa fa-fw fa-user col-light-blue"></i> Average Players</td>
<td id="data_players_30d"></td>
<td id="data_players_7d"></td>
<td id="data_players_24h"></td>
</tr>
<tr>
<td><i class="fa fa-fw fa-tachometer-alt col-orange"></i> Average TPS</td>
<td id="data_tps_30d"></td>