]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: access: stream line add/edit/.. button order and separators
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 Jan 2021 08:33:29 +0000 (09:33 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 Jan 2021 08:33:29 +0000 (09:33 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/config/TfaView.js
www/config/TokenView.js
www/config/UserView.js

index c112a13275fe5b6e373880934defd5d4ec10c81a..883c95087bba576db09a1d2a584ee060c770c45d 100644 (file)
@@ -241,6 +241,7 @@ Ext.define('PBS.config.TfaView', {
                ],
            },
        },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Edit'),
index 2225d6c5ff61a9130eef711452691f692dcb417e..6282a4d4440ddc5ea841c7f84486b5a4a9ac625b 100644 (file)
@@ -149,6 +149,7 @@ Ext.define('PBS.config.TokenView', {
            handler: 'addToken',
            selModel: false,
        },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Edit'),
@@ -166,9 +167,10 @@ Ext.define('PBS.config.TokenView', {
                return '/access/users/' + encodeURIComponent(user) + '/token/' + encodeURIComponent(tokenname);
            },
        },
+       '-',
        {
            xtype: 'proxmoxButton',
-           text: gettext('Permissions'),
+           text: gettext('Show Permissions'),
            handler: 'showPermissions',
            disabled: true,
        },
index f030b30cc35385f822c40e08983f6f193a75c08e..4645737aea08f64a54a0ffbc6246b96739ecadce 100644 (file)
@@ -128,27 +128,29 @@ Ext.define('PBS.config.UserView', {
            handler: 'addUser',
            selModel: false,
        },
+       '-',
        {
            xtype: 'proxmoxButton',
            text: gettext('Edit'),
            handler: 'editUser',
            disabled: true,
        },
-       {
-           xtype: 'proxmoxButton',
-           text: gettext('Password'),
-           handler: 'setPassword',
-           disabled: true,
-       },
        {
            xtype: 'proxmoxStdRemoveButton',
            baseurl: '/access/users/',
            enableFn: (rec) => rec.data.userid !== 'root@pam',
            callback: 'reload',
        },
+       '-',
+       {
+           xtype: 'proxmoxButton',
+           text: gettext('Change Password'),
+           handler: 'setPassword',
+           disabled: true,
+       },
        {
            xtype: 'proxmoxButton',
-           text: gettext('Permissions'),
+           text: gettext('Show Permissions'),
            handler: 'showPermissions',
            disabled: true,
        },