Commit bc1936de authored by Michael Rasmussen's avatar Michael Rasmussen Committed by Dietmar Maurer

Extend ZFS GUI to include new features

Signed-off-by: 's avatarMichael Rasmussen <mir@datanom.net>
parent 36915e7a
...@@ -62,6 +62,14 @@ Ext.define('PVE.storage.ZFSInputPanel', { ...@@ -62,6 +62,14 @@ Ext.define('PVE.storage.ZFSInputPanel', {
fieldLabel: gettext('Target'), fieldLabel: gettext('Target'),
allowBlank: false allowBlank: false
} }
{
xtype: me.create ? 'textfield' : 'displayfield',
name: 'comstar_tg',
height: 22, // hack: set same height as text fields
value: '',
fieldLabel: gettext('Target group'),
allowBlank: true
}
]; ];
me.column2 = [ me.column2 = [
...@@ -80,6 +88,27 @@ Ext.define('PVE.storage.ZFSInputPanel', { ...@@ -80,6 +88,27 @@ Ext.define('PVE.storage.ZFSInputPanel', {
fieldLabel: gettext('iSCSI Provider'), fieldLabel: gettext('iSCSI Provider'),
allowBlank: false allowBlank: false
} }
xtype: 'pvecheckbox',
name: 'sparse',
checked: false,
uncheckedValue: 0,
fieldLabel: gettext('Thin provision')
},
{
xtype: 'pvecheckbox',
name: 'nowritecache',
checked: true,
uncheckedValue: 0,
fieldLabel: gettext('Write cache')
},
{
xtype: me.create ? 'textfield' : 'displayfield',
name: 'comstar_hg',
height: 22, // hack: set same height as text fields
value: '',
fieldLabel: gettext('Host group'),
allowBlank: true
}
]; ];
if (me.create || me.storageId !== 'local') { if (me.create || me.storageId !== 'local') {
......
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