move Root Disk form Options to Resources and add icon for it

This commit is contained in:
Wolfgang Link 2015-10-28 09:44:29 +01:00 committed by Dietmar Maurer
parent 21855147bc
commit d807e210d5
2 changed files with 5 additions and 4 deletions

View File

@ -51,10 +51,6 @@ Ext.define('PVE.lxc.Options', {
header: gettext('Architecture'),
defaultValue: PVE.Utils.unknownText
},
rootfs: {
header: gettext('Root Disk'),
defaultValue: PVE.Utils.noneText
},
console: {
header: gettext('Enable /dev/console'),
defaultValue: 1,

View File

@ -73,6 +73,11 @@ Ext.define('PVE.lxc.RessourceView', {
editor: caps.vms['VM.Config.CPU'] ? 'PVE.lxc.CPUEdit' : undefined,
defaultValue: 1024,
tdCls: 'pve-itype-icon-processor'
},
rootfs: {
header: gettext('Root Disk'),
defaultValue: PVE.Utils.noneText,
tdCls: 'pve-itype-icon-storage'
}
};