From: Michael Rasmussen <m...@datanom.net> Signed-off-by: Michael Rasmussen <m...@datanom.net> --- www/manager/storage/ZFSEdit.js | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/www/manager/storage/ZFSEdit.js b/www/manager/storage/ZFSEdit.js index dc6b906..c74eb50 100644 --- a/www/manager/storage/ZFSEdit.js +++ b/www/manager/storage/ZFSEdit.js @@ -61,7 +61,15 @@ Ext.define('PVE.storage.ZFSInputPanel', { value: 'iqn.2010-09.org.openindiana:omnios:....', fieldLabel: gettext('Target'), 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 + } ]; var providers = Ext.create('Ext.data.Store', { @@ -93,7 +101,29 @@ Ext.define('PVE.storage.ZFSInputPanel', { store: providers, displayField: 'name', valueField: 'provider' - } + }, + { + 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') { -- 2.0.0 ---- This mail was virus scanned and spam checked before delivery. This mail is also DKIM signed. See header dkim-signature. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel