Skip to content

Commit

Permalink
Add extra fields from the user config
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriiNazarenkoTine committed Apr 1, 2024
1 parent d89ebf8 commit 4cbe7b9
Showing 1 changed file with 74 additions and 55 deletions.
129 changes: 74 additions & 55 deletions src/app/rr-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1950,62 +1950,81 @@ Ext.define("SYNOCOMMUNITY.RRManager.Setting.RRConfigTab", {
new SYNO.ux.FieldSet({
title: 'RR Config',
collapsible: true,
items: [
{
fieldLabel: 'lkm',
name: 'lkm',
allowBlank: false,
xtype: 'syno_textfield',
}, {
boxLabel: 'dsmlogo',
name: 'dsmlogo',
xtype: 'syno_checkbox',

}, {
boxLabel: 'directboot',
name: 'directboot',
xtype: 'syno_checkbox',
}, {
boxLabel: 'prerelease',
name: 'prerelease',
xtype: 'syno_checkbox',
formBind: true,
value: false,

}, {
fieldLabel: 'bootwait',
name: 'bootwait',
xtype: 'syno_numberfield',
}, {
fieldLabel: 'bootipwait',
name: 'bootipwait',
xtype: 'syno_numberfield',
}, {
fieldLabel: 'kernelway',
name: 'kernelway',
allowBlank: false,
xtype: 'syno_textfield',
}, {
fieldLabel: 'kernelpanic',
name: 'kernelpanic',
allowBlank: false,
xtype: 'syno_numberfield',
}, {
boxLabel: 'odp',
name: 'odp',
xtype: 'syno_checkbox',

}, {
boxLabel: 'hddsort',
name: 'hddsort',
xtype: 'syno_checkbox',
items: [{
fieldLabel: 'lkm',
name: 'lkm',
allowBlank: false,
xtype: 'syno_textfield',
}, {
fieldLabel: 'kernel',
name: 'kernel',
allowBlank: false,
xtype: 'syno_textfield',
}, {
boxLabel: 'dsmlogo',
name: 'dsmlogo',
xtype: 'syno_checkbox',

}, {
fieldLabel: 'smallnum',
name: 'smallnum',
allowBlank: false,
xtype: 'syno_numberfield',
}
}, {
boxLabel: 'directboot',
name: 'directboot',
xtype: 'syno_checkbox',
}, {
boxLabel: 'prerelease',
name: 'prerelease',
xtype: 'syno_checkbox',
}, {
fieldLabel: 'bootwait',
name: 'bootwait',
xtype: 'syno_numberfield',
}, {
fieldLabel: 'bootipwait',
name: 'bootipwait',
xtype: 'syno_numberfield',
}, {
fieldLabel: 'kernelway',
name: 'kernelway',
allowBlank: false,
xtype: 'syno_textfield',
}, {
fieldLabel: 'kernelpanic',
name: 'kernelpanic',
allowBlank: false,
xtype: 'syno_numberfield',
}, {
boxLabel: 'odp',
name: 'odp',
xtype: 'syno_checkbox',
}, {
boxLabel: 'hddsort',
name: 'hddsort',
xtype: 'syno_checkbox',
}, {
fieldLabel: 'smallnum',
name: 'smallnum',
allowBlank: false,
xtype: 'syno_numberfield',
}, {
fieldLabel: 'paturl',
name: 'paturl',
allowBlank: false,
xtype: 'syno_textfield',
}, {
fieldLabel: 'patsum',
name: 'patsum',
allowBlank: false,
xtype: 'syno_textfield',
}, {
fieldLabel: 'layout',
name: 'layout',
allowBlank: false,
xtype: 'syno_textfield',
}, {
fieldLabel: 'keymap',
name: 'keymap',
allowBlank: false,
xtype: 'syno_textfield',
}
]
})
]
Expand Down

0 comments on commit 4cbe7b9

Please sign in to comment.