From 888903cef179cc0037858546310f6b9927f1f29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Andr=C3=A9?= Date: Wed, 1 Apr 2020 19:59:45 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20de=20style=20+=20diminution=20=C3=A0=2050?= =?UTF-8?q?0ms=20de=20wait=20sur=20l'affichage=20des=20datas=20pour=20les?= =?UTF-8?q?=20tableaux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../list-of-aircrafts.component.ts | 2 +- .../app/list-of-dzs/list-of-dzs.component.ts | 2 +- .../list-of-gears/list-of-gears.component.ts | 2 +- .../list-of-jump-types.component.ts | 2 +- .../list-of-jumps/list-of-jumps.component.ts | 38 +++++++++---------- .../src/app/login/login.component.html | 2 +- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Front/skydivelogs-app/src/app/list-of-aircrafts/list-of-aircrafts.component.ts b/Front/skydivelogs-app/src/app/list-of-aircrafts/list-of-aircrafts.component.ts index be5bbb0..a244367 100644 --- a/Front/skydivelogs-app/src/app/list-of-aircrafts/list-of-aircrafts.component.ts +++ b/Front/skydivelogs-app/src/app/list-of-aircrafts/list-of-aircrafts.component.ts @@ -43,7 +43,7 @@ export class ListOfAircraftsComponent implements OnInit { this.dataSourceTable = new MatTableDataSource(data); this.dataSourceTable.paginator = this.paginator; this.resultsLength = data.length; - }, 2000); + }, 500); }); } diff --git a/Front/skydivelogs-app/src/app/list-of-dzs/list-of-dzs.component.ts b/Front/skydivelogs-app/src/app/list-of-dzs/list-of-dzs.component.ts index d08ed12..a688d97 100644 --- a/Front/skydivelogs-app/src/app/list-of-dzs/list-of-dzs.component.ts +++ b/Front/skydivelogs-app/src/app/list-of-dzs/list-of-dzs.component.ts @@ -52,7 +52,7 @@ export class ListOfDzsComponent implements OnInit { this.dataSourceTable = new MatTableDataSource(data); this.dataSourceTable.paginator = this.paginator; this.resultsLength = data.length; - }, 2000); + }, 500); }); } diff --git a/Front/skydivelogs-app/src/app/list-of-gears/list-of-gears.component.ts b/Front/skydivelogs-app/src/app/list-of-gears/list-of-gears.component.ts index 87b4946..2f66813 100644 --- a/Front/skydivelogs-app/src/app/list-of-gears/list-of-gears.component.ts +++ b/Front/skydivelogs-app/src/app/list-of-gears/list-of-gears.component.ts @@ -50,7 +50,7 @@ export class ListOfGearsComponent implements OnInit { this.dataSourceTable = new MatTableDataSource(data); this.dataSourceTable.paginator = this.paginator; this.resultsLength = data.length; - }, 2000); + }, 500); }); } diff --git a/Front/skydivelogs-app/src/app/list-of-jump-types/list-of-jump-types.component.ts b/Front/skydivelogs-app/src/app/list-of-jump-types/list-of-jump-types.component.ts index 7d2c77c..8039b01 100644 --- a/Front/skydivelogs-app/src/app/list-of-jump-types/list-of-jump-types.component.ts +++ b/Front/skydivelogs-app/src/app/list-of-jump-types/list-of-jump-types.component.ts @@ -43,7 +43,7 @@ export class ListOfJumpTypesComponent implements OnInit { this.dataSourceTable = new MatTableDataSource(data); this.dataSourceTable.paginator = this.paginator; this.resultsLength = data.length; - }, 2000); + }, 500); }); } diff --git a/Front/skydivelogs-app/src/app/list-of-jumps/list-of-jumps.component.ts b/Front/skydivelogs-app/src/app/list-of-jumps/list-of-jumps.component.ts index 3c43a97..a25a4d8 100644 --- a/Front/skydivelogs-app/src/app/list-of-jumps/list-of-jumps.component.ts +++ b/Front/skydivelogs-app/src/app/list-of-jumps/list-of-jumps.component.ts @@ -1,26 +1,26 @@ -import { Component, OnInit, ViewChild } from '@angular/core'; -import { MatPaginator } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { Component, OnInit, ViewChild } from "@angular/core"; +import { MatPaginator } from "@angular/material/paginator"; +import { MatTableDataSource } from "@angular/material/table"; -import { Observable } from 'rxjs'; -import { JumpResp } from '../../models/jump'; -import { JumpService } from '../../services/jump.service'; -import { ServiceComm } from '../../services/service-comm.service'; +import { Observable } from "rxjs"; +import { JumpResp } from "../../models/jump"; +import { JumpService } from "../../services/jump.service"; +import { ServiceComm } from "../../services/service-comm.service"; @Component({ - selector: 'app-list-of-jumps', - templateUrl: './list-of-jumps.component.html', - styleUrls: ['./list-of-jumps.component.css'] + selector: "app-list-of-jumps", + templateUrl: "./list-of-jumps.component.html", + styleUrls: ["./list-of-jumps.component.css"] }) export class ListOfJumpsComponent implements OnInit { public listOfJumps: Observable>; public displayedColumns: Array = [ - 'id', - 'jumpDate', - 'jumpType', - 'aircraft', - 'dropZone', - 'gear' + "id", + "jumpDate", + "jumpType", + "aircraft", + "dropZone", + "gear" ]; public dataSourceTable; public resultsLength = 0; @@ -29,10 +29,10 @@ export class ListOfJumpsComponent implements OnInit { constructor( private serviceApi: JumpService, private serviceComm: ServiceComm - ) { } + ) {} ngOnInit() { - this.serviceComm.UpdatedComponentTitle('List of jumps'); + this.serviceComm.UpdatedComponentTitle("List of jumps"); this.getListOfJumps(); } @@ -44,7 +44,7 @@ export class ListOfJumpsComponent implements OnInit { this.dataSourceTable = new MatTableDataSource(data); this.dataSourceTable.paginator = this.paginator; this.resultsLength = data.length; - }, 2000); + }, 500); }); } } diff --git a/Front/skydivelogs-app/src/app/login/login.component.html b/Front/skydivelogs-app/src/app/login/login.component.html index ef3dde6..18b44d6 100644 --- a/Front/skydivelogs-app/src/app/login/login.component.html +++ b/Front/skydivelogs-app/src/app/login/login.component.html @@ -1,4 +1,4 @@ -
+

Login to the Skydive log