File tree 6 files changed +10
-9
lines changed
client/src/components/settings
6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ example-*.json
14
14
.dockerdata
15
15
16
16
secrets.yaml
17
+ config.yaml
17
18
18
19
db
Original file line number Diff line number Diff line change 26
26
label =" Name"
27
27
required
28
28
density =" compact"
29
+ readonly
29
30
></v-text-field >
30
31
</v-col >
31
32
<v-col
Original file line number Diff line number Diff line change 65
65
v-model =" settings.env.KUBERO_WEBHOOK_URL"
66
66
label =" URL"
67
67
required
68
- readonly
69
68
></v-text-field >
70
69
</v-col >
71
70
</v-row >
78
77
v-model =" settings.env.KUBERO_WEBHOOK_SECRET"
79
78
label =" Secret"
80
79
required
81
- readonly
82
80
:append-icon =" show ? 'mdi-eye' : 'mdi-eye-off'"
83
81
:type =" show ? 'text' : 'password'"
84
82
@click:append =" show = !show"
95
93
md =" 2"
96
94
>
97
95
<v-switch
98
- v-model =" settings.kubero.banner.enabled "
96
+ v-model =" settings.kubero.banner.show "
99
97
label =" Banner Enabled"
100
98
color =" primary"
101
99
required
104
102
<v-col
105
103
cols =" 12"
106
104
md =" 2"
107
- v-if =" settings.kubero.banner.enabled "
105
+ v-if =" settings.kubero.banner.show "
108
106
>
109
107
<v-text-field
110
108
v-model =" settings.kubero.banner.bgcolor"
115
113
<v-col
116
114
cols =" 12"
117
115
md =" 2"
118
- v-if =" settings.kubero.banner.enabled "
116
+ v-if =" settings.kubero.banner.show "
119
117
>
120
118
<v-text-field
121
119
v-model =" settings.kubero.banner.fontcolor"
124
122
></v-text-field >
125
123
</v-col >
126
124
</v-row >
127
- <v-row v-if =" settings.kubero.banner.enabled " >
125
+ <v-row v-if =" settings.kubero.banner.show " >
128
126
<v-col
129
127
cols =" 12"
130
128
md =" 6"
133
131
v-model =" settings.kubero.banner.message"
134
132
label =" Message"
135
133
required
136
- readonly
137
134
></v-text-field >
138
135
</v-col >
139
136
</v-row >
@@ -154,7 +151,7 @@ export type Kubero = {
154
151
enabled: boolean ,
155
152
},
156
153
banner: {
157
- enabled : boolean ,
154
+ show : boolean ,
158
155
bgcolor: string ,
159
156
fontcolor: string ,
160
157
message: string ,
Original file line number Diff line number Diff line change 32
32
v-model =" podSize.name"
33
33
label =" Name"
34
34
required
35
+ readonly
35
36
></v-text-field >
36
37
</v-col >
37
38
<v-col
Original file line number Diff line number Diff line change 26
26
label =" Name"
27
27
required
28
28
density =" compact"
29
+ readonly
29
30
></v-text-field >
30
31
</v-col >
31
32
<v-col
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export default defineComponent({
127
127
enabled: false ,
128
128
},
129
129
banner: {
130
- enabled : false ,
130
+ show : false ,
131
131
bgcolor: " " ,
132
132
fontcolor: " " ,
133
133
message: " " ,
You can’t perform that action at this time.
0 commit comments