]> git.proxmox.com Git - pve-manager.git/commitdiff
qemu: change virtio-rng icon to die
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 20 Feb 2020 17:10:43 +0000 (18:10 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 6 Mar 2020 17:19:39 +0000 (18:19 +0100)
'die' as in 'dice', not what Perl does

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
www/css/ext6-pve.css
www/images/Makefile
www/images/icon-die.svg [new file with mode: 0644]
www/manager6/qemu/HardwareView.js

index df49df73383966e3e747bcf6a6fbe8b0ad63219b..388b32c91f68bc0f5f9242550db2e66b0f19075b 100644 (file)
 .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;
     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;
index b7e001f4e587a64e2f8f008a273e8bb46601f5b8..d78a0cca192901016d9e241ed6938245624c2762 100644 (file)
@@ -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 (file)
index 0000000..5dccb01
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   width="800"
+   height="800"
+   viewBox="0 0 211.66667 211.66667"
+   version="1.1">
+  <g
+     id="layer1"
+     transform="translate(0,-85.333333)">
+    <rect
+       id="rect3852"
+       width="178.39867"
+       height="178.39865"
+       x="16.634005"
+       y="101.96733"
+       style="fill:none;stroke:#000000;stroke-width:15.875;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
+       ry="25.099966" />
+    <circle
+       style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:13.22916603;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
+       id="path4663"
+       cx="105.83334"
+       cy="191.16667"
+       r="18" />
+    <circle
+       style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:13.22916698;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
+       id="path4663-3"
+       cx="149.83366"
+       cy="235.16634"
+       r="18" />
+    <circle
+       style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:13.22916698;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
+       id="path4663-6"
+       cx="61.833668"
+       cy="147.16634"
+       r="18" />
+  </g>
+</svg>
index 595afd107e8721cd0f7ee1dad6be4e564118fe66..20983b9b85217e8f67861d0224e02ba5ee17bfcb 100644 (file)
@@ -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', {