mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-10-04 08:53:33 +00:00
ui: access control: re-order and separate secret regeneration top-bar button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
98abd76579
commit
8e50c75fca
@ -189,13 +189,7 @@ Ext.define('PBS.config.TokenView', {
|
||||
'-',
|
||||
{
|
||||
xtype: 'proxmoxButton',
|
||||
text: gettext('Show Permissions'),
|
||||
handler: 'showPermissions',
|
||||
disabled: true,
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxButton',
|
||||
text: gettext('Regenerate'),
|
||||
text: gettext('Regenerate Secret'),
|
||||
handler: 'regenerateToken',
|
||||
dangerous: true,
|
||||
confirmMsg: rec => Ext.String.format(
|
||||
@ -203,6 +197,13 @@ Ext.define('PBS.config.TokenView', {
|
||||
rec.data.tokenid,
|
||||
),
|
||||
},
|
||||
'-',
|
||||
{
|
||||
xtype: 'proxmoxButton',
|
||||
text: gettext('Show Permissions'),
|
||||
handler: 'showPermissions',
|
||||
disabled: true,
|
||||
},
|
||||
],
|
||||
|
||||
viewConfig: {
|
||||
|
Loading…
Reference in New Issue
Block a user