]> git.proxmox.com Git - pve-manager.git/blame - www/manager5/pool/StatusView.js
update build infrastucture to be able to develop with Ext6
[pve-manager.git] / www / manager5 / pool / StatusView.js
CommitLineData
c801943b
DM
1Ext.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 required: true
17 }
18 };
19
20 Ext.applyIf(me, {
21 title: gettext('Status'),
22 url: "/api2/json/pools/" + pool,
23 cwidth1: 150,
24 interval: 30000,
25 //height: 195,
26 rows: rows
27 });
28
29 me.callParent();
30 }
31});