mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-26 23:03:55 +00:00
show serial ports on the gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
cd86ab24de
commit
a488da8c24
@ -227,6 +227,15 @@ Ext.define('PVE.qemu.HardwareView', {
|
|||||||
header: gettext('PCI Device') + ' (' + confid + ')'
|
header: gettext('PCI Device') + ' (' + confid + ')'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
for (i = 0; i < 4; i++) {
|
||||||
|
confid = "serial" + i.toString();
|
||||||
|
rows[confid] = {
|
||||||
|
group: 6,
|
||||||
|
tdCls: 'pve-itype-icon-serial',
|
||||||
|
never_delete: caps.nodes['Sys.Console'] ? false : true,
|
||||||
|
header: gettext('Serial Port') + ' (' + confid + ')'
|
||||||
|
};
|
||||||
|
}
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
rows["unused" + i.toString()] = {
|
rows["unused" + i.toString()] = {
|
||||||
group: 99,
|
group: 99,
|
||||||
|
Loading…
Reference in New Issue
Block a user