diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css index e4e8fbca..c4423ee5 100644 --- a/www/css/ext6-pve.css +++ b/www/css/ext6-pve.css @@ -301,6 +301,7 @@ .pve-itype-icon-serial, .pve-itype-icon-cloud, .pve-itype-icon-pci, +.pve-itype-icon-cpu, .pve-itype-icon-die { background-repeat: no-repeat; background-position:3px center; @@ -418,6 +419,12 @@ background-image:url(../images/icon-die.svg); } +.pve-itype-icon-cpu { + background-size: 16px; + background-image:url(../images/icon-cpu.svg); +} + + .pve-icon { height: 16px; background-position: bottom; diff --git a/www/images/Makefile b/www/images/Makefile index 8b2d1796..25c34764 100644 --- a/www/images/Makefile +++ b/www/images/Makefile @@ -80,6 +80,7 @@ IMAGES = ${GNOME_IMAGES} \ icon-die.svg \ icon-sdn.svg \ icon-fa-network-wired.svg\ + icon-cpu.svg \ icon-sdn.svg: icon-sdn.dot diff --git a/www/images/icon-cpu.svg b/www/images/icon-cpu.svg new file mode 100644 index 00000000..16b02604 --- /dev/null +++ b/www/images/icon-cpu.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js index 6cea4287..2ce4e3d6 100644 --- a/www/manager6/qemu/HardwareView.js +++ b/www/manager6/qemu/HardwareView.js @@ -95,7 +95,7 @@ Ext.define('PVE.qemu.HardwareView', { never_delete: true, editor: caps.vms['VM.Config.CPU'] || caps.vms['VM.Config.HWType'] ? 'PVE.qemu.ProcessorEdit' : undefined, - tdCls: 'pmx-itype-icon-processor', + tdCls: 'pve-itype-icon-cpu', group: 3, defaultValue: '1', multiKey: ['sockets', 'cpu', 'cores', 'numa', 'vcpus', 'cpulimit', 'cpuunits'],