]>
git.proxmox.com Git - pmg-gui.git/blob - js/RBLStatistics.js
1 Ext
.define('PMG.RBLStatistics', {
2 extend
: 'Ext.panel.Panel',
3 xtype
: 'pmgRBLStatistics',
8 bodyPadding
: '10 0 10 10',
10 title
: gettext('Statistics') + ': ' + gettext('Postscreen'),
12 tbar
: [ { xtype
: 'pmgStatTimeSelector' } ],
16 title
: gettext('Rejects'),
17 xtype
: 'proxmoxRRDChart',
18 fields
: [ 'rbl_rejects', 'pregreet_rejects'],
19 fieldTitles
: ['RBL', 'PREGREET'],
22 includeTimeSpan
: true,
23 staturl
: "/api2/json/statistics/rejectcount",
25 { type
: 'integer', name
: 'rbl_rejects' },
26 { type
: 'integer', name
: 'pregreet_rejects' },
27 { type
: 'date', dateFormat
: 'timestamp', name
: 'time' }