]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/NavigationTree.js
mail proxy: tls destinations: consitent add/edit/remove button
[pmg-gui.git] / js / NavigationTree.js
index 8aacfb9b9e983b2485cf3c2e5830aa160973553d..59d98f5bf00446d0ecf8808f50d64dfefe33f096 100644 (file)
@@ -10,7 +10,7 @@ Ext.define('PMG.store.NavigationStore', {
                text: gettext('Dashboard'),
                iconCls: 'fa fa-tachometer',
                path: 'pmgDashboard',
-               leaf: true
+               leaf: true,
            },
            {
                text: gettext('Mail Filter'),
@@ -41,8 +41,8 @@ Ext.define('PMG.store.NavigationStore', {
                        iconCls: 'fa fa-clock-o',
                        path: 'pmgWhenConfiguration',
                        leaf: true,
-                   }
-               ]
+                   },
+               ],
            },
            {
                text: gettext('Configuration'),
@@ -81,12 +81,24 @@ Ext.define('PMG.store.NavigationStore', {
                        leaf: true,
                    },
                    {
-                       text: gettext('License'),
-                       iconCls: 'fa fa-ticket',
-                       path: 'pmgLicense',
+                       text: gettext('Subscription'),
+                       iconCls: 'fa fa-support',
+                       path: 'pmgSubscription',
                        leaf: true,
-                   }
-               ]
+                   },
+                   {
+                       text: gettext('Backup/Restore'),
+                       iconCls: 'fa fa-floppy-o',
+                       path: 'pmgBackupConfiguration',
+                       leaf: true,
+                   },
+                   {
+                       text: gettext('Certificates'),
+                       iconCls: 'fa fa-certificate',
+                       path: 'pmgCertificateConfiguration',
+                       leaf: true,
+                   },
+               ],
            },
            {
                text: gettext('Administration'),
@@ -95,15 +107,39 @@ Ext.define('PMG.store.NavigationStore', {
                expanded: true,
                children: [
                    {
-                       text: gettext('Quarantine'),
-                       iconCls: 'fa fa-cubes',
+                       text: gettext('Spam Quarantine'),
+                       iconCls: 'fa fa-bullhorn',
                        path: 'pmgSpamQuarantine',
                        leaf: true,
                    },
+                   {
+                       text: gettext('Virus Quarantine'),
+                       iconCls: 'fa fa-bug',
+                       path: 'pmgVirusQuarantine',
+                       leaf: true,
+                   },
+                   {
+                       text: gettext('Attachment Quarantine'),
+                       iconCls: 'fa fa-paperclip',
+                       path: 'pmgAttachmentQuarantine',
+                       leaf: true,
+                   },
+                   {
+                       text: gettext('User Whitelist'),
+                       iconCls: 'fa fa-file-o',
+                       path: 'pmgUserWhitelist',
+                       leaf: true,
+                   },
+                   {
+                       text: gettext('User Blacklist'),
+                       iconCls: 'fa fa-file',
+                       path: 'pmgUserBlacklist',
+                       leaf: true,
+                   },
                    {
                        text: gettext('Tracking Center'),
                        iconCls: 'fa fa-map-o',
-                       path: 'pmgTrackingCenter',
+                       path: 'pmgMailTracker',
                        leaf: true,
                    },
                    {
@@ -111,13 +147,12 @@ Ext.define('PMG.store.NavigationStore', {
                        iconCls: 'fa fa-bars',
                        path: 'pmgQueueAdministration',
                        leaf: true,
-                   }
-               ]
+                   },
+               ],
            },
            {
                text: gettext('Statistics'),
                iconCls: 'fa fa-bar-chart',
-               border: false,
                path: 'pmgGeneralMailStatistics',
                expanded: true,
                children: [
@@ -125,62 +160,54 @@ Ext.define('PMG.store.NavigationStore', {
                        text: gettext('Spam Scores'),
                        iconCls: 'fa fa-table',
                        path: 'pmgSpamScoreDistribution',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
-                       text: gettext('Virus  Charts'),
+                       text: gettext('Virus Charts'),
                        iconCls: 'fa fa-bug',
                        path: 'pmgVirusCharts',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
                        text: gettext('Hourly Distribution'),
                        iconCls: 'fa fa-area-chart',
                        path: 'pmgHourlyMailDistribution',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
-                       text: gettext('RBL'),
+                       text: gettext('Postscreen'),
                        iconCls: 'fa fa-line-chart',
                        path: 'pmgRBLStatistics',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
                        text: gettext('Domain'),
                        iconCls: 'fa fa-table',
                        path: 'pmgDomainStatistics',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
                        text: gettext('Sender'),
                        iconCls: 'fa fa-table',
                        path: 'pmgSenderStatistics',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
                        text: gettext('Receiver'),
                        iconCls: 'fa fa-table',
                        path: 'pmgReceiverStatistics',
-                       border: false,
-                       leaf: true
+                       leaf: true,
                    },
                    {
                        text: gettext('Contact'),
                        iconCls: 'fa fa-table',
                        path: 'pmgContactStatistics',
-                       border: false,
-                       leaf: true
-                   }
-               ]
-           }
-       ]
-    }
+                       leaf: true,
+                   },
+               ],
+           },
+       ],
+    },
 });
 
 Ext.define('PMG.view.main.NavigationTree', {
@@ -197,5 +224,5 @@ Ext.define('PMG.view.main.NavigationTree', {
     expanderOnly: true,
     expanderFirst: false,
     store: 'NavigationStore',
-    ui: 'nav'
+    ui: 'pve-nav',
 });