]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/MailProxyConfiguration.js
bump version to 1.0-42
[pmg-gui.git] / js / MailProxyConfiguration.js
index 9c91c4aad04ab6f209e0328f75adf2dabb2aea09..6902cb43c2c2ea9ae40422d56278a6e61b280693 100644 (file)
@@ -2,42 +2,58 @@ Ext.define('PMG.MailProxyConfiguration', {
     extend: 'Ext.tab.Panel',
     alias: 'widget.pmgMailProxyConfiguration',
 
-    title: gettext('Mail Proxy Configuration'),
+    title: gettext('Configuration') + ': ' +
+       gettext('Mail Proxy'),
+
+    border: false,
+    defaults: { border: false },
 
     items: [
        {
+           itemId: 'relaying',
            title: gettext('Relaying'),
            xtype: 'pmgMailProxyRelaying'
        },
        {
+           itemId: 'relaydomains',
            title: gettext('Relay Domains'),
            xtype: 'pmgRelayDomains'
        },
        {
+           itemId: 'ports',
            title: gettext('Ports'),
            xtype: 'pmgMailProxyPorts'
        },
        {
+           itemId: 'options',
             title: gettext('Options'),
            xtype: 'pmgMailProxyOptions'
        },
        {
+           itemId: 'transports',
             title: gettext('Transports'),
            xtype: 'pmgTransport'
        },
        {
+           itemId: 'networks',
             title: gettext('Networks'),
            xtype: 'pmgMyNetworks'
        },
        {
+           itemId: 'tls',
             title: gettext('TLS'),
-           xtype: 'pmgMailProxyTLS'
+           xtype: 'pmgMailProxyTLSPanel'
        },
        {
-            title: gettext('Whitelist'),
-           xtype: "pmgSMTPWhitelist"
+           itemId: 'whitelist',
+           title: gettext('Whitelist'),
+           xtype: 'pmgObjectGroup',
+           hideGroupInfo: true,
+           showDirection: true,
+           otype_list: [1000, 1009, 1001, 1007, 1002, 1008, 1003, 1004],
+           baseurl: '/config/whitelist'
        }
-    ]
+   ]
 });