Commit c9d8fdb5 authored by Dietmar Maurer's avatar Dietmar Maurer

lxc create wizard: add disk size option

parent 9befff6d
...@@ -144,7 +144,8 @@ Ext.define('PVE.lxc.CreateWizard', { ...@@ -144,7 +144,8 @@ Ext.define('PVE.lxc.CreateWizard', {
}, },
{ {
xtype: 'pveLxcResourceInputPanel', xtype: 'pveLxcResourceInputPanel',
title: gettext('Resources') title: gettext('Resources'),
insideWizard: true
}, },
networkpanel, networkpanel,
{ {
......
...@@ -35,18 +35,18 @@ Ext.define('PVE.lxc.RessourceInputPanel', { ...@@ -35,18 +35,18 @@ Ext.define('PVE.lxc.RessourceInputPanel', {
]; ];
me.column2 = [ me.column2 = [
// { {
// xtype: 'numberfield', xtype: me.insideWizard ? 'numberfield' : 'displayfield',
// name: 'disk', name: 'disk',
// minValue: 0.001, minValue: 0,
// maxValue: 128*1024, maxValue: 128*1024,
// decimalPrecision: 3, decimalPrecision: 3,
// value: '4', value: '8',
// step: 1, step: 1,
// fieldLabel: gettext('Disk size') + ' (GB)', fieldLabel: gettext('Disk size') + ' (GB)',
// labelWidth: labelWidth, labelWidth: labelWidth,
// allowBlank: false allowBlank: false
// }, },
{ {
xtype: 'numberfield', xtype: 'numberfield',
name: 'cpus', name: 'cpus',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment