]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/UserManagement.js
ui: pbs remote: use proxmoxtextfield for password edit xtype again
[pmg-gui.git] / js / UserManagement.js
index dd562d0558e12a58236e26c3c399c0712a786081..65fabbf9c0d2279de871887d66d6035b5044b649 100644 (file)
@@ -10,18 +10,29 @@ Ext.define('PMG.UserManagement', {
 
     items: [
        {
+           xtype: "pmgUserView",
            title: gettext('Local'),
-           xtype: "pmgUserView"
+           itemId: 'local',
+           iconCls: 'fa fa-user',
        },
        {
-           title: gettext('LDAP'),
-           xtype: 'pmgLDAPConfig'
+           xtype: 'pmgTFAView',
+           title: 'Two Factor',
+           itemId: 'tfa',
+           iconCls: 'fa fa-key',
+           issuerName: `Proxmox Mail Gateway - ${Proxmox.NodeName}`,
        },
        {
-           title: gettext('POP'),
-           html: "POP"
-       }
-    ]
+           xtype: 'pmgLDAPConfig',
+           title: 'LDAP',
+           itemId: 'ldap',
+           iconCls: 'fa fa-address-book-o',
+       },
+       {
+           xtype: 'pmgFetchmailView',
+           title: 'Fetchmail',
+           itemId: 'pop',
+           iconCls: 'fa fa-reply-all',
+       },
+    ],
 });
-
-