Enfin du style en utilisant Material Angular
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{{jumpType.name}}
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
<button mat-raised-button color="accent" *ngIf="selectedJumpType" matSuffix mat-icon-button aria-label="Clear"
|
||||
<button mat-button *ngIf="selectedJumpType" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="selectedJumpType=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
@@ -21,7 +21,7 @@
|
||||
{{aircraft.name}}
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
<button mat-raised-button color="accent" *ngIf="selectedAircraft" matSuffix mat-icon-button aria-label="Clear"
|
||||
<button mat-button *ngIf="selectedAircraft" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="selectedAircraft=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
@@ -38,7 +38,7 @@
|
||||
style="width: 16px;">
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
<button mat-raised-button color="accent" *ngIf="selectedDz" matSuffix mat-icon-button aria-label="Clear" (click)="selectedDz=undefined">
|
||||
<button mat-button *ngIf="selectedDz" matSuffix mat-icon-button aria-label="Clear" (click)="selectedDz=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
</mat-form-field>
|
||||
@@ -51,7 +51,7 @@
|
||||
{{gear.name}}
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
<button mat-raised-button color="accent" *ngIf="selectedGear" matSuffix mat-icon-button aria-label="Clear"
|
||||
<button mat-button *ngIf="selectedGear" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="selectedGear=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
@@ -73,14 +73,14 @@
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="Exit altitude" [(ngModel)]="exitAltitude" name="exitAltitude" type="number">
|
||||
<button mat-raised-button color="accent" *ngIf="exitAltitude" matSuffix mat-icon-button aria-label="Clear"
|
||||
<button mat-button *ngIf="exitAltitude" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="exitAltitude=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="Deploy altitude" [(ngModel)]="deployAltitude" name="deployAltitude" type="number">
|
||||
<button mat-raised-button color="accent" *ngIf="deployAltitude" matSuffix mat-icon-button aria-label="Clear"
|
||||
<button mat-button *ngIf="deployAltitude" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="deployAltitude=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
@@ -88,14 +88,14 @@
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="Count of jumps" [(ngModel)]="countOfJumps" name="countOfJumps" type="number">
|
||||
<button mat-raised-button color="accent" *ngIf="countOfJumps" matSuffix mat-icon-button aria-label="Clear"
|
||||
<button mat-button *ngIf="countOfJumps" matSuffix mat-icon-button aria-label="Clear"
|
||||
(click)="countOfJumps=undefined">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
</mat-form-field>
|
||||
|
||||
<br />
|
||||
<button mat-raised-button color="accent" *ngIf="isValidatedForm()">Submit</button>
|
||||
<button mat-button *ngIf="isValidatedForm()">Submit</button>
|
||||
</form>
|
||||
|
||||
<ng-template #loading>
|
||||
|
||||
Reference in New Issue
Block a user