]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
show serial ports on the gui
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 26 Jan 2018 10:58:02 +0000 (11:58 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 30 Jan 2018 15:37:21 +0000 (16:37 +0100)
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>
www/manager6/qemu/HardwareView.js

index 5930ef3041b00fc45d3a806e45a0601206a0f9c9..4b7d7e1242d14a7b57fbd0e79420b2e20466fca9 100644 (file)
@@ -227,6 +227,15 @@ Ext.define('PVE.qemu.HardwareView', {
                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++) {
            rows["unused" + i.toString()] = {
                group: 99,