Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
/>
<br />
<Button
+ id="action-button"
@click="
() => {
uiClient
>
Add Charging Stations
</Button>
- <Button @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
+ <Button id="action-button" @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
</template>
<script setup lang="ts">
/>
<br />
<Button
+ id="action-button"
@click="
() => {
uiClient
>
Set Supervision Url
</Button>
- <Button @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
+ <Button id="action-button" @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
</template>
<script setup lang="ts">
<input id="idtag" v-model.trim="state.idTag" type="text" name="idtag" placeholder="RFID tag" />
<br />
<Button
+ id="action-button"
@click="
() => {
uiClient
>
Start Transaction
</Button>
- <Button @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
+ <Button id="action-button" @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
</template>
<script setup lang="ts">
<template>
- <button type="button">
+ <button type="button" class="button">
<slot></slot>
</button>
</template>
+
+<style>
+.button {
+ flex: auto;
+}
+</style>
<template>
<Container id="charging-stations-container">
<Container id="buttons-container">
- <Button id="button" @click="startSimulator()">Start Simulator</Button>
- <Button id="button" @click="stopSimulator()">Stop Simulator</Button>
- <Button id="button" @click="$router.push({ name: 'add-charging-stations' })">
+ <Button @click="startSimulator()">Start Simulator</Button>
+ <Button @click="stopSimulator()">Stop Simulator</Button>
+ <Button @click="$router.push({ name: 'add-charging-stations' })">
Add Charging Stations
</Button>
<ReloadButton
flex-direction: row;
}
-#button {
- flex: auto;
+#action-button {
+ flex: none;
}
#reload-button {