build: Use prettier for html

Stop ignoring html files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2024-12-19 09:36:50 +01:00
committed by Adam Saghy
parent c5fc3925fb
commit 2ec9ba81d6
651 changed files with 28935 additions and 20624 deletions
@@ -1,12 +1,11 @@
<mat-card class="card">
<mat-card-header class="header">
<h3 fxFlex="100%">
<fa-icon icon="chart-line"></fa-icon>
&nbsp;&nbsp; {{"labels.inputs.Client Trends" | translate}}
&nbsp;&nbsp; {{ 'labels.inputs.Client Trends' | translate }}
<div>
<mat-form-field id="office" fxFlex="94%">
<mat-label>{{"labels.inputs.Office" | translate}}</mat-label>
<mat-label>{{ 'labels.inputs.Office' | translate }}</mat-label>
<mat-select [formControl]="officeId">
<mat-option *ngFor="let office of officeData" [value]="office.id">
{{ office.name }}
@@ -19,14 +18,13 @@
<mat-card-content>
<!-- Structural directives like *ngIf break the canvas -->
<div [ngStyle]="{'display': (hideOutput) ? 'none' : 'block'}">
<div [ngStyle]="{ display: hideOutput ? 'none' : 'block' }">
<canvas id="client-trends-bar" width="800" height="465" class="fallback"></canvas>
</div>
<mat-button-toggle-group [formControl]="timescale" id='timescale' appearance="legacy">
<mat-button-toggle value="Day">{{"labels.buttons.Day" | translate}}</mat-button-toggle>
<mat-button-toggle value="Week">{{"labels.buttons.Week" | translate}}</mat-button-toggle>
<mat-button-toggle value="Month">{{"labels.buttons.Month" | translate}}</mat-button-toggle>
<mat-button-toggle-group [formControl]="timescale" id="timescale" appearance="legacy">
<mat-button-toggle value="Day">{{ 'labels.buttons.Day' | translate }}</mat-button-toggle>
<mat-button-toggle value="Week">{{ 'labels.buttons.Week' | translate }}</mat-button-toggle>
<mat-button-toggle value="Month">{{ 'labels.buttons.Month' | translate }}</mat-button-toggle>
</mat-button-toggle-group>
</mat-card-content>
</mat-card>