mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 09:22:03 +00:00
ui/storage: cifs: reoder fields
username, password and domain name are all related, they are non-pve options related to accessing the CIFS storage and have all influence on the pveCIFSScan component. So group at kleast user and password together. But keep domain on the right for the sake of balance. Move the content type selector to the right, as the RBD and other panels do. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
cb1b342713
commit
dad14ab0e0
@ -142,20 +142,13 @@ Ext.define('PVE.storage.CIFSInputPanel', {
|
||||
}
|
||||
}
|
||||
},
|
||||
passwordfield,
|
||||
{
|
||||
xtype: me.isCreate ? 'pveCIFSScan' : 'displayfield',
|
||||
name: 'share',
|
||||
value: '',
|
||||
fieldLabel: 'Share',
|
||||
allowBlank: false
|
||||
},
|
||||
{
|
||||
xtype: 'pveContentTypeSelector',
|
||||
name: 'content',
|
||||
value: 'images',
|
||||
multiSelect: true,
|
||||
fieldLabel: gettext('Content'),
|
||||
allowBlank: false
|
||||
}
|
||||
];
|
||||
|
||||
@ -170,7 +163,14 @@ Ext.define('PVE.storage.CIFSInputPanel', {
|
||||
value: me.isCreate ? '1' : undefined,
|
||||
allowBlank: false
|
||||
},
|
||||
passwordfield,
|
||||
{
|
||||
xtype: 'pveContentTypeSelector',
|
||||
name: 'content',
|
||||
value: 'images',
|
||||
multiSelect: true,
|
||||
fieldLabel: gettext('Content'),
|
||||
allowBlank: false
|
||||
},
|
||||
{
|
||||
xtype: me.isCreate ? 'textfield' : 'displayfield',
|
||||
name: 'domain',
|
||||
|
Loading…
Reference in New Issue
Block a user