[pve-devel] [PATCH pve-manager 3/5] move Root Disk form Options to Resources and add icon for it

Wolfgang Link w.link at proxmox.com
Wed Oct 28 09:44:29 CET 2015


---
 www/manager/lxc/Options.js   | 4 ----
 www/manager/lxc/Resources.js | 5 +++++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/www/manager/lxc/Options.js b/www/manager/lxc/Options.js
index 8461514..fffd8e7 100644
--- a/www/manager/lxc/Options.js
+++ b/www/manager/lxc/Options.js
@@ -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,
diff --git a/www/manager/lxc/Resources.js b/www/manager/lxc/Resources.js
index c985920..78b64e5 100644
--- a/www/manager/lxc/Resources.js
+++ b/www/manager/lxc/Resources.js
@@ -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'
 	    }
 	};
 
-- 
2.1.4





More information about the pve-devel mailing list