]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
ui: cluster edit/create: style nits, avoid extra label
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 May 2020 16:23:01 +0000 (18:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 May 2020 16:23:01 +0000 (18:23 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/ClusterEdit.js
www/manager6/dc/CorosyncLinkEdit.js

index 0057529102c376c8f524aa59e497fbaf74a840c9..227812d3a1f9565ac716e135df8ffceb5480a1e7 100644 (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',
index 341e6f3243f1fe1f3ff0605cfe195142abcc771a..bce6f4ccdf75451e63b005d2f1cce2c3deb39094 100644 (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();