]> git.proxmox.com Git - pmg-gui.git/blame - js/MailProxyTLSPanel.js
fix #5251: login: set autocomplete on password and user
[pmg-gui.git] / js / MailProxyTLSPanel.js
CommitLineData
0c77683d
SI
1Ext.define('PMG.MailProxyTLSPanel', {
2 extend: 'Ext.panel.Panel',
3 alias: 'widget.pmgMailProxyTLSPanel',
4
5 layout: {
6 type: 'vbox',
c87d46fb 7 align: 'stretch',
0c77683d
SI
8 },
9
bf289fa7
DM
10 bodyPadding: '0 0 10 0',
11 defaults: {
12 collapsible: true,
13 animCollapse: false,
c87d46fb 14 margin: '10 10 0 10',
bf289fa7
DM
15 },
16
0c77683d
SI
17 initComponent: function() {
18 var me = this;
19
20 var tlsSettings = Ext.create('PMG.MailProxyTLS', {
c87d46fb 21 title: gettext('Settings'),
0c77683d
SI
22 });
23
0f5a92f0
SI
24 var tlsDestinations = Ext.create('PMG.MailProxyTLSDestinations', {
25 title: gettext('TLS Destination Policy'),
c87d46fb 26 flex: 1,
0c77683d
SI
27 });
28
45156282
CH
29 const tlsInboundDomains = Ext.create('PMG.MailProxyTLSInboundDomains', {
30 title: gettext('TLS Inbound Domains'),
31 flex: 1,
32 });
33
34 me.items = [tlsSettings, tlsDestinations, tlsInboundDomains];
0c77683d
SI
35
36 me.callParent();
37
38 tlsSettings.relayEvents(me, ['activate', 'deactivate', 'destroy']);
0f5a92f0 39 tlsDestinations.relayEvents(me, ['activate', 'deactivate', 'destroy']);
45156282 40 tlsInboundDomains.relayEvents(me, ['activate', 'deactivate', 'destroy']);
c87d46fb 41 },
0c77683d 42});