refactor(ui): refine action bar style
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 19 Feb 2024 21:27:35 +0000 (22:27 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 19 Feb 2024 21:27:35 +0000 (22:27 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/src/components/actions/AddChargingStations.vue
ui/web/src/components/actions/SetSupervisionUrl.vue
ui/web/src/components/actions/StartTransaction.vue
ui/web/src/views/ChargingStationsView.vue

index f2af0905660aa0d3c01761d8d76c8098f38e0a7d..9acd2d5e67c5c15f62923cd7a96fd66a9bc43c6b 100644 (file)
@@ -1,5 +1,6 @@
 <template>
-  <h2>Action Add Charging Stations</h2>
+  <h1 id="action">Action</h1>
+  <h2>Add Charging Stations</h2>
   <p>Template:</p>
   <select v-if="state.ready" v-model="state.template">
     <option disabled value="">Please select a template</option>
index 6c06ccef5f546f82d4dedf4f96c11744b4874335..e50316bf844f57775adb8712865f78adcae997ea 100644 (file)
@@ -1,5 +1,6 @@
 <template>
-  <h2>Action Set Supervision Url</h2>
+  <h1 id="action">Action</h1>
+  <h2>Set Supervision Url</h2>
   <h3>Charging Station {{ chargingStationId }}</h3>
   <p>Supervision Url:</p>
   <input
index ecc5f2da6fb28487406b50b4ac97fe32da0e88ea..5e83983f34512ab1057d65f98a069bafc3c1200d 100644 (file)
@@ -1,5 +1,6 @@
 <template>
-  <h2>Action Start Transaction</h2>
+  <h1 id="action">Action</h1>
+  <h2>Start Transaction</h2>
   <h3>Connector {{ connectorId }} on {{ chargingStationId }}</h3>
   <p>Scan RFID tag:</p>
   <input id="idtag" v-model.trim="state.idTag" type="text" name="idtag" placeholder="RFID tag" />
index a022e39818105572a428299c100538c735778e73..8df77d92429646b638ce576b7e2df4085b22f6db 100644 (file)
@@ -115,4 +115,10 @@ const stopSimulator = (): void => {
 #reload-button:active {
   background-color: red;
 }
+
+#action {
+  color: white;
+  background-color: black;
+  padding: 1%;
+}
 </style>