Display-target-name-better-and-fix-typo

Signed-off-by: Michael Rasmussen <mir@datanom.net>
This commit is contained in:
Michael Rasmussen 2013-10-03 17:49:51 +02:00 committed by Dietmar Maurer
parent c3c54c4fa5
commit 57a9ab76f9
2 changed files with 9 additions and 9 deletions

View File

@ -178,7 +178,7 @@ Ext.define('PVE.dc.StorageView', {
} }
}, },
{ {
text: PVE.Utils.format_storage_type('ZFS'), text: PVE.Utils.format_storage_type('zfs'),
iconCls: 'pve-itype-icon-node', iconCls: 'pve-itype-icon-node',
handler: function() { handler: function() {
var win = Ext.create('PVE.storage.ZFSEdit', {}); var win = Ext.create('PVE.storage.ZFSEdit', {});

View File

@ -48,6 +48,14 @@ Ext.define('PVE.storage.ZFSInputPanel', {
fieldLabel: gettext('Pool'), fieldLabel: gettext('Pool'),
allowBlank: false allowBlank: false
}, },
{
xtype: me.create ? 'textfield' : 'displayfield',
name: 'blocksize',
height: 22, // hack: set same height as text fields
value: '4k',
fieldLabel: gettext('Block Size'),
allowBlank: false
},
{ {
xtype: me.create ? 'textfield' : 'displayfield', xtype: me.create ? 'textfield' : 'displayfield',
name: 'target', name: 'target',
@ -66,14 +74,6 @@ Ext.define('PVE.storage.ZFSInputPanel', {
uncheckedValue: 0, uncheckedValue: 0,
fieldLabel: gettext('Enable') fieldLabel: gettext('Enable')
}, },
{
xtype: me.create ? 'textfield' : 'displayfield',
name: 'blocksize',
height: 22, // hack: set same height as text fields
value: '4k',
fieldLabel: gettext('Block Size'),
allowBlank: false
},
{ {
xtype: me.create ? 'textfield' : 'displayfield', xtype: me.create ? 'textfield' : 'displayfield',
name: 'iscsiprovider', name: 'iscsiprovider',