X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fviews%2FChargingStationsView.vue;h=6f589ccc6a8030136f4449ac5de1a2e64daaf78e;hb=c63085548339556d66ced562e9649a84d0544ff4;hp=b15ce3f5ff338645abebcda0681244d9a28a8bd2;hpb=bad93db30828b729fa9611d849c76c3ea1965e3d;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index b15ce3f5..6f589ccc 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -72,6 +72,7 @@ " > {{ state.simulatorState?.started === true ? 'Stop' : 'Start' }} Simulator + {{ state.simulatorState?.version != null ? ` (${state.simulatorState?.version})` : '' }} ({ renderSimulator: randomUUID(), @@ -170,7 +171,7 @@ const getSimulatorState = (): void => { uiClient .simulatorState() .then((response: ResponsePayload) => { - state.value.simulatorState = response.state as { started: boolean } + state.value.simulatorState = response.state as SimulatorState }) .catch((error: Error) => { $toast.error('Error at fetching simulator state') @@ -304,6 +305,7 @@ const stopSimulator = (): void => { #ui-server-selector { width: 100%; background-color: rgb(239, 239, 239); + font: small-caption; text-align: center; } @@ -333,8 +335,7 @@ const stopSimulator = (): void => { #reload-button { color: ivory; background-color: blue; - font-size: 1.5rem; - font-weight: bold; + font-size: 2rem; } #reload-button:hover {