ui: cephwizard: add networkselector widget

Signed-off-by: Tim Marx <t.marx@proxmox.com>
This commit is contained in:
Tim Marx 2019-06-12 10:56:32 +02:00 committed by Thomas Lamprecht
parent 6c09101a02
commit 6c7b8e2339

View File

@ -183,9 +183,8 @@ Ext.define('PVE.ceph.CephInstallWizard', {
value: gettext('Ceph cluster configuration') + ':' value: gettext('Ceph cluster configuration') + ':'
}, },
{ {
xtype: 'textfield', xtype: 'proxmoxNetworkSelector',
name: 'network', name: 'network',
vtype: 'IP64CIDRAddress',
value: '', value: '',
fieldLabel: 'Public Network IP/CIDR', fieldLabel: 'Public Network IP/CIDR',
bind: { bind: {
@ -197,11 +196,11 @@ Ext.define('PVE.ceph.CephInstallWizard', {
} }
}, },
{ {
xtype: 'textfield', xtype: 'proxmoxNetworkSelector',
name: 'cluster-network', name: 'cluster-network',
vtype: 'IP64CIDRAddress',
fieldLabel: 'Cluster Network IP/CIDR', fieldLabel: 'Cluster Network IP/CIDR',
allowBlank: true, allowBlank: true,
autoSelect: false,
emptyText: gettext('Same as Public Network') emptyText: gettext('Same as Public Network')
} }
// FIXME: add hint about cluster network and/or reference user to docs?? // FIXME: add hint about cluster network and/or reference user to docs??