mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:52:32 +00:00
copy pool/Config.js from manager to manager5
This commit is contained in:
parent
9445dab493
commit
a93fcb893f
39
www/manager5/pool/Config.js
Normal file
39
www/manager5/pool/Config.js
Normal file
@ -0,0 +1,39 @@
|
||||
Ext.define('PVE.pool.Config', {
|
||||
extend: 'PVE.panel.Config',
|
||||
alias: 'widget.pvePoolConfig',
|
||||
|
||||
initComponent: function() {
|
||||
var me = this;
|
||||
|
||||
var pool = me.pveSelNode.data.pool;
|
||||
if (!pool) {
|
||||
throw "no pool specified";
|
||||
}
|
||||
|
||||
Ext.apply(me, {
|
||||
title: Ext.String.format(gettext("Resource Pool") + ': ' + pool),
|
||||
hstateid: 'pooltab',
|
||||
items: [
|
||||
{
|
||||
title: gettext('Summary'),
|
||||
xtype: 'pvePoolSummary',
|
||||
itemId: 'summary'
|
||||
},
|
||||
{
|
||||
title: gettext('Members'),
|
||||
xtype: 'pvePoolMembers',
|
||||
pool: pool,
|
||||
itemId: 'members'
|
||||
},
|
||||
{
|
||||
xtype: 'pveACLView',
|
||||
title: gettext('Permissions'),
|
||||
itemId: 'permissions',
|
||||
path: '/pool/' + pool
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
me.callParent();
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user