Changement général pour avoir une bonne
hauteur et largeur sur toutes les pages
This commit is contained in:
@@ -1 +1,7 @@
|
||||
|
||||
.content {
|
||||
height: 90vh;
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
flex-direction: column;
|
||||
align-items: initial;
|
||||
}
|
||||
|
||||
@@ -1,40 +1,42 @@
|
||||
<form [formGroup]="addForm" (ngSubmit)="onSubmit(addForm.value)">
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Dropzone name</mat-label>
|
||||
<input matInput type="text" formControlName="dzName" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>GPS</mat-label>
|
||||
<input matInput type="text" formControlName="gps" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Address of the DZ</mat-label>
|
||||
<textarea matInput formControlName="address"></textarea>
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Web site</mat-label>
|
||||
<input matInput type="text" formControlName="website" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Mail of contact</mat-label>
|
||||
<input matInput type="text" formControlName="contactMail" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-checkbox formControlName="isDz">Is a dropzone</mat-checkbox>
|
||||
</p>
|
||||
<p>
|
||||
<mat-checkbox formControlName="isTunnel">Is a tunnel</mat-checkbox>
|
||||
</p>
|
||||
<div class="content">
|
||||
<form [formGroup]="addForm" (ngSubmit)="onSubmit(addForm.value)">
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Dropzone name</mat-label>
|
||||
<input matInput type="text" formControlName="dzName" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>GPS</mat-label>
|
||||
<input matInput type="text" formControlName="gps" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Address of the DZ</mat-label>
|
||||
<textarea matInput formControlName="address"></textarea>
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Web site</mat-label>
|
||||
<input matInput type="text" formControlName="website" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-form-field>
|
||||
<mat-label>Mail of contact</mat-label>
|
||||
<input matInput type="text" formControlName="contactMail" />
|
||||
</mat-form-field>
|
||||
</p>
|
||||
<p>
|
||||
<mat-checkbox formControlName="isDz">Is a dropzone</mat-checkbox>
|
||||
</p>
|
||||
<p>
|
||||
<mat-checkbox formControlName="isTunnel">Is a tunnel</mat-checkbox>
|
||||
</p>
|
||||
|
||||
<button type="submit" mat-raised-button color="accent">Add</button>
|
||||
</form>
|
||||
<button type="submit" mat-raised-button color="accent">Add</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user