]>
git.proxmox.com Git - pmg-gui.git/blob - js/VirusCharts.js
1 Ext
.define('PMG.VirusCharts', {
2 extend
: 'Ext.grid.GridPanel',
3 xtype
: 'pmgVirusCharts',
5 title
: gettext('Statistics') + ': ' + gettext('Virus Charts'),
8 disableSelection
: true,
10 tbar
: [{ xtype
: 'pmgStatTimeSelector' }],
12 emptyText
: gettext('No data in database'),
14 deferEmptyText
: false,
18 xclass
: 'PMG.data.StatStore',
19 fields
: ['name', 'count'],
20 staturl
: "/api2/json/statistics/virus",
25 header
: gettext('Name'),
30 header
: gettext('Count'),
36 initComponent: function() {
41 Proxmox
.Utils
.monStoreErrors(me
, me
.store
);