From 23ffc3465640ba863fb9e7497bbb6f524c19116e Mon Sep 17 00:00:00 2001 From: Emil Abraham Date: Wed, 10 Apr 2019 13:22:25 -0400 Subject: [PATCH] Improved layout, better responsive design, label colors implemented for faults/statuses --- src/app/statistics/statistics.component.css | 21 ++- src/app/statistics/statistics.component.html | 152 ++++++------------- 2 files changed, 65 insertions(+), 108 deletions(-) diff --git a/src/app/statistics/statistics.component.css b/src/app/statistics/statistics.component.css index b721f9c..a16be29 100644 --- a/src/app/statistics/statistics.component.css +++ b/src/app/statistics/statistics.component.css @@ -21,11 +21,7 @@ mwl-gauge > .gauge > .value-text { font-weight: bold; font-size: 1em; } -.fusioncharts -{ - position: relative; - padding: 5px; -} + h6 { font-size: 13px; @@ -38,3 +34,18 @@ h6 { font-size: 14px; } +.gauges +{ + display: flex; + justify-content: center;margin-right: auto; + margin-left: auto; +} +.badge +{ + display:inline-block; + width:100%; + padding: 8px; + height: 100%; + height: 46px; +} + diff --git a/src/app/statistics/statistics.component.html b/src/app/statistics/statistics.component.html index 65d94df..21cda6b 100644 --- a/src/app/statistics/statistics.component.html +++ b/src/app/statistics/statistics.component.html @@ -25,18 +25,18 @@
-
+
- +
- +
@@ -44,7 +44,7 @@
- +
@@ -52,7 +52,7 @@
- +
@@ -60,7 +60,7 @@
- +
@@ -68,7 +68,7 @@
- +
@@ -76,7 +76,7 @@
- +
@@ -84,7 +84,7 @@
- +
@@ -92,7 +92,7 @@
- +
@@ -101,118 +101,64 @@
-
-
+
+
-

Faults

+

Faults

-
-

Overcrank

+
+
Overcrank
-
-

light

+
+
High Engine
Temperature
-
-

High Engine Temperature

+
+
Low Oil
Pressure
-
-

light

+
+
Overspeed
-
-

Low Oil Pressure

+
+
Emergency Stop
-
-

light

+
+
Low Fuel
-
-

Overspeed

+
+
Low Coolant
Level/Aux
-
-

light

+
+
Low Cranking
Voltage
-
-

Emergency Stop

+
+
Battery Voltage
(Hi/Lo)
-
-

light

-
-
-

Low Fuel

-
-
-

light

-
-
-

Low Coolant Level/Aux

-
-
-

light

-
-
-

Low Coolant Temperature

-
-
-

light

-
-
-

Low Cranking Voltage

-
-
-

light

-
-
-

Battery Voltage (Hi/Lo)

-
-
-

light

-
-
-

Battery Charger Fail

-
-
-

light

-
-
-

Common Fault

-
-
-

light

+
+
Battery Charger
Fail
+
+
Common Fault
+
-
+
-

System Status

-
-
-

EPS Supplying Load

-
-
-

light

-
-
-

Not-In-Auto

-
-
-

light

-
-
-

System Ready

-
-
-

light

+

System Status

-
-

Generator Running

+
+
EPS Supplying
Load
-
-

light

+
+
Not-In-Auto
-
-

Comm. Status

+
+
System Running
-
-

light

+
+
Generator
Running
+
+
Communication
Status
+