ui: cluster edit/create: style nits, avoid extra label

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-05-05 18:23:01 +02:00
parent 4ea2cac2ae
commit 41aa53eaa0
2 changed files with 4 additions and 12 deletions

View File

@ -26,22 +26,13 @@ Ext.define('PVE.ClusterCreateWindow', {
}, },
{ {
xtype: 'fieldcontainer', xtype: 'fieldcontainer',
fieldLabel: gettext("Cluster Links"), fieldLabel: gettext("Cluster Network"),
style: {
'padding-top': '5px',
},
items: [ items: [
{ {
xtype: 'pveCorosyncLinkEditor', xtype: 'pveCorosyncLinkEditor',
style: { infoText: gettext("Multiple links are used as failover, lower numbers have higher priority."),
'padding-bottom': '5px',
},
name: 'links' name: 'links'
}, },
{
xtype: 'label',
text: gettext("Multiple links are used as failover, lower numbers have higher priority.")
}
] ]
}] }]
} }
@ -357,7 +348,7 @@ Ext.define('PVE.ClusterJoinNodeWindow', {
}, },
{ {
xtype: 'fieldcontainer', xtype: 'fieldcontainer',
fieldLabel: gettext("Cluster Links"), fieldLabel: gettext("Cluster Network"),
items: [ items: [
{ {
xtype: 'pveCorosyncLinkEditor', xtype: 'pveCorosyncLinkEditor',

View File

@ -391,6 +391,7 @@ Ext.define('PVE.form.CorosyncLinkEditor', {
let controller = me.getController(); let controller = me.getController();
vm.set('allowNumberEdit', me.allowNumberEdit); vm.set('allowNumberEdit', me.allowNumberEdit);
vm.set('infoText', me.infoText || '');
me.callParent(); me.callParent();