mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 11:37:09 +00:00
ext6migrate: add Tabs to Storages
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
86cc7049d2
commit
232c96e0f1
@ -15,18 +15,17 @@ Ext.define('PVE.storage.Browser', {
|
||||
throw "no storage ID specified";
|
||||
}
|
||||
|
||||
var caps = Ext.state.Manager.get('GuiCap');
|
||||
|
||||
me.items = [
|
||||
{
|
||||
title: gettext('SummaryTODO'),
|
||||
xtype: 'panel',
|
||||
// title: gettext('Summary'),
|
||||
// xtype: 'pveStorageSummary',
|
||||
title: gettext('Summary'),
|
||||
xtype: 'pveStorageSummary',
|
||||
itemId: 'summary'
|
||||
}
|
||||
];
|
||||
|
||||
var caps = Ext.state.Manager.get('GuiCap');
|
||||
|
||||
Ext.apply(me, {
|
||||
title: Ext.String.format(gettext("Storage {0} on node {1}"),
|
||||
"'" + storeid + "'", "'" + nodename + "'"),
|
||||
@ -35,21 +34,16 @@ Ext.define('PVE.storage.Browser', {
|
||||
|
||||
if (caps.storage['Datastore.Allocate']) {
|
||||
me.items.push({
|
||||
xtype: 'gridpanel',
|
||||
title: gettext('ContentTODO'),
|
||||
// xtype: 'pveStorageContentView',
|
||||
// title: gettext('Content'),
|
||||
xtype: 'pveStorageContentView',
|
||||
title: gettext('Content'),
|
||||
itemId: 'content'
|
||||
});
|
||||
}
|
||||
|
||||
if (caps.storage['Permissions.Modify']) {
|
||||
me.items.push({
|
||||
xtype: 'window',
|
||||
title: gettext('PermissionsTODO'),
|
||||
// xtype: 'pveACLView',
|
||||
// title: gettext('Permissions'),
|
||||
|
||||
xtype: 'pveACLView',
|
||||
title: gettext('Permissions'),
|
||||
itemId: 'permissions',
|
||||
path: '/storage/' + storeid
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user