]> git.proxmox.com Git - pmg-gui.git/commitdiff
user management: separate add/create and edit/remove buttons
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Feb 2024 13:58:23 +0000 (14:58 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Feb 2024 13:58:23 +0000 (14:58 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/FetchmailView.js
js/LDAPConfig.js
js/UserView.js

index 2a6e6438b75e18aff0452171bcd47f122fe9905b..5a3ae7100364e692f329de0a33b8fb80654c988a 100644 (file)
@@ -71,6 +71,7 @@ Ext.define('PMG.FetchmailView', {
            reference: 'addBtn',
            handler: 'onAdd',
        },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Edit'),
index 0a114ff4f50080422f84369925904713230268f0..c2f391727969190df95b7d6184e3d5a4e2eacf61 100644 (file)
@@ -523,21 +523,23 @@ Ext.define('PMG.LDAPConfigGrid', {
     },
 
     tbar: [
+       {
+           text: gettext('Create'),
+           handler: 'newProfile',
+       },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Edit'),
            disabled: true,
            handler: 'run_editor',
        },
-       {
-           text: gettext('Create'),
-           handler: 'newProfile',
-       },
        {
            xtype: 'proxmoxStdRemoveButton',
            baseurl: '/config/ldap',
            callback: 'reload',
        },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Synchronize'),
index d82b49e2b96ea76ee2834cbc61f3eaf01c2a0035..13da72c69891e24b486ed8f27e87ac97565d08a3 100644 (file)
@@ -121,6 +121,7 @@ Ext.define('PMG.UserView', {
            reference: 'addBtn',
            handler: 'onAdd',
        },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Edit'),