]> git.proxmox.com Git - pve-manager.git/blob - www/manager6/pool/Config.js
ui: ScheduleSimulator: split date and time into two columns
[pve-manager.git] / www / manager6 / pool / Config.js
1 Ext.define('PVE.pool.Config', {
2 extend: 'PVE.panel.Config',
3 alias: 'widget.pvePoolConfig',
4
5 onlineHelp: 'pveum_pools',
6
7 initComponent: function() {
8 var me = this;
9
10 var pool = me.pveSelNode.data.pool;
11 if (!pool) {
12 throw "no pool specified";
13 }
14
15 Ext.apply(me, {
16 title: Ext.String.format(gettext("Resource Pool") + ': ' + pool),
17 hstateid: 'pooltab',
18 items: [
19 {
20 title: gettext('Summary'),
21 iconCls: 'fa fa-book',
22 xtype: 'pvePoolSummary',
23 itemId: 'summary',
24 },
25 {
26 title: gettext('Members'),
27 xtype: 'pvePoolMembers',
28 iconCls: 'fa fa-th',
29 pool: pool,
30 itemId: 'members',
31 },
32 {
33 xtype: 'pveACLView',
34 title: gettext('Permissions'),
35 iconCls: 'fa fa-unlock',
36 itemId: 'permissions',
37 path: '/pool/' + pool,
38 },
39 ],
40 });
41
42 me.callParent();
43 },
44 });