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',
fieldLabel: gettext("Cluster Links"),
style: {
'padding-top': '5px',
},
fieldLabel: gettext("Cluster Network"),
items: [
{
xtype: 'pveCorosyncLinkEditor',
style: {
'padding-bottom': '5px',
},
infoText: gettext("Multiple links are used as failover, lower numbers have higher priority."),
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',
fieldLabel: gettext("Cluster Links"),
fieldLabel: gettext("Cluster Network"),
items: [
{
xtype: 'pveCorosyncLinkEditor',

View File

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