Mise à jours du dashboard

This commit is contained in:
Julien Gautier
2023-09-14 18:28:02 +02:00
parent 0e6b3ef1c7
commit 92b204c769
41 changed files with 981 additions and 852 deletions
@@ -3,7 +3,7 @@
<mat-card-title>Aéronefs</mat-card-title>
<mat-card-subtitle>Nombre total de sauts par avions</mat-card-subtitle>
<div class="piechart">
<x-chartist [configuration]="donuteChartModel"> </x-chartist>
<x-chartist [configuration]="donuteAeronefs"></x-chartist>
</div>
</mat-card-content>
<hr>
@@ -12,18 +12,18 @@
<thead>
<tr>
<th></th>
<th *ngFor='let name of seriesHeader; let i=index' class="text-right"> {{name}} </th>
<th class="text-right">Total</th>
<th *ngFor='let name of seriesHeader; let i=index' class="text-end"> {{name}} </th>
<th class="text-end">Total</th>
</tr>
</thead>
<tbody>
<tr *ngFor='let values of seriesRow; let i=index'>
<th class="{{seriesColor[i]}} text-right"><i class="mdi mdi-checkbox-blank-circle font-10 m-r-10 "></i> {{seriesName[i]}} </th>
<td *ngFor='let value of values; let i=index' class="text-mono text-right">
<th class="{{seriesColor[i]}} text-end"> {{seriesName[i]}} </th>
<td *ngFor='let value of values; let i=index' class="font-monospace text-end">
<span *ngIf="value; else elseBlock" class="pr-1">{{value}}</span>
<ng-template #elseBlock><span class="text-empty pr-1">{{value}}</span></ng-template>
</td>
<th class="{{seriesColor[i]}} text-right">
<th class="{{seriesColor[i]}} text-end">
<span *ngIf="seriesValue[i]; else elseBlock" class="pr-1">{{seriesValue[i]}}</span>
<ng-template #elseBlock><span class="text-empty pr-1">{{seriesValue[i]}}</span></ng-template>
</th>