From f1f82b9dd11e62ad8ecc009071630c3c16fc1a6c Mon Sep 17 00:00:00 2001 From: Tim Herbst Date: Sun, 27 Dec 2020 11:31:03 +0100 Subject: [PATCH] add routerLink to mat-table to later route to given Station * adjust color to match bootstrap blue --- .../src/app/dashboard/dashboard.component.html | 10 +++++++--- .../src/app/dashboard/dashboard.component.scss | 4 ++++ .../src/app/dashboard/dashboard.component.ts | 13 +++++-------- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html index 5a35c56..11c914f 100644 --- a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html +++ b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html @@ -48,7 +48,7 @@ {{bikePoint?.commonName}} -

{{bikePoint?.status.NbBikes}}

+

{{bikePoint?.status.NbBikes}}

@@ -71,7 +71,8 @@ - + @@ -92,7 +93,8 @@
station of lend destination {{element.endStationName}} {{element.endStationName}}
- + @@ -121,6 +123,7 @@
station of lend origin {{element.startStationName}} {{element.startStationName}}