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