mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-19 18:21:00 +02:00
Increased WorldPie size
This commit is contained in:
parent
e4d7c825ab
commit
382080aae1
@ -232,11 +232,11 @@ public class HealthNotes {
|
|||||||
} else if (serverDownTime <= TimeAmount.WEEK.ms()) {
|
} else if (serverDownTime <= TimeAmount.WEEK.ms()) {
|
||||||
healthNotes.add("<p>" + Html.YELLOW_FLAG.parse() + " Total Server downtime (No Data) was "
|
healthNotes.add("<p>" + Html.YELLOW_FLAG.parse() + " Total Server downtime (No Data) was "
|
||||||
+ FormatUtils.formatTimeAmount(serverDownTime) + "</p>");
|
+ FormatUtils.formatTimeAmount(serverDownTime) + "</p>");
|
||||||
serverHealth *= 0.6;
|
serverHealth *= (TimeAmount.WEEK.ms() - serverDownTime) * 1.0 / TimeAmount.WEEK.ms();
|
||||||
} else {
|
} else {
|
||||||
healthNotes.add("<p>" + Html.RED_WARN.parse() + " Total Server downtime (No Data) was "
|
healthNotes.add("<p>" + Html.RED_WARN.parse() + " Total Server downtime (No Data) was "
|
||||||
+ FormatUtils.formatTimeAmount(serverDownTime) + "</p>");
|
+ FormatUtils.formatTimeAmount(serverDownTime) + "</p>");
|
||||||
serverHealth *= 0.3;
|
serverHealth *= serverDownTime * 1.0 / TimeAmount.MONTH.ms();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -433,7 +433,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div id="worldPie" class="dashboard-donut-chart"></div>
|
<div id="worldPie" style="height: 400px;" class="dashboard-donut-chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- #END# World Pie -->
|
<!-- #END# World Pie -->
|
||||||
|
@ -653,7 +653,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div id="worldPie" class="dashboard-donut-chart"></div>
|
<div id="worldPie" style="height: 400px;" class="dashboard-donut-chart"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user