Improved federation statistics chart css.

This commit is contained in:
Christian P. MOMON 2020-11-19 20:00:43 +01:00
parent d084e3cdd5
commit fdb379d213
3 changed files with 15 additions and 10 deletions

View file

@ -16,22 +16,22 @@
<h2 id="title" class="center">Statistiques</h2>
<div>
<div>
<div id="turnoutChart" style="width: 250px; height: 200px; display: inline-block; border: 1px solid red;"/>
<div id="turnoutChart" class="chartborder" style="width: 250px; height: 200px; display: inline-block;"/>
</div>
<div>
<div id="hostServerTypeChart" style="width: 250px; height: 200px; display: inline-block; border: 1px solid red;"/>
<div id="hostProviderTypeChart" style="width: 250px; height: 200px; display: inline-block; border: 1px solid red;"/>
<div id="hostServerTypeChart" class="chartborder" style="width: 250px; height: 200px; display: inline-block;"/>
<div id="hostProviderTypeChart" class="chartborder" style="width: 250px; height: 200px; display: inline-block;"/>
</div>
<div class="row">
<div id="registrationTypeChart" class="column" style="width: 250px; height: 200px; display: inline-block; border: 1px solid red;"/>
<div id="registrationTypeChart" class="column chartborder" style="width: 250px; height: 200px; display: inline-block;"/>
<div class="column">
<div class="row">
<div id="registrationNoneTypeChart" style="width: 125px; height: 100px; display: inline-block; border: 1px solid red;"/>
<div id="registrationFreeTypeChart" style="width: 125px; height: 100px; display: inline-block; border: 1px solid red;"/>
<div id="registrationNoneTypeChart" class="chartborder" style="width: 122px; height: 97px; display: inline-block;"/>
<div id="registrationFreeTypeChart" class="chartborder" style="width: 122px; height: 97px; display: inline-block;"/>
</div>
<div class="row">
<div id="registrationMemberTypeChart" style="width: 125px; height: 100px; display: inline-block; border: 1px solid red;"/>
<div id="registrationClientTypeChart" style="width: 125px; height: 100px; display: inline-block; border: 1px solid red;"/>
<div id="registrationMemberTypeChart" class="chartborder" style="width: 122px; height: 97px; display: inline-block;"/>
<div id="registrationClientTypeChart" class="chartborder" style="width: 122px; height: 97px; display: inline-block;"/>
</div>
</div>
</div>

View file

@ -818,3 +818,8 @@ table > tfoot > tr > th.danger
{
background-color : rgb(54, 162, 235, 0.2);
}
.chartborder
{
border: 1px solid #e7e7e7;
}

View file

@ -243,8 +243,8 @@ public class StatAgent
/**
* Stat host server type.
*
* @param federation
* the federation
* @param services
* the services
* @return the host server type stats
*/
public static HostServerTypeStats statHostServerType(final Services services)