Add buttons to navigate between jump

page (new and list)
This commit is contained in:
Sébastien André
2021-01-07 18:18:07 +01:00
parent 09fda134fc
commit 51c509e4fe
2 changed files with 4 additions and 0 deletions

View File

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

View File

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