refactor(ui): refine action bar style
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / actions / SetSupervisionUrl.vue
index d9de85d8951a11d5390bd5469724aa051a93be16..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
@@ -7,10 +8,11 @@
     v-model.trim="state.supervisionUrl"
     type="url"
     name="supervision-url"
-    placeholder="supervision url"
+    placeholder="wss://"
   />
   <br />
   <Button
+    id="action-button"
     @click="
       () => {
         uiClient
           })
       }
     "
-    >Set Supervision Url</Button
   >
-  <Button @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
+    Set Supervision Url
+  </Button>
+  <Button id="action-button" @click="$router.push({ name: 'charging-stations' })">Cancel</Button>
 </template>
 
 <script setup lang="ts">
@@ -42,7 +45,7 @@ const props = defineProps<{
 }>()
 
 const state = reactive({
-  supervisionUrl: 'ws://'
+  supervisionUrl: ''
 })
 
 const uiClient = getCurrentInstance()?.appContext.config.globalProperties.$uiClient