add new component, add mock, refactor

This commit is contained in:
FrancescoMolinaro
2023-12-22 17:26:46 +01:00
parent 604fb4f3d1
commit 5d8ba54676
16 changed files with 131 additions and 45 deletions

View File

@@ -1,11 +1,9 @@
<div class="container-fluid">
<div *ngFor="let rows of boxesConfig">
<div *ngFor="let box of rows.boxes">
<div [ngStyle]="{'background-color': box.color}">
<!--Here will go the actual count coming from the REST endpoint -->
<div>0</div>
<div>{{ box.title | translate }}</div>
</div>
<div class="mb-5" *ngFor="let row of boxesConfig">
<div class="mb-2">{{ row.title | translate }}</div>
<div class="row justify-content-between">
<div class="col-sm" *ngFor="let box of row.boxes">
<ds-notification-box [boxConfig]="box"></ds-notification-box>
</div>
</div>
</div>