]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/SpamDetectorConfiguration.js
user view: disable unlock TFA button initially
[pmg-gui.git] / js / SpamDetectorConfiguration.js
index 18e66539d0dac3742bd512e87c12b214c92e2179..f70b65bd9ba954af084bbb934cd554f9edeb9e4e 100644 (file)
@@ -2,30 +2,34 @@ Ext.define('PMG.SpamDetectorConfiguration', {
     extend: 'Ext.tab.Panel',
     alias: 'widget.pmgSpamDetectorConfiguration',
 
-    title: gettext('Spam Detector Configuration'),
+    title: gettext('Configuration') + ': ' +
+       gettext('Spam Detector'),
+
+    border: false,
+    defaults: { border: false },
 
     items: [
        {
            title: gettext('Options'),
-           html: 'Options'
-       },
-       {
-           title: gettext('Languages'),
-           html: 'Languages'
+           itemId: 'options',
+           xtype: 'pmgSpamDetectorOptions',
        },
        {
            title: gettext('Quarantine'),
-           html: 'Quarantine'
+           itemId: 'quarantine',
+           xtype: 'pmgSpamQuarantineOptions',
        },
        {
-           title: gettext('Backscatter'),
-           html: 'Backscatter'
+           title: gettext('Status'),
+           itemId: 'status',
+           xtype: 'pmgSpamDetectorStatus',
        },
        {
-           title: gettext('Theme'),
-           html: 'Theme'
-       }
-    ]
+           title: gettext('Custom Scores'),
+           itemId: 'scores',
+           xtype: 'pmgSpamDetectorCustomScores',
+       },
+    ],
 });