Style and infos jump

This commit is contained in:
Sébastien André
2021-01-13 09:26:46 +01:00
parent 22df1400bd
commit df653eef0d
4 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
<p><span>Gear : {{data.gear.mainCanopy}} ({{data.gear.mainCanopy}})</span></p>
<p><span>Cutaway : {{data.withCutaway}}</span></p>
<p><span>Gear : {{data.gear.name}} ({{data.gear.mainCanopy}})</span></p>
<p><mat-checkbox [(ngModel)]="data.withCutaway" labelPosition="before">Cutaway : </mat-checkbox></p>
<p><span>Notes : {{data.notes}}</span></p>

View File

@@ -1,7 +1,8 @@
<div class="content">
<div *ngIf="dataSourceTable != null else loading">
<div>
<button mat-raised-button color="accent" [routerLink]="['/newjump']" [routerLinkActive]="['active']" skipLocationChange>Add jumps</button>
</div>
<div *ngIf="dataSourceTable != null else loading">
<table mat-table [dataSource]="dataSourceTable">
<ng-container matColumnDef="infos">
<th mat-header-cell *matHeaderCellDef></th>

View File

@@ -19,4 +19,5 @@
justify-content: left;
flex-direction: column;
align-items: initial;
padding-top: 25px;
}

View File

@@ -1,7 +1,8 @@
<div class="content">
<div>
<button mat-raised-button color="accent" [routerLink]="['/jumps']" [routerLinkActive]="['active']" skipLocationChange>View the jumps</button>
</div>
<form class="formNewJumps" (ngSubmit)="onFormSubmit()" *ngIf="notLoadingToDisplay() else loading">
<mat-form-field>
<mat-label>Choose the jump type</mat-label>