1e jet du formulaire d'ajout de sauts

This commit is contained in:
Sébastien André
2019-10-28 12:15:25 +01:00
parent 08f04480d5
commit 1a5cc2ed4e
6 changed files with 103 additions and 19 deletions

View File

@@ -1,5 +1,4 @@
<div class="example-container">
<h4>Basic native select</h4>
<mat-form-field>
<mat-label>Choose the jump type</mat-label>
<mat-select>
@@ -9,7 +8,6 @@
</mat-select>
</mat-form-field>
<h4>Basic native select</h4>
<mat-form-field>
<mat-label>Choose the aircraft</mat-label>
<mat-select>
@@ -17,4 +15,49 @@
<mat-option value="option2">Option 2</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-label>Choose the DZ</mat-label>
<mat-select>
<mat-option value="option1">Option 1</mat-option>
<mat-option value="option2">Option 2</mat-option>
</mat-select>
</mat-form-field>
<mat-checkbox>With a cutaway ?</mat-checkbox>
<mat-form-field>
<input matInput [matDatepicker]="beginDate" [value]="date.value" disabled>
<mat-datepicker-toggle matSuffix [for]="beginDate"></mat-datepicker-toggle>
<mat-datepicker #beginDate disabled="false"></mat-datepicker>
</mat-form-field>
<mat-form-field>
<input matInput [matDatepicker]="endDate" [value]="date.value" disabled>
<mat-datepicker-toggle matSuffix [for]="endDate"></mat-datepicker-toggle>
<mat-datepicker #endDate disabled="false"></mat-datepicker>
</mat-form-field>
<mat-form-field>
<input matInput placeholder="Exit altitude" [(ngModel)]="defaultExitAltitude">
<button mat-button *ngIf="defaultExitAltitude" matSuffix mat-icon-button aria-label="Clear"
(click)="defaultExitAltitude=''">
<mat-icon>close</mat-icon>
</button>
</mat-form-field>
<mat-form-field>
<input matInput placeholder="Deploy altitude" [(ngModel)]="defaultDeployAltitude">
<button mat-button *ngIf="defaultDeployAltitude" matSuffix mat-icon-button aria-label="Clear"
(click)="defaultDeployAltitude=''">
<mat-icon>close</mat-icon>
</button>
</mat-form-field>
<mat-form-field>
<input matInput placeholder="Count of jumps" [(ngModel)]="countOfJumps">
<button mat-button *ngIf="countOfJumps" matSuffix mat-icon-button aria-label="Clear" (click)="countOfJumps=''">
<mat-icon>close</mat-icon>
</button>
</mat-form-field>
</div>