X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fviews%2FChargingStationsView.vue;h=6f589ccc6a8030136f4449ac5de1a2e64daaf78e;hb=c63085548339556d66ced562e9649a84d0544ff4;hp=bd9b239c0463b6073521dffae8427ce25f073111;hpb=32333395b91289fdc2ecf1400dfea60e20efd1e6;p=e-mobility-charging-stations-simulator.git
diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue
index bd9b239c..6f589ccc 100644
--- a/ui/web/src/views/ChargingStationsView.vue
+++ b/ui/web/src/views/ChargingStationsView.vue
@@ -1,47 +1,238 @@
-
+
-
-
-
-
-
-
+
+
+
+ {{ state.simulatorState?.started === true ? 'Stop' : 'Start' }} Simulator
+ {{ state.simulatorState?.version != null ? ` (${state.simulatorState?.version})` : '' }}
+
+ {
+ state.renderChargingStations = randomUUID()
+ }
+ "
+ >
+ Add Charging Stations
+
+ (state.renderChargingStations = randomUUID()))"
/>
0
+ "
+ :key="state.renderChargingStations"
+ :charging-stations="app?.appContext.config.globalProperties.$chargingStations"
+ @need-refresh="
+ () => {
+ state.renderAddChargingStations = randomUUID()
+ state.renderChargingStations = randomUUID()
+ }
"
- :id-tag="state.idTag"
/>