diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css index df49df73..388b32c9 100644 --- a/www/css/ext6-pve.css +++ b/www/css/ext6-pve.css @@ -279,7 +279,8 @@ .pve-itype-icon-usb, .pve-itype-icon-serial, .pve-itype-icon-cloud, -.pve-itype-icon-pci +.pve-itype-icon-pci, +.pve-itype-icon-die { background-repeat: no-repeat; background-position:3px center; @@ -422,6 +423,12 @@ background-image:url(../images/icon-cloud.svg); } +.pve-itype-icon-die +{ + background-size: 16px; + background-image:url(../images/icon-die.svg); +} + .pve-icon { height: 16px; background-position: bottom; diff --git a/www/images/Makefile b/www/images/Makefile index b7e001f4..d78a0cca 100644 --- a/www/images/Makefile +++ b/www/images/Makefile @@ -78,7 +78,8 @@ IMAGES = ${GNOME_IMAGES} \ icon-serial.svg \ icon-cloud.svg \ icon-pci.png \ - icon-usb.png + icon-usb.png \ + icon-die.svg .PHONY: install install: ${IMAGES} diff --git a/www/images/icon-die.svg b/www/images/icon-die.svg new file mode 100644 index 00000000..5dccb010 --- /dev/null +++ b/www/images/icon-die.svg @@ -0,0 +1,40 @@ + + + + + + + + + diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js index 595afd10..20983b9b 100644 --- a/www/manager6/qemu/HardwareView.js +++ b/www/manager6/qemu/HardwareView.js @@ -303,7 +303,7 @@ Ext.define('PVE.qemu.HardwareView', { } rows.rng0 = { group: 45, - iconCls: 'cogs', + tdCls: 'pve-itype-icon-die', editor: caps.nodes['Sys.Console'] ? 'PVE.qemu.RNGEdit' : undefined, never_delete: caps.nodes['Sys.Console'] ? false : true, header: gettext("VirtIO RNG") @@ -735,7 +735,7 @@ Ext.define('PVE.qemu.HardwareView', { { text: gettext("VirtIO RNG"), itemId: 'addrng', - iconCls: 'fa fa-fw fa-cogs black', + iconCls: 'pve-itype-icon-die', disabled: !caps.nodes['Sys.Console'], handler: function() { var win = Ext.create('PVE.qemu.RNGEdit', {