mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 22:56:29 +00:00
qemu: change virtio-rng icon to die
'die' as in 'dice', not what Perl does Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
6c1d8ead7a
commit
4ba4c7c616
@ -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;
|
||||
|
@ -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}
|
||||
|
40
www/images/icon-die.svg
Normal file
40
www/images/icon-die.svg
Normal file
@ -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>
|
After Width: | Height: | Size: 1.5 KiB |
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user