]>
git.proxmox.com Git - pmg-gui.git/blob - js/VirusCharts.js
2 Ext
.define('PMG.VirusCharts', {
3 extend
: 'Ext.grid.GridPanel',
4 xtype
: 'pmgVirusCharts',
6 title
: gettext('Statistics') + ': ' + gettext('Virus Charts'),
9 disableSelection
: true,
11 tbar
: [ { xtype
: 'pmgStatTimeSelector' } ],
13 emptyText
: gettext('No data in database'),
19 xclass
: 'PMG.data.StatStore',
20 fields
: [ 'name', 'count' ],
21 staturl
: "/api2/json/statistics/virus"
26 header
: gettext('Name'),
31 header
: gettext('Count'),
37 initComponent: function() {
42 Proxmox
.Utils
.monStoreErrors(me
, me
.store
);