mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 16:18:25 +00:00
partially revert lxc gui structure
this patch removes the "system" group and reorders the options like it was before, with one exception: console now comes at second place after summary Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
8f795124ac
commit
e72f428558
@ -131,45 +131,57 @@ Ext.define('PVE.lxc.Config', {
|
||||
xtype: 'pveLxcSummary',
|
||||
iconCls: 'fa fa-book',
|
||||
itemId: 'summary'
|
||||
},
|
||||
{
|
||||
title: gettext('System'),
|
||||
itemId: 'system',
|
||||
expandedOnInit: true,
|
||||
iconCls: 'fa fa-cube',
|
||||
xtype: 'pveLxcRessourceView'
|
||||
},
|
||||
{
|
||||
title: gettext('Options'),
|
||||
itemId: 'options',
|
||||
groups: ['system'],
|
||||
iconCls: 'fa fa-gear',
|
||||
xtype: 'pveLxcOptions'
|
||||
},
|
||||
{
|
||||
title: gettext('Network'),
|
||||
iconCls: 'fa fa-exchange',
|
||||
itemId: 'network',
|
||||
groups:['system'],
|
||||
xtype: 'pveLxcNetworkView'
|
||||
},
|
||||
{
|
||||
title: gettext('DNS'),
|
||||
groups: ['system'],
|
||||
iconCls: 'fa fa-globe',
|
||||
itemId: 'dns',
|
||||
xtype: 'pveLxcDNS'
|
||||
},
|
||||
{
|
||||
title: gettext('Task History'),
|
||||
itemId: 'tasks',
|
||||
iconCls: 'fa fa-list',
|
||||
xtype: 'pveNodeTasks',
|
||||
vmidFilter: vmid
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
if (caps.vms['VM.Console']) {
|
||||
me.items.push({
|
||||
title: gettext('Console'),
|
||||
itemId: 'console',
|
||||
iconCls: 'fa fa-terminal',
|
||||
xtype: 'pveNoVncConsole',
|
||||
vmid: vmid,
|
||||
consoleType: 'lxc',
|
||||
nodename: nodename
|
||||
});
|
||||
}
|
||||
|
||||
me.items.push(
|
||||
{
|
||||
title: gettext('Resources'),
|
||||
itemId: 'resources',
|
||||
expandedOnInit: true,
|
||||
iconCls: 'fa fa-cube',
|
||||
xtype: 'pveLxcRessourceView'
|
||||
},
|
||||
{
|
||||
title: gettext('Network'),
|
||||
iconCls: 'fa fa-exchange',
|
||||
itemId: 'network',
|
||||
xtype: 'pveLxcNetworkView'
|
||||
},
|
||||
{
|
||||
title: gettext('DNS'),
|
||||
iconCls: 'fa fa-globe',
|
||||
itemId: 'dns',
|
||||
xtype: 'pveLxcDNS'
|
||||
},
|
||||
{
|
||||
title: gettext('Options'),
|
||||
itemId: 'options',
|
||||
iconCls: 'fa fa-gear',
|
||||
xtype: 'pveLxcOptions'
|
||||
},
|
||||
{
|
||||
title: gettext('Task History'),
|
||||
itemId: 'tasks',
|
||||
iconCls: 'fa fa-list',
|
||||
xtype: 'pveNodeTasks',
|
||||
vmidFilter: vmid
|
||||
}
|
||||
);
|
||||
|
||||
if (caps.vms['VM.Backup']) {
|
||||
me.items.push({
|
||||
title: gettext('Backup'),
|
||||
@ -179,19 +191,6 @@ Ext.define('PVE.lxc.Config', {
|
||||
});
|
||||
}
|
||||
|
||||
if (caps.vms['VM.Console']) {
|
||||
me.items.push({
|
||||
title: gettext('Console'),
|
||||
itemId: 'console',
|
||||
groups: ['system'],
|
||||
iconCls: 'fa fa-terminal',
|
||||
xtype: 'pveNoVncConsole',
|
||||
vmid: vmid,
|
||||
consoleType: 'lxc',
|
||||
nodename: nodename
|
||||
});
|
||||
}
|
||||
|
||||
if (caps.vms['VM.Snapshot']) {
|
||||
me.items.push({
|
||||
title: gettext('Snapshots'),
|
||||
|
Loading…
Reference in New Issue
Block a user