mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 09:22:03 +00:00
ui: realms: add iconCls to menu entries
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
959df7bf26
commit
da25c5ac41
@ -750,6 +750,7 @@ Ext.define('PVE.Utils', {
|
|||||||
add: true,
|
add: true,
|
||||||
tfa: false,
|
tfa: false,
|
||||||
pwchange: false,
|
pwchange: false,
|
||||||
|
iconCls: 'pmx-itype-icon-openid-logo',
|
||||||
},
|
},
|
||||||
pam: {
|
pam: {
|
||||||
name: 'Linux PAM',
|
name: 'Linux PAM',
|
||||||
|
@ -93,9 +93,9 @@ Ext.define('PVE.dc.AuthView', {
|
|||||||
let items = [];
|
let items = [];
|
||||||
for (const [authType, config] of Object.entries(PVE.Utils.authSchema)) {
|
for (const [authType, config] of Object.entries(PVE.Utils.authSchema)) {
|
||||||
if (!config.add) { continue; }
|
if (!config.add) { continue; }
|
||||||
|
|
||||||
items.push({
|
items.push({
|
||||||
text: config.name,
|
text: config.name,
|
||||||
|
iconCls: 'fa fa-fw ' + (config.iconCls || 'fa-id-card-o'),
|
||||||
handler: () => me.openEditWindow(authType),
|
handler: () => me.openEditWindow(authType),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user