|
40 | 40 | Der PIN muss aus 4 bis 10 Zahlen bestehen.
|
41 | 41 | </template>
|
42 | 42 | </openwb-base-text-input>
|
43 |
| - <openwb-base-heading>Ansicht "Übersicht"</openwb-base-heading> |
| 43 | + <openwb-base-heading>Ansichten</openwb-base-heading> |
44 | 44 | <openwb-base-button-group-input
|
45 | 45 | title="Übersicht anzeigen"
|
46 | 46 | :model-value="displayTheme.configuration.enable_dashboard_view"
|
|
64 | 64 | ]"
|
65 | 65 | />
|
66 | 66 | <openwb-base-button-group-input
|
67 |
| - v-if="displayTheme.configuration.enable_dashboard_view" |
68 |
| - title="EVU anzeigen" |
69 |
| - :model-value="displayTheme.configuration.enable_dashboard_card_grid" |
| 67 | + title="Energiefluss anzeigen" |
| 68 | + :model-value="displayTheme.configuration.enable_energy_flow_view" |
70 | 69 | @update:model-value="
|
71 | 70 | updateConfiguration(
|
72 | 71 | $event,
|
73 |
| - 'configuration.enable_dashboard_card_grid', |
| 72 | + 'configuration.enable_energy_flow_view', |
74 | 73 | )
|
75 | 74 | "
|
76 | 75 | :buttons="[
|
|
87 | 86 | ]"
|
88 | 87 | />
|
89 | 88 | <openwb-base-button-group-input
|
90 |
| - v-if="displayTheme.configuration.enable_dashboard_view" |
91 |
| - title="Hausverbrauch anzeigen" |
92 |
| - :model-value=" |
93 |
| - displayTheme.configuration |
94 |
| - .enable_dashboard_card_home_consumption |
| 89 | + title="Ladepunkte anzeigen" |
| 90 | + :model-value="displayTheme.configuration.enable_charge_points_view" |
| 91 | + @update:model-value=" |
| 92 | + updateConfiguration( |
| 93 | + $event, |
| 94 | + 'configuration.enable_charge_points_view', |
| 95 | + ) |
95 | 96 | "
|
| 97 | + :buttons="[ |
| 98 | + { |
| 99 | + buttonValue: false, |
| 100 | + text: 'Aus', |
| 101 | + class: 'btn-outline-danger', |
| 102 | + }, |
| 103 | + { |
| 104 | + buttonValue: true, |
| 105 | + text: 'An', |
| 106 | + class: 'btn-outline-success', |
| 107 | + }, |
| 108 | + ]" |
| 109 | + /> |
| 110 | + <openwb-base-button-group-input |
| 111 | + v-if="displayTheme.configuration.enable_charge_points_view == true" |
| 112 | + title="Einfache Ansicht der Ladepunkte" |
| 113 | + :model-value="displayTheme.configuration.simple_charge_point_view" |
96 | 114 | @update:model-value="
|
97 | 115 | updateConfiguration(
|
98 | 116 | $event,
|
99 |
| - 'configuration.enable_dashboard_card_home_consumption', |
| 117 | + 'configuration.simple_charge_point_view', |
100 | 118 | )
|
101 | 119 | "
|
102 | 120 | :buttons="[
|
|
113 | 131 | ]"
|
114 | 132 | />
|
115 | 133 | <openwb-base-button-group-input
|
116 |
| - v-if="displayTheme.configuration.enable_dashboard_view" |
117 |
| - title="Batteriespeicher anzeigen" |
118 |
| - :model-value=" |
119 |
| - displayTheme.configuration.enable_dashboard_card_battery_sum |
| 134 | + title="Status anzeigen" |
| 135 | + :model-value="displayTheme.configuration.enable_status_view" |
| 136 | + @update:model-value=" |
| 137 | + updateConfiguration($event, 'configuration.enable_status_view') |
120 | 138 | "
|
| 139 | + :buttons="[ |
| 140 | + { |
| 141 | + buttonValue: false, |
| 142 | + text: 'Aus', |
| 143 | + class: 'btn-outline-danger', |
| 144 | + }, |
| 145 | + { |
| 146 | + buttonValue: true, |
| 147 | + text: 'An', |
| 148 | + class: 'btn-outline-success', |
| 149 | + }, |
| 150 | + ]" |
| 151 | + /> |
| 152 | + <openwb-base-heading> |
| 153 | + Datenauswahl |
| 154 | + <template #help> |
| 155 | + Hier kann festgelegt werden, welche Daten in den Ansichten |
| 156 | + "Übersicht" und "Energiefluss" angezeigt werden. |
| 157 | + </template> |
| 158 | + </openwb-base-heading> |
| 159 | + <openwb-base-button-group-input |
| 160 | + title="EVU anzeigen" |
| 161 | + :model-value="displayTheme.configuration.enable_dashboard_card_grid" |
121 | 162 | @update:model-value="
|
122 | 163 | updateConfiguration(
|
123 | 164 | $event,
|
124 |
| - 'configuration.enable_dashboard_card_battery_sum', |
| 165 | + 'configuration.enable_dashboard_card_grid', |
125 | 166 | )
|
126 | 167 | "
|
127 | 168 | :buttons="[
|
|
138 | 179 | ]"
|
139 | 180 | />
|
140 | 181 | <openwb-base-button-group-input
|
141 |
| - v-if="displayTheme.configuration.enable_dashboard_view" |
142 |
| - title="Ladepunkte anzeigen" |
| 182 | + title="Hausverbrauch anzeigen" |
143 | 183 | :model-value="
|
144 | 184 | displayTheme.configuration
|
145 |
| - .enable_dashboard_card_charge_point_sum |
| 185 | + .enable_dashboard_card_home_consumption |
146 | 186 | "
|
147 | 187 | @update:model-value="
|
148 | 188 | updateConfiguration(
|
149 | 189 | $event,
|
150 |
| - 'configuration.enable_dashboard_card_charge_point_sum', |
| 190 | + 'configuration.enable_dashboard_card_home_consumption', |
151 | 191 | )
|
152 | 192 | "
|
153 | 193 | :buttons="[
|
|
164 | 204 | ]"
|
165 | 205 | />
|
166 | 206 | <openwb-base-button-group-input
|
167 |
| - v-if="displayTheme.configuration.enable_dashboard_view" |
168 | 207 | title="PV anzeigen"
|
169 | 208 | :model-value="
|
170 | 209 | displayTheme.configuration.enable_dashboard_card_inverter_sum
|
|
188 | 227 | },
|
189 | 228 | ]"
|
190 | 229 | />
|
191 |
| - <openwb-base-heading>Ansicht "Ladepunkte"</openwb-base-heading> |
| 230 | + <openwb-base-button-group-input |
| 231 | + title="Batteriespeicher anzeigen" |
| 232 | + :model-value=" |
| 233 | + displayTheme.configuration.enable_dashboard_card_battery_sum |
| 234 | + " |
| 235 | + @update:model-value=" |
| 236 | + updateConfiguration( |
| 237 | + $event, |
| 238 | + 'configuration.enable_dashboard_card_battery_sum', |
| 239 | + ) |
| 240 | + " |
| 241 | + :buttons="[ |
| 242 | + { |
| 243 | + buttonValue: false, |
| 244 | + text: 'Aus', |
| 245 | + class: 'btn-outline-danger', |
| 246 | + }, |
| 247 | + { |
| 248 | + buttonValue: true, |
| 249 | + text: 'An', |
| 250 | + class: 'btn-outline-success', |
| 251 | + }, |
| 252 | + ]" |
| 253 | + /> |
192 | 254 | <openwb-base-button-group-input
|
193 | 255 | title="Ladepunkte anzeigen"
|
194 |
| - :model-value="displayTheme.configuration.enable_charge_points_view" |
| 256 | + :model-value=" |
| 257 | + displayTheme.configuration |
| 258 | + .enable_dashboard_card_charge_point_sum |
| 259 | + " |
195 | 260 | @update:model-value="
|
196 | 261 | updateConfiguration(
|
197 | 262 | $event,
|
198 |
| - 'configuration.enable_charge_points_view', |
| 263 | + 'configuration.enable_dashboard_card_charge_point_sum', |
199 | 264 | )
|
200 | 265 | "
|
201 | 266 | :buttons="[
|
|
211 | 276 | },
|
212 | 277 | ]"
|
213 | 278 | />
|
214 |
| - <openwb-base-heading>Ansicht "Status"</openwb-base-heading> |
215 | 279 | <openwb-base-button-group-input
|
216 |
| - title="Status anzeigen" |
217 |
| - :model-value="displayTheme.configuration.enable_status_view" |
| 280 | + title="Fahrzeuge anzeigen" |
| 281 | + :model-value=" |
| 282 | + displayTheme.configuration.enable_dashboard_card_vehicles |
| 283 | + " |
218 | 284 | @update:model-value="
|
219 |
| - updateConfiguration($event, 'configuration.enable_status_view') |
| 285 | + updateConfiguration( |
| 286 | + $event, |
| 287 | + 'configuration.enable_dashboard_card_vehicles', |
| 288 | + ) |
220 | 289 | "
|
221 | 290 | :buttons="[
|
222 | 291 | {
|
|
0 commit comments