From 70e73a4925676b0dae0c54e20fb4a2a234a3e8f9 Mon Sep 17 00:00:00 2001 From: Nile Walker Date: Fri, 29 Jan 2021 21:37:42 -0500 Subject: [PATCH] css changes --- src/app/graphs/graphs.component.css | 5 +- src/app/graphs/graphs.component.html | 230 ++++++++++++++------------- src/app/graphs/graphs.component.ts | 6 - 3 files changed, 121 insertions(+), 120 deletions(-) diff --git a/src/app/graphs/graphs.component.css b/src/app/graphs/graphs.component.css index 217fc20..f1a6c00 100644 --- a/src/app/graphs/graphs.component.css +++ b/src/app/graphs/graphs.component.css @@ -1,5 +1,8 @@ +/* https://css-tricks.com/dont-overthink-flexbox-grids/ */ .flex-grid { display: flex; + + align-items: center; } .flex-grid .col { flex: 1; @@ -24,8 +27,6 @@ } - - * { box-sizing: border-box; } diff --git a/src/app/graphs/graphs.component.html b/src/app/graphs/graphs.component.html index 7e96c48..3930a2b 100644 --- a/src/app/graphs/graphs.component.html +++ b/src/app/graphs/graphs.component.html @@ -39,138 +39,144 @@ - - - -
-

Search

-
- -
-
- -
-
- -
-
-
- +
- - - - - - - - +
+

Search

+
+
+ +
+
+ +
+
+ +
- - Location ID(s) - - +
+ + + + + + + + +
+
+ + Location ID(s) + + +
- - Student ID(s) - - +
+ + Student ID(s) + + +
+ +
+ + Compute ID(s) + + +
+
+ +
+ +
+ + +

{{ChartName}}

+
+ +
+ +
+
+ + + +

Average Count By Weekday For {{form.start_date | date}} - {{form.end_date | date}}

+
+ +
+ + +
+
+ + + +

Average Count By Hour For {{form.start_date | date}} - {{form.end_date | date}}

+
+ +
+ + +
+ +
- - Compute ID(s) - -
-
-
- + -

{{ChartName}}

+

Records to be processed

- - -
+ - - -

Average Count By Weekday For {{form.start_date | date}} - {{form.end_date | date}}

-
- -
- - -
-
- - - -

Average Count By Hour For {{form.start_date | date}} - {{form.end_date | date}}

-
- -
- - -
- -
- - - - - -

Records to be processed

-
- -
- - - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - + - - - - - - - - - -
Barcode Barcode {{sample.barcode}} {{sample.barcode}} Date Date {{sample.date}} {{sample.date}} Location Location Location: {{sample.location}}
Station: - {{sample.station}}
Location: {{sample.location}}
Station: + {{sample.station}}
IDs - Compute ID: {{sample.compute_id}}
Student ID: {{sample.student_id}} -
Contacts - Phone: {{sample.phone}}
Email: {{sample.email}} -
+ IDs + + Compute ID: {{sample.compute_id}}
Student ID: {{sample.student_id}} + + + + Contacts + + Phone: {{sample.phone}}
Email: {{sample.email}} + +
+ + + -
+
diff --git a/src/app/graphs/graphs.component.ts b/src/app/graphs/graphs.component.ts index e4a3660..312d298 100644 --- a/src/app/graphs/graphs.component.ts +++ b/src/app/graphs/graphs.component.ts @@ -8,12 +8,6 @@ import { SearchForm } from '../models/search_form' import {PageEvent} from '@angular/material/paginator' import * as pluginDataLabels from 'chartjs-plugin-datalabels'; -export interface Tile { - color: string; - cols: number; - rows: number; - text: string; -} @Component({ selector: 'app-graphs',