Skip to content

Commit e10096e

Browse files
committed
Added sizes to jsonConfig
1 parent 090a85d commit e10096e

File tree

1 file changed

+72
-43
lines changed

1 file changed

+72
-43
lines changed

admin/jsonConfig.json

Lines changed: 72 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -16,120 +16,133 @@
1616
"xs": 12,
1717
"sm": 12,
1818
"md": 4,
19-
"lg": 4
19+
"lg": 4,
20+
"xl": 4
2021
},
2122
"port": {
2223
"type": "number",
24+
"label": "Port",
2325
"min": 1,
2426
"max": 65535,
2527
"xs": 12,
2628
"sm": 12,
2729
"md": 4,
2830
"lg": 4,
29-
"label": "Port"
31+
"xl": 4
3032
},
3133
"secure": {
3234
"newLine": true,
3335
"type": "checkbox",
36+
"label": "Secure (HTTPS)",
3437
"xs": 12,
3538
"sm": 12,
3639
"md": 4,
3740
"lg": 4,
38-
"label": "Secure (HTTPS)"
41+
"xl": 4
3942
},
4043
"certPublic": {
4144
"hidden": "!data.secure",
4245
"type": "certificate",
4346
"certType": "public",
47+
"label": "Public certificate",
4448
"xs": 12,
4549
"sm": 12,
4650
"md": 4,
4751
"lg": 4,
48-
"label": "Public certificate"
52+
"xl": 4
4953
},
5054
"certPrivate": {
5155
"hidden": "!data.secure",
5256
"type": "certificate",
5357
"certType": "private",
58+
"label": "Private certificate",
5459
"xs": 12,
5560
"sm": 12,
5661
"md": 4,
5762
"lg": 4,
58-
"label": "Private certificate"
63+
"xl": 4
5964
},
6065
"httpAdminRoot": {
6166
"newLine": true,
6267
"type": "text",
68+
"label": "http Admin directory",
69+
"help": "Root directory for Node-RED (e.g. /admin)",
6370
"xs": 12,
6471
"sm": 12,
6572
"md": 4,
6673
"lg": 4,
67-
"label": "http Admin directory",
68-
"help": "Root directory for Node-RED (e.g. /admin)"
74+
"xl": 4
6975
},
7076
"httpNodeRoot": {
7177
"type": "text",
78+
"label": "http Node directory",
79+
"help": "Root directory for HTTP Nodes and Dashboard (e.g. /)",
7280
"xs": 12,
7381
"sm": 12,
7482
"md": 4,
7583
"lg": 4,
76-
"label": "http Node directory",
77-
"help": "Root directory for HTTP Nodes and Dashboard (e.g. /)"
84+
"xl": 4
7885
},
7986
"httpStatic": {
8087
"type": "text",
88+
"label": "http Static directory",
89+
"help": "Can be used to identify a directory of static content on local host",
8190
"xs": 12,
8291
"sm": 12,
8392
"md": 4,
8493
"lg": 4,
85-
"label": "http Static directory",
86-
"help": "Can be used to identify a directory of static content on local host"
94+
"xl": 4
8795
},
8896
"maxMemory": {
8997
"newLine": true,
9098
"type": "number",
99+
"label": "Max. allocated RAM",
91100
"min": 32,
92101
"xs": 12,
93102
"sm": 12,
94103
"md": 4,
95104
"lg": 4,
96-
"label": "Max. allocated RAM"
105+
"xl": 4
97106
},
98107
"npmLibs": {
99108
"type": "chips",
109+
"label": "Additional npm packages",
100110
"xs": 12,
101111
"sm": 12,
102112
"md": 8,
103113
"lg": 8,
104-
"label": "Additional npm packages"
114+
"xl": 8
105115
},
106116
"_headerAdditionalFeatures": {
107117
"newLine": true,
108118
"type": "header",
109119
"size": 3,
120+
"text": "Additional features",
110121
"xs": 12,
111122
"sm": 12,
112123
"md": 12,
113124
"lg": 12,
114-
"text": "Additional features"
125+
"xl": 12
115126
},
116127
"valueConvert": {
117128
"newLine": true,
118129
"type": "checkbox",
130+
"label": "Convert state values to strings",
119131
"xs": 12,
120132
"sm": 12,
121133
"md": 4,
122134
"lg": 4,
123-
"label": "Convert state values to strings"
135+
"xl": 4
124136
},
125137
"palletmanagerEnabled": {
126138
"newLine": true,
127139
"type": "checkbox",
140+
"label": "Use palletmanager",
128141
"xs": 12,
129142
"sm": 12,
130143
"md": 4,
131144
"lg": 4,
132-
"label": "Use palletmanager"
145+
"xl": 4
133146
},
134147
"_backupWarningPallet": {
135148
"hidden": "!data.palletmanagerEnabled",
@@ -146,16 +159,18 @@
146159
"xs": 12,
147160
"sm": 12,
148161
"md": 8,
149-
"lg": 8
162+
"lg": 8,
163+
"xl": 8
150164
},
151165
"projectsEnabled": {
152166
"newLine": true,
153167
"type": "checkbox",
168+
"label": "Enable Projects feature",
154169
"xs": 12,
155170
"sm": 12,
156171
"md": 4,
157172
"lg": 4,
158-
"label": "Enable Projects feature"
173+
"xl": 4
159174
},
160175
"_backupWarningProjects": {
161176
"hidden": "!data.projectsEnabled",
@@ -172,37 +187,43 @@
172187
"xs": 12,
173188
"sm": 12,
174189
"md": 8,
175-
"lg": 8
190+
"lg": 8,
191+
"xl": 8
176192
},
177193
"allowCreationOfForeignObjects": {
178194
"newLine": true,
179195
"type": "checkbox",
196+
"label": "Allow creation of foreign objects",
180197
"xs": 12,
181198
"sm": 12,
182199
"md": 6,
183200
"lg": 6,
184-
"label": "Allow creation of foreign objects"
201+
"xl": 6
185202
},
186203
"safeMode": {
187204
"newLine": true,
188205
"type": "checkbox",
206+
"label": "Safe mode",
189207
"xs": 12,
190208
"sm": 12,
191209
"md": 6,
192210
"lg": 6,
193-
"label": "Safe mode"
211+
"xl": 6
194212
},
195213
"doNotReadObjectsDynamically": {
196214
"newLine": true,
197215
"type": "checkbox",
216+
"label": "Do not read objects from admin in the select object dialog",
217+
"xs": 12,
198218
"sm": 12,
199219
"md": 6,
200220
"lg": 6,
201-
"label": "Do not read objects from admin in the select object dialog"
221+
"xl": 6
202222
},
203223
"_update": {
204224
"newLine": true,
205225
"type": "sendTo",
226+
"label": "Update select dialog",
206227
"showProcess": true,
207228
"command": "update",
208229
"variant": "outlined",
@@ -221,8 +242,7 @@
221242
"uk": "Успішно оновлено",
222243
"zh-cn": "成功更新"
223244
}
224-
},
225-
"label": "Update select dialog"
245+
}
226246
}
227247
}
228248
},
@@ -234,6 +254,7 @@
234254
"authType": {
235255
"newLine": true,
236256
"type": "select",
257+
"label": "Authentication type",
237258
"options": [
238259
{
239260
"label": {
@@ -288,53 +309,53 @@
288309
"sm": 12,
289310
"md": 4,
290311
"lg": 4,
291-
"label": "Authentication type"
312+
"xl": 4
292313
},
293314
"user": {
294315
"hidden": "data.authType !== 'Simple'",
295316
"type": "text",
317+
"label": "User name",
296318
"xs": 12,
297319
"sm": 12,
298320
"md": 4,
299321
"lg": 4,
300-
"label": "User name"
322+
"xl": 4
301323
},
302324
"pass": {
303325
"hidden": "data.authType !== 'Simple'",
304326
"type": "password",
327+
"label": "Password",
305328
"xs": 12,
306329
"sm": 12,
307330
"md": 4,
308331
"lg": 4,
309-
"label": "Password"
332+
"xl": 4
310333
},
311334
"hasDefaultPermissions": {
312335
"newLine": true,
313336
"hidden": "data.authType !== 'Extended'",
314337
"type": "checkbox",
338+
"label": "Use default permissions",
315339
"xs": 12,
316340
"sm": 12,
317341
"md": 4,
318342
"lg": 4,
319-
"label": "Use default permissions"
343+
"xl": 4
320344
},
321345
"defaultPermissions": {
322346
"hidden": "data.authType !== 'Extended' || !data.hasDefaultPermissions",
323347
"type": "text",
348+
"label": "Default permissions",
324349
"xs": 12,
325350
"sm": 12,
326351
"md": 6,
327352
"lg": 6,
328-
"label": "Default permissions"
353+
"xl": 6
329354
},
330355
"authExt": {
331356
"newLine": true,
332357
"hidden": "data.authType !== 'Extended'",
333358
"type": "table",
334-
"xs": 12,
335-
"sm": 12,
336-
"md": 12,
337-
"lg": 12,
338359
"label": "Users",
339360
"items": [
340361
{
@@ -399,7 +420,12 @@
399420
"filter": false,
400421
"sort": false
401422
}
402-
]
423+
],
424+
"xs": 12,
425+
"sm": 12,
426+
"md": 12,
427+
"lg": 12,
428+
"xl": 12
403429
}
404430
}
405431
},
@@ -421,22 +447,24 @@
421447
"value": "ace"
422448
}
423449
],
450+
"label": "Editor type",
424451
"xs": 12,
425452
"sm": 12,
426453
"md": 4,
427454
"lg": 4,
428-
"label": "Editor type"
455+
"xl": 4
429456
},
430457
"theme": {
431458
"newLine": true,
432459
"type": "text",
460+
"label": "Theme",
461+
"help": "Apply a custom theme (if installed)",
462+
"helpLink": "https://github.com/node-red-contrib-themes/theme-collection",
433463
"xs": 12,
434464
"sm": 12,
435465
"md": 4,
436466
"lg": 4,
437-
"label": "Theme",
438-
"help": "Apply a custom theme (if installed)",
439-
"helpLink": "https://github.com/node-red-contrib-themes/theme-collection"
467+
"xl": 4
440468
}
441469
}
442470
},
@@ -448,10 +476,6 @@
448476
"envVars": {
449477
"newLine": true,
450478
"type": "table",
451-
"xs": 12,
452-
"sm": 12,
453-
"md": 12,
454-
"lg": 12,
455479
"label": "Environment variables",
456480
"items": [
457481
{
@@ -496,7 +520,12 @@
496520
"sort": false,
497521
"default": ""
498522
}
499-
]
523+
],
524+
"xs": 12,
525+
"sm": 12,
526+
"md": 12,
527+
"lg": 12,
528+
"xl": 12
500529
}
501530
}
502531
}

0 commit comments

Comments
 (0)