repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor(ui): cleanup vue.js app initialization code and logic
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
components
/
charging-stations
/
CSTable.vue
diff --git
a/ui/web/src/components/charging-stations/CSTable.vue
b/ui/web/src/components/charging-stations/CSTable.vue
index 6fcf74683384943a8370ad6767adec8ca196ebc4..3d9efbbf2471cb1239f3e64c51262923f8d45021 100644
(file)
--- a/
ui/web/src/components/charging-stations/CSTable.vue
+++ b/
ui/web/src/components/charging-stations/CSTable.vue
@@
-1,14
+1,10
@@
<template>
<table id="cs-table">
<template>
<table id="cs-table">
- <caption>
- Charging
s
tations
+ <caption
id="cs-table__caption"
>
+ Charging
S
tations
</caption>
<thead id="cs-table__head">
<tr class="cs-table__row">
</caption>
<thead id="cs-table__head">
<tr class="cs-table__row">
- <th scope="col" class="cs-table__column">Action</th>
- <th scope="col" class="cs-table__column">Connector</th>
- <th scope="col" class="cs-table__column">Status</th>
- <th scope="col" class="cs-table__column">Transaction</th>
<th scope="col" class="cs-table__column">Name</th>
<th scope="col" class="cs-table__column">Started</th>
<th scope="col" class="cs-table__column">Supervision Url</th>
<th scope="col" class="cs-table__column">Name</th>
<th scope="col" class="cs-table__column">Started</th>
<th scope="col" class="cs-table__column">Supervision Url</th>
@@
-17,7
+13,9
@@
<th scope="col" class="cs-table__column">Template</th>
<th scope="col" class="cs-table__column">Vendor</th>
<th scope="col" class="cs-table__column">Model</th>
<th scope="col" class="cs-table__column">Template</th>
<th scope="col" class="cs-table__column">Vendor</th>
<th scope="col" class="cs-table__column">Model</th>
- <th scope="col" class="cs-table__column">Firmware Version</th>
+ <th scope="col" class="cs-table__column">Firmware</th>
+ <th scope="col" class="cs-table__column">Actions</th>
+ <th scope="col" class="cs-table__connectors-column">Connector(s)</th>
</tr>
</thead>
<tbody id="cs-table__body">
</tr>
</thead>
<tbody id="cs-table__body">
@@
-32,7
+30,7
@@
</template>
<script setup lang="ts">
</template>
<script setup lang="ts">
-import CSData from '
.
/CSData.vue'
+import CSData from '
@/components/charging-stations
/CSData.vue'
import type { ChargingStationData } from '@/types'
const props = defineProps<{
import type { ChargingStationData } from '@/types'
const props = defineProps<{
@@
-61,8
+59,12
@@
const props = defineProps<{
flex-direction: column;
}
flex-direction: column;
}
-#cs-table__body {
- overflow: visible overlay;
+#cs-table__caption {
+ color: white;
+ background-color: black;
+ font-size: 1.5rem;
+ font-weight: bold;
+ padding: 0.5rem;
}
.cs-table__row {
}
.cs-table__row {
@@
-74,16
+76,22
@@
const props = defineProps<{
}
#cs-table__head .cs-table__row {
}
#cs-table__head .cs-table__row {
- background-color:
rgb(194, 188, 188)
;
+ background-color:
lightgrey
;
}
.cs-table__row:nth-of-type(even) {
}
.cs-table__row:nth-of-type(even) {
- background-color:
rgb(223, 217, 217)
;
+ background-color:
whitesmoke
;
}
.cs-table__column {
height: fit-content;
}
.cs-table__column {
height: fit-content;
- width: calc(100% / 13);
+ width: calc(65% / 10);
+ text-align: center;
+}
+
+.cs-table__connectors-column {
+ height: fit-content;
+ width: 35%;
text-align: center;
}
</style>
text-align: center;
}
</style>