mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-07-25 20:12:56 +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
|
leaf: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('RBL'),
|
text: gettext('Postscreen'),
|
||||||
iconCls: 'fa fa-line-chart',
|
iconCls: 'fa fa-line-chart',
|
||||||
path: 'pmgRBLStatistics',
|
path: 'pmgRBLStatistics',
|
||||||
leaf: true
|
leaf: true
|
||||||
|
@ -7,25 +7,23 @@ Ext.define('PMG.RBLStatistics', {
|
|||||||
|
|
||||||
bodyPadding: '10 0 10 10',
|
bodyPadding: '10 0 10 10',
|
||||||
|
|
||||||
title: gettext('Statistics') + ': ' + gettext('RBL rejects'),
|
title: gettext('Statistics') + ': ' + gettext('Postscreen'),
|
||||||
|
|
||||||
tbar: [ { xtype: 'pmgStatTimeSelector' } ],
|
tbar: [ { xtype: 'pmgStatTimeSelector' } ],
|
||||||
|
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
title: gettext('RBL rejects'),
|
title: gettext('Rejects'),
|
||||||
xtype: 'proxmoxRRDChart',
|
xtype: 'proxmoxRRDChart',
|
||||||
legend: false,
|
fields: [ 'rbl_rejects', 'pregreet_rejects'],
|
||||||
fields: [ 'count' ],
|
fieldTitles: ['RBL', 'PREGREET'],
|
||||||
fieldTitles: [
|
|
||||||
gettext('RBL rejects')
|
|
||||||
],
|
|
||||||
store: {
|
store: {
|
||||||
type: 'pmgStatStore',
|
type: 'pmgStatStore',
|
||||||
includeTimeSpan: true,
|
includeTimeSpan: true,
|
||||||
staturl: "/api2/json/statistics/rblcount",
|
staturl: "/api2/json/statistics/rejectcount",
|
||||||
fields: [
|
fields: [
|
||||||
{ type: 'integer', name: 'count' },
|
{ type: 'integer', name: 'rbl_rejects' },
|
||||||
|
{ type: 'integer', name: 'pregreet_rejects' },
|
||||||
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
|
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user