X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fviews%2FChargingStationsView.vue;h=57ae3e20d7f0ba65d57a1933b1b483887f739189;hb=240fa4da80fd262158004eb576410d02afe0001f;hp=5639c99174d0c9af6480561d87410d17e441781e;hpb=1eb5f59286fc00c7f84317e82bd794d1fa126ad8;p=e-mobility-charging-stations-simulator.git
diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue
index 5639c991..57ae3e20 100644
--- a/ui/web/src/views/ChargingStationsView.vue
+++ b/ui/web/src/views/ChargingStationsView.vue
@@ -1,42 +1,225 @@
+
+
+
-
-
-
+
$router.go(0))"
+ :loading="state.loading"
+ @click="loadChargingStations(() => (state.renderChargingStations = randomUUID()))"
/>
-
+ {
+ state.renderAddChargingStations = randomUUID()
+ state.renderChargingStations = randomUUID()
+ }
+ "
+ />
@@ -89,13 +284,23 @@ const stopSimulator = (): void => {
flex-direction: column;
}
+#ui-server-container {
+ display: flex;
+ flex-direction: row;
+}
+
+#ui-server-selector {
+ width: 100%;
+ text-align: center;
+}
+
#buttons-container {
display: flex;
flex-direction: row;
}
-#button {
- flex: auto;
+#action-button {
+ flex: none;
}
#reload-button {
@@ -113,6 +318,12 @@ const stopSimulator = (): void => {
}
#reload-button:active {
- background-color: red;
+ background-color: seagreen;
+}
+
+#action {
+ color: white;
+ background-color: black;
+ padding: 1%;
}