ui: SystemEdit: promote advanced settings to normal

and reorder the panel a bit, as otherwise I found it *very* cluttered.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Tested-By: Aaron Lauterer <a.lauterer@proxmox.com>
This commit is contained in:
Stefan Reiter 2021-10-11 14:55:19 +02:00 committed by Thomas Lamprecht
parent 401a5c1f76
commit b0a0b17dbc

View File

@ -69,28 +69,15 @@ Ext.define('PVE.qemu.SystemInputPanel', {
comboItems: PVE.Utils.kvm_vga_driver_array(),
},
{
xtype: 'proxmoxcheckbox',
name: 'agent',
uncheckedValue: 0,
defaultValue: 0,
deleteDefaultValue: true,
fieldLabel: gettext('Qemu Agent'),
},
],
column2: [
{
xtype: 'pveScsiHwSelector',
name: 'scsihw',
xtype: 'proxmoxKVComboBox',
name: 'machine',
value: '__default__',
bind: {
value: '{current.scsihw}',
},
fieldLabel: gettext('SCSI Controller'),
fieldLabel: gettext('Machine'),
comboItems: [
['__default__', PVE.Utils.render_qemu_machine('')],
['q35', 'q35'],
],
},
],
advancedColumn1: [
{
xtype: 'pveQemuBiosSelector',
name: 'bios',
@ -126,16 +113,23 @@ Ext.define('PVE.qemu.SystemInputPanel', {
},
],
advancedColumn2: [
column2: [
{
xtype: 'proxmoxKVComboBox',
name: 'machine',
xtype: 'pveScsiHwSelector',
name: 'scsihw',
value: '__default__',
fieldLabel: gettext('Machine'),
comboItems: [
['__default__', PVE.Utils.render_qemu_machine('')],
['q35', 'q35'],
],
bind: {
value: '{current.scsihw}',
},
fieldLabel: gettext('SCSI Controller'),
},
{
xtype: 'proxmoxcheckbox',
name: 'agent',
uncheckedValue: 0,
defaultValue: 0,
deleteDefaultValue: true,
fieldLabel: gettext('Qemu Agent'),
},
{
xtype: 'proxmoxcheckbox',