]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/dc/Config.js
ui: realm: clarify that the sync jobs really are for the realm
[pve-manager.git] / www / manager6 / dc / Config.js
index eb4c780531ae36f195143930f25d88059eedf569..f9f937a5550df9b65fc260a85e857f29011f12a0 100644 (file)
@@ -28,7 +28,7 @@ Ext.define('PVE.dc.Config', {
                itemId: 'summary',
            },
            {
-               xtype: 'pveNotesView',
+               xtype: 'pmxNotesView',
                title: gettext('Notes'),
                iconCls: 'fa fa-sticky-note-o',
                itemId: 'notes',
@@ -101,6 +101,16 @@ Ext.define('PVE.dc.Config', {
            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',
@@ -124,11 +134,30 @@ Ext.define('PVE.dc.Config', {
                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',
@@ -172,7 +201,7 @@ Ext.define('PVE.dc.Config', {
                {
                    xtype: 'pveSDNVnet',
                    groups: ['sdn'],
-                   title: gettext('Vnets'),
+                   title: 'VNets',
                    hidden: true,
                    iconCls: 'fa fa-network-wired',
                    itemId: 'sdnvnet',