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:
Thomas Lamprecht 2018-06-29 13:05:02 +02:00
parent cb1b342713
commit dad14ab0e0

View File

@ -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',