From 2d8f27cf7a02a117346dd945b0da0de965f69bfb Mon Sep 17 00:00:00 2001 From: chillwafflez Date: Fri, 15 Mar 2024 23:01:50 -0700 Subject: [PATCH] created initial layout for vehicle status component. contains name, status, battery, and connection. created a test basic map layout to display vehicle status components --- src/components/VehicleStatus/Battery.vue | 4 +- .../VehicleStatus/EmergencyStop.vue | 63 +++++++++++++ src/components/VehicleStatus/VehicleTitle.vue | 40 +++++++++ src/components/VehicleStatusComponent.vue | 88 +++++++++++++++++++ src/testDisplayComponents.vue | 9 +- src/testMapScreen.vue | 52 +++++++++++ 6 files changed, 252 insertions(+), 4 deletions(-) create mode 100644 src/components/VehicleStatus/EmergencyStop.vue create mode 100644 src/components/VehicleStatus/VehicleTitle.vue create mode 100644 src/testMapScreen.vue diff --git a/src/components/VehicleStatus/Battery.vue b/src/components/VehicleStatus/Battery.vue index d85d569..bd6e2bf 100644 --- a/src/components/VehicleStatus/Battery.vue +++ b/src/components/VehicleStatus/Battery.vue @@ -106,7 +106,7 @@ } #battery_progress { - background-color: rgb(116, 194, 92); + background-color: rgb(83, 255, 83); border-radius: 12%; height:100%; width: 100%; @@ -132,7 +132,7 @@ height:100%; } .normalPercent { - background-color: rgb(116, 194, 92); + background-color: rgb(87, 255, 87); border-radius: 12%; } diff --git a/src/components/VehicleStatus/EmergencyStop.vue b/src/components/VehicleStatus/EmergencyStop.vue new file mode 100644 index 0000000..5947a9d --- /dev/null +++ b/src/components/VehicleStatus/EmergencyStop.vue @@ -0,0 +1,63 @@ + + + + + + \ No newline at end of file diff --git a/src/components/VehicleStatus/VehicleTitle.vue b/src/components/VehicleStatus/VehicleTitle.vue new file mode 100644 index 0000000..51733c5 --- /dev/null +++ b/src/components/VehicleStatus/VehicleTitle.vue @@ -0,0 +1,40 @@ + + + + + + \ No newline at end of file diff --git a/src/components/VehicleStatusComponent.vue b/src/components/VehicleStatusComponent.vue index e69de29..52dc902 100644 --- a/src/components/VehicleStatusComponent.vue +++ b/src/components/VehicleStatusComponent.vue @@ -0,0 +1,88 @@ + + + + + + \ No newline at end of file diff --git a/src/testDisplayComponents.vue b/src/testDisplayComponents.vue index a2f96b9..ffe9f06 100644 --- a/src/testDisplayComponents.vue +++ b/src/testDisplayComponents.vue @@ -3,9 +3,14 @@ diff --git a/src/testMapScreen.vue b/src/testMapScreen.vue new file mode 100644 index 0000000..38d645e --- /dev/null +++ b/src/testMapScreen.vue @@ -0,0 +1,52 @@ + + + + +