]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/MailProxyConfiguration.js
regex tester: make textfield flex to take all remaining space
[pmg-gui.git] / js / MailProxyConfiguration.js
index 563941923395d89b7d75623fa1139f8b9663de4c..7e790433f1f0d5c393f0c97e878ee06db17a71e5 100644 (file)
@@ -2,38 +2,63 @@ 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'
+           xtype: 'pmgMailProxyRelaying',
+       },
+       {
+           itemId: 'relaydomains',
+           title: gettext('Relay Domains'),
+           xtype: 'pmgRelayDomains',
        },
        {
+           itemId: 'ports',
            title: gettext('Ports'),
-           xtype: 'pmgMailProxyPorts'
+           xtype: 'pmgMailProxyPorts',
        },
        {
-            title: gettext('Options'),
-           xtype: 'pmgMailProxyOptions'
+           itemId: 'options',
+           title: gettext('Options'),
+           xtype: 'pmgMailProxyOptions',
        },
        {
-            title: gettext('Transports'),
-           html: "Transports"
+           itemId: 'transports',
+           title: gettext('Transports'),
+           xtype: 'pmgTransport',
        },
        {
-            title: gettext('Networks'),
-           html: "Networks"
+           itemId: 'networks',
+           title: gettext('Networks'),
+           xtype: 'pmgMyNetworks',
        },
        {
-            title: gettext('TLS'),
-           html: "TLS"
+           itemId: 'tls',
+           title: gettext('TLS'),
+           xtype: 'pmgMailProxyTLSPanel',
        },
        {
-            title: gettext('Whitelist'),
-           html: "whitelist"
-       }
-    ]
+           itemId: 'dkim',
+           title: gettext('DKIM'),
+           xtype: 'pmgMailProxyDKIMPanel',
+       },
+       {
+           itemId: 'whitelist',
+           title: gettext('Whitelist'),
+           xtype: 'pmgObjectGroup',
+           hideGroupInfo: true,
+           showDirection: true,
+           otype_list: [1000, 1009, 1001, 1007, 1002, 1008, 1003, 1004],
+           baseurl: '/config/whitelist',
+       },
+   ],
 });