mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-30 23:22:29 +00:00
partially rever qemu gui structure
this restores the structure of the qemu options and moves the console to the second position Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
e72f428558
commit
1939a0069e
@ -140,17 +140,31 @@ Ext.define('PVE.qemu.Config', {
|
|||||||
xtype: 'pveQemuSummary',
|
xtype: 'pveQemuSummary',
|
||||||
iconCls: 'fa fa-book',
|
iconCls: 'fa fa-book',
|
||||||
itemId: 'summary'
|
itemId: 'summary'
|
||||||
},
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
|
||||||
|
if (caps.vms['VM.Console'] && !template) {
|
||||||
|
me.items.push({
|
||||||
|
title: gettext('Console'),
|
||||||
|
itemId: 'console',
|
||||||
|
iconCls: 'fa fa-terminal',
|
||||||
|
xtype: 'pveNoVncConsole',
|
||||||
|
vmid: vmid,
|
||||||
|
consoleType: 'kvm',
|
||||||
|
nodename: nodename
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
me.items.push(
|
||||||
{
|
{
|
||||||
title: gettext('System'),
|
title: gettext('Hardware'),
|
||||||
itemId: 'system',
|
itemId: 'hardware',
|
||||||
expandedOnInit: true,
|
|
||||||
iconCls: 'fa fa-desktop',
|
iconCls: 'fa fa-desktop',
|
||||||
xtype: 'PVE.qemu.HardwareView'
|
xtype: 'PVE.qemu.HardwareView'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: gettext('Options'),
|
title: gettext('Options'),
|
||||||
groups: ['system'],
|
|
||||||
iconCls: 'fa fa-gear',
|
iconCls: 'fa fa-gear',
|
||||||
itemId: 'options',
|
itemId: 'options',
|
||||||
xtype: 'PVE.qemu.Options'
|
xtype: 'PVE.qemu.Options'
|
||||||
@ -162,13 +176,11 @@ Ext.define('PVE.qemu.Config', {
|
|||||||
iconCls: 'fa fa-list',
|
iconCls: 'fa fa-list',
|
||||||
vmidFilter: vmid
|
vmidFilter: vmid
|
||||||
}
|
}
|
||||||
]
|
);
|
||||||
});
|
|
||||||
|
|
||||||
if (caps.vms['VM.Monitor'] && !template) {
|
if (caps.vms['VM.Monitor'] && !template) {
|
||||||
me.items.push({
|
me.items.push({
|
||||||
title: gettext('Monitor'),
|
title: gettext('Monitor'),
|
||||||
groups: ['system'],
|
|
||||||
iconCls: 'fa fa-eye',
|
iconCls: 'fa fa-eye',
|
||||||
itemId: 'monitor',
|
itemId: 'monitor',
|
||||||
xtype: 'pveQemuMonitor'
|
xtype: 'pveQemuMonitor'
|
||||||
@ -193,19 +205,6 @@ Ext.define('PVE.qemu.Config', {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (caps.vms['VM.Console'] && !template) {
|
|
||||||
me.items.push({
|
|
||||||
title: gettext('Console'),
|
|
||||||
itemId: 'console',
|
|
||||||
iconCls: 'fa fa-terminal',
|
|
||||||
groups: ['system'],
|
|
||||||
xtype: 'pveNoVncConsole',
|
|
||||||
vmid: vmid,
|
|
||||||
consoleType: 'kvm',
|
|
||||||
nodename: nodename
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (caps.vms['VM.Console']) {
|
if (caps.vms['VM.Console']) {
|
||||||
me.items.push(
|
me.items.push(
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user