mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-04 23:48:42 +01:00
Fixed network page week comparison titles
This commit is contained in:
parent
449c21a820
commit
096268db14
@ -45,7 +45,7 @@ function loadNetworkOverviewValues(json, error) {
|
||||
|
||||
tab = $('#network-overview');
|
||||
|
||||
// Last 7 Days
|
||||
// Last 7 days
|
||||
data = json.players;
|
||||
element = $(tab).find('#data_players');
|
||||
|
||||
@ -78,6 +78,11 @@ function loadNetworkOverviewValues(json, error) {
|
||||
data = json.weeks;
|
||||
element = $(tab).find('#data_weeks');
|
||||
|
||||
$(element).find('#data_start').text(data.start);
|
||||
$(element).find('#data_midpoint').text(data.midpoint);
|
||||
$(element).find('#data_midpoint2').text(data.midpoint);
|
||||
$(element).find('#data_end').text(data.end);
|
||||
|
||||
$(element).find('#data_unique_before').text(data.unique_before);
|
||||
$(element).find('#data_unique_after').text(data.unique_after);
|
||||
$(element).find('#data_unique_trend').replaceWith(trend(data.unique_trend));
|
||||
|
@ -45,7 +45,7 @@ function loadServerOverviewValues(json, error) {
|
||||
|
||||
tab = $('#server-overview');
|
||||
|
||||
// Last 7 Days
|
||||
// Last 7 days
|
||||
data = json.last_7_days;
|
||||
element = $(tab).find('#data_7_days');
|
||||
|
||||
|
@ -184,17 +184,17 @@
|
||||
<h6 class="m-0 font-weight-bold col-black">Players</h6>
|
||||
</div>
|
||||
<div class="card-body" id="data_players">
|
||||
<p>Last 24 Hours</p>
|
||||
<p>Last 24 hours</p>
|
||||
<p><i class="col-blue fa fa-fw fa-users"></i> Unique Players<span
|
||||
class="float-right"><b id="data_unique_players_1d"></b></span></p>
|
||||
<p><i class="col-light-green fa fa-fw fa-user-plus"></i> New Players<span
|
||||
class="float-right"><b id="data_new_players_1d"></b></span></p>
|
||||
<p>Last 7 Days</p>
|
||||
<p>Last 7 days</p>
|
||||
<p><i class="col-blue fa fa-fw fa-users"></i> Unique Players<span
|
||||
class="float-right"><b id="data_unique_players_7d"></b></span></p>
|
||||
<p><i class="col-light-green fa fa-fw fa-user-plus"></i> New Players<span
|
||||
class="float-right"><b id="data_new_players_7d"></b></span></p>
|
||||
<p>Last 30 Days</p>
|
||||
<p>Last 30 days</p>
|
||||
<p><i class="col-blue fa fa-fw fa-users"></i> Unique Players<span
|
||||
class="float-right"><b id="data_unique_players_30d"></b></span></p>
|
||||
<p><i class="col-light-green fa fa-fw fa-user-plus"></i> New Players<span
|
||||
@ -255,8 +255,8 @@
|
||||
class="text-danger fa fa-caret-down"></i>
|
||||
<small>Comparing 7 days</small>
|
||||
</th>
|
||||
<th>7 days before (22.1. - 29.1.)</th>
|
||||
<th>Last 7 days (29.1. - 5.2.)</th>
|
||||
<th><span id="data_start"></span> - <span id="data_midpoint"></span></th>
|
||||
<th><span id="data_midpoint2"></span> - <span id="data_end"></span></th>
|
||||
<th>Trend</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -345,7 +345,7 @@
|
||||
id="data_best_peak_players"></b> Players</span>
|
||||
</p>
|
||||
<hr>
|
||||
<p><b>Last 7 Days</b></p>
|
||||
<p><b>Last 7 days</b></p>
|
||||
<p><i class="col-blue fa fa-fw fa-users"></i> Unique Players<span
|
||||
class="float-right"><b id="data_unique"></b></span></p>
|
||||
<p><i class="col-light-green fa fa-fw fa-users"></i> New Players<span
|
||||
|
@ -257,8 +257,8 @@
|
||||
<table class="table" id="data_online_activity">
|
||||
<thead>
|
||||
<th></th>
|
||||
<th>Last 30 Days</th>
|
||||
<th>Last 7 Days</th>
|
||||
<th>Last 30 days</th>
|
||||
<th>Last 7 days</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
@ -166,7 +166,7 @@
|
||||
<div class="col-xl-3 col-lg-3 col-sm-12">
|
||||
<div class="card shadow mb-4">
|
||||
<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
|
||||
<h6 class="m-0 font-weight-bold col-black">Last 7 Days</h6>
|
||||
<h6 class="m-0 font-weight-bold col-black">Last 7 days</h6>
|
||||
</div>
|
||||
<div class="card-body" id="data_7_days">
|
||||
<p><i class="col-blue fa fa-fw fa-users"></i> Unique Players<span
|
||||
@ -1006,9 +1006,9 @@
|
||||
<table class="table" id="data_numbers">
|
||||
<thead>
|
||||
<th></th>
|
||||
<th>Last 30 Days</th>
|
||||
<th>Last 7 Days</th>
|
||||
<th>Last 24 Hours</th>
|
||||
<th>Last 30 days</th>
|
||||
<th>Last 7 days</th>
|
||||
<th>Last 24 hours</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user