Skip to content

Commit d0c07ba

Browse files
authored
Colors theme: fix chargeplan editor display (#3097)
* fix chargeplan editor display * add 2nd soc slider to schedule editor
1 parent 720315f commit d0c07ba

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

packages/modules/web_themes/colors/source/src/components/chargePointList/cpConfig/ConfigTimed.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ function timeString(key: number) {
9191
return `${plans.value[key].time[0]} -> ${plans.value[key].time[1]}`
9292
}
9393
function dateString(s: [string, string]) {
94-
console.log(s)
9594
const elts0 = s[0].split('-')
9695
const elts1 = s[1].split('-')
9796

packages/modules/web_themes/colors/source/src/components/chargePointList/cpConfig/EditSchedule.vue

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,34 @@
5050
</ConfigItem2>
5151
<ConfigItem2
5252
v-if="plan.limit.selected === 'soc'"
53-
title="EV-SoC"
53+
title="Ziel-SoC"
5454
icon="fa-battery-half"
5555
:fullwidth="true"
5656
>
5757
<RangeInput
5858
id="evSoc"
59-
v-model="plan.limit.soc_limit!"
59+
v-model="plan.limit.soc_scheduled!"
6060
:min="0"
6161
:max="100"
6262
:step="1"
6363
unit="%"
6464
/>
6565
</ConfigItem2>
6666
<ConfigItem2
67+
v-if="plan.limit.selected === 'soc'"
68+
title="Maximaler SoC bei Überschuss"
69+
icon="fa-battery-half"
70+
:fullwidth="true"
71+
>
72+
<RangeInput
73+
id="evSoc"
74+
v-model="plan.limit.soc_limit!"
75+
:min="0"
76+
:max="100"
77+
:step="1"
78+
unit="%"
79+
/> </ConfigItem2
80+
><ConfigItem2
6781
v-if="plan.limit.selected === 'amount'"
6882
title="Energiemenge (kWh)"
6983
icon="fa-charging-station"

packages/modules/web_themes/colors/source/src/components/shared/ModalComponent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ onMounted(() => {
4848

4949
<style scoped>
5050
.modal {
51-
opacity: 0.9;
51+
opacity: 1;
5252
}
5353
.modal-dialog {
5454
border-radius: 2px;
@@ -58,7 +58,7 @@ onMounted(() => {
5858
.modal-footer,
5959
.modal-header,
6060
.modal-body {
61-
background: var(--color-config);
61+
background: var(--color-bg);
6262
color: var(--color-fg);
6363
}
6464
.btn-close {

0 commit comments

Comments
 (0)