<Button @click="stopChargingStation()">Stop Charging Station</Button>
<Button @click="openConnection()">Open Connection</Button>
<Button @click="closeConnection()">Close Connection</Button>
+ <Button @click="deleteChargingStation()">Delete Charging Station</Button>
</td>
<td class="cs-table__connectors-column">
<table id="connectors-table">
function closeConnection(): void {
UIClient.closeConnection(getHashId())
}
+function deleteChargingStation(): void {
+ UIClient.deleteChargingStation(getHashId())
+}
// function showTagModal(): void {
// state.isTagModalVisible = true
// }
<style>
#connectors-table {
display: flex;
- background-color: white;
flex-direction: column;
+ background-color: white;
overflow: auto hidden;
border-collapse: collapse;
empty-cells: show;
}
-#connectors-table__head,
#connectors-table__body {
display: flex;
flex-direction: column;
}
.connectors-table__row {
- min-height: 4rem;
display: flex;
+ flex-direction: row;
justify-content: center;
align-items: center;
}
-#connectors-table__head .connectors-table__row {
- background-color: lightgrey;
-}
-
.connectors-table__row:nth-of-type(even) {
background-color: whitesmoke;
}
+#connectors-table__head .connectors-table__row {
+ background-color: lightgrey;
+}
+
.connectors-table__column {
width: calc(100% / 5);
text-align: center;