]> git.proxmox.com Git - pve-manager.git/blob - www/manager/pool/StatusView.js
disable animation of charts on load
[pve-manager.git] / www / manager / pool / StatusView.js
1 Ext.define('PVE.pool.StatusView', {
2 extend: 'PVE.grid.ObjectGrid',
3 alias: ['widget.pvePoolStatusView'],
4
5 initComponent : function() {
6 var me = this;
7
8 var pool = me.pveSelNode.data.pool;
9 if (!pool) {
10 throw "no pool specified";
11 }
12
13 var rows = {
14 comment: {
15 header: gettext('Comment'),
16 renderer: Ext.String.htmlEncode,
17 required: true
18 }
19 };
20
21 Ext.applyIf(me, {
22 title: gettext('Status'),
23 url: "/api2/json/pools/" + pool,
24 cwidth1: 150,
25 interval: 30000,
26 //height: 195,
27 rows: rows
28 });
29
30 me.callParent();
31 }
32 });