mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-07-24 14:49:52 +00:00
js/RBLStatistics.js - show pregreet rejects, change title to 'Postscreen'
This commit is contained in:
parent
7162ba0012
commit
d6a00b29ca
@ -157,7 +157,7 @@ Ext.define('PMG.store.NavigationStore', {
|
||||
leaf: true
|
||||
},
|
||||
{
|
||||
text: gettext('RBL'),
|
||||
text: gettext('Postscreen'),
|
||||
iconCls: 'fa fa-line-chart',
|
||||
path: 'pmgRBLStatistics',
|
||||
leaf: true
|
||||
|
@ -7,25 +7,23 @@ Ext.define('PMG.RBLStatistics', {
|
||||
|
||||
bodyPadding: '10 0 10 10',
|
||||
|
||||
title: gettext('Statistics') + ': ' + gettext('RBL rejects'),
|
||||
title: gettext('Statistics') + ': ' + gettext('Postscreen'),
|
||||
|
||||
tbar: [ { xtype: 'pmgStatTimeSelector' } ],
|
||||
|
||||
items: [
|
||||
{
|
||||
title: gettext('RBL rejects'),
|
||||
title: gettext('Rejects'),
|
||||
xtype: 'proxmoxRRDChart',
|
||||
legend: false,
|
||||
fields: [ 'count' ],
|
||||
fieldTitles: [
|
||||
gettext('RBL rejects')
|
||||
],
|
||||
fields: [ 'rbl_rejects', 'pregreet_rejects'],
|
||||
fieldTitles: ['RBL', 'PREGREET'],
|
||||
store: {
|
||||
type: 'pmgStatStore',
|
||||
includeTimeSpan: true,
|
||||
staturl: "/api2/json/statistics/rblcount",
|
||||
staturl: "/api2/json/statistics/rejectcount",
|
||||
fields: [
|
||||
{ type: 'integer', name: 'count' },
|
||||
{ type: 'integer', name: 'rbl_rejects' },
|
||||
{ type: 'integer', name: 'pregreet_rejects' },
|
||||
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user