File tree 1 file changed +46
-0
lines changed
src/components/display_themes/colors
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" display-theme-colors" >
3
+ <openwb-base-heading >Bediensperre</openwb-base-heading >
4
+ <openwb-base-button-group-input
5
+ title =" Bedienung sperren"
6
+ :model-value =" displayTheme.configuration.lock_changes"
7
+ :buttons =" [
8
+ {
9
+ buttonValue: false,
10
+ text: 'Aus',
11
+ class: 'btn-outline-danger',
12
+ },
13
+ {
14
+ buttonValue: true,
15
+ text: 'An',
16
+ class: 'btn-outline-success',
17
+ },
18
+ ]"
19
+ @update:model-value =" updateConfiguration($event, 'configuration.lock_changes')"
20
+ >
21
+ <template #help >
22
+ Die Bedienung wird automatisch nach der eingestellten Ausschaltzeit (siehe "Display Standby") wieder gesperrt.
23
+ </template >
24
+ </openwb-base-button-group-input >
25
+ <openwb-base-text-input
26
+ v-if =" displayTheme.configuration.lock_changes"
27
+ title =" PIN zur Freigabe"
28
+ subtype =" password"
29
+ required
30
+ pattern =" [0-9]{4,10}"
31
+ :model-value =" displayTheme.configuration.lock_changes_code"
32
+ @update:model-value =" updateConfiguration($event, 'configuration.lock_changes_code')"
33
+ >
34
+ <template #help > Der PIN muss aus 4 bis 10 Zahlen bestehen. </template >
35
+ </openwb-base-text-input >
36
+
37
+ </div >
38
+ </template >
39
+ <script >
40
+ import DisplayThemeConfigMixin from " ../DisplayThemeConfigMixin.vue" ;
41
+
42
+ export default {
43
+ name: " DisplayThemeColors" ,
44
+ mixins: [DisplayThemeConfigMixin],
45
+ };
46
+ </script >
You can’t perform that action at this time.
0 commit comments