mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-10-04 15:38:35 +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',
|
xtype: 'proxmoxButton',
|
||||||
text: gettext('Show Permissions'),
|
text: gettext('Regenerate Secret'),
|
||||||
handler: 'showPermissions',
|
|
||||||
disabled: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
xtype: 'proxmoxButton',
|
|
||||||
text: gettext('Regenerate'),
|
|
||||||
handler: 'regenerateToken',
|
handler: 'regenerateToken',
|
||||||
dangerous: true,
|
dangerous: true,
|
||||||
confirmMsg: rec => Ext.String.format(
|
confirmMsg: rec => Ext.String.format(
|
||||||
@ -203,6 +197,13 @@ Ext.define('PBS.config.TokenView', {
|
|||||||
rec.data.tokenid,
|
rec.data.tokenid,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
'-',
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxButton',
|
||||||
|
text: gettext('Show Permissions'),
|
||||||
|
handler: 'showPermissions',
|
||||||
|
disabled: true,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
viewConfig: {
|
viewConfig: {
|
||||||
|
Loading…
Reference in New Issue
Block a user