iconCls: 'fa fa-book',
itemId: 'summary',
},
+ {
+ xtype: 'pmxNotesView',
+ title: gettext('Notes'),
+ iconCls: 'fa fa-sticky-note-o',
+ itemId: 'notes',
+ },
{
title: gettext('Cluster'),
xtype: 'pveClusterAdministration',
itemId: 'apitokens',
});
+ me.items.push({
+ xtype: 'pmxTfaView',
+ title: gettext('Two Factor'),
+ groups: ['permissions'],
+ iconCls: 'fa fa-key',
+ itemId: 'tfa',
+ yubicoEnabled: true,
+ issuerName: `Proxmox VE - ${PVE.ClusterName || Proxmox.NodeName}`,
+ });
+
if (caps.dc['Sys.Audit']) {
me.items.push({
xtype: 'pveGroupView',
itemId: 'roles',
},
{
- xtype: 'pveAuthView',
- title: gettext('Authentication'),
+ title: gettext('Realms'),
+ xtype: 'panel',
+ layout: {
+ type: 'border',
+ },
groups: ['permissions'],
- iconCls: 'fa fa-key',
+ iconCls: 'fa fa-address-book-o',
itemId: 'domains',
+ items: [
+ {
+ xtype: 'pveAuthView',
+ region: 'center',
+ border: false,
+ },
+ {
+ xtype: 'pveRealmSyncJobView',
+ title: gettext('Realm Sync Jobs'),
+ region: 'south',
+ collapsible: true,
+ animCollapse: false,
+ border: false,
+ height: '50%',
+ },
+ ],
},
{
xtype: 'pveHAStatus',
xtype: 'pveFencingView',
itemId: 'ha-fencing',
});
+ // always show on initial load, will be hiddea later if the SDN API calls don't exist,
+ // else it won't be shown at first if the user initially loads with DC selected
if (PVE.SDNInfo || PVE.SDNInfo === undefined) {
me.items.push({
xtype: 'pveSDNStatus',
{
xtype: 'pveSDNVnet',
groups: ['sdn'],
- title: gettext('Vnets'),
+ title: 'VNets',
hidden: true,
iconCls: 'fa fa-network-wired',
itemId: 'sdnvnet',
title: gettext('Options'),
hidden: true,
iconCls: 'fa fa-gear',
- itemId: 'sdnoptions'
+ itemId: 'sdnoptions',
});
}