Increased WorldPie size

This commit is contained in:
Rsl1122 2017-12-02 15:11:12 +02:00
parent e4d7c825ab
commit 382080aae1
3 changed files with 4 additions and 4 deletions

View File

@ -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();
} }
} }

View File

@ -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 -->

View File

@ -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>