add menu icons for VNC and SPICE

This commit is contained in:
Dietmar Maurer 2013-12-17 07:48:05 +01:00
parent 5272d70b74
commit cb94e573d2
5 changed files with 20 additions and 0 deletions

View File

@ -20,6 +20,8 @@
-khtml-user-select: text!important;
}
.pve-itype-icon-virt-viewer,
.pve-itype-icon-tigervnc,
.pve-itype-icon-display,
.pve-itype-icon-memory,
.pve-itype-icon-processor,
@ -146,6 +148,16 @@
background-image:url(../images/display.png);
}
.pve-itype-icon-tigervnc
{
background-image:url(../images/tigervnc.png);
}
.pve-itype-icon-virt-viewer
{
background-image:url(../images/virt-viewer.png);
}
.pve-bar-wrap
{

View File

@ -6,6 +6,10 @@ all:
# stop.png /usr/share/icons/gnome/16x16/actions/media-playback-stop.png
# computer-template.png /usr/share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.sun.xml.calc.template.png
# virt-viewer.png copied from virt-viewer sources
# tigervnc.png converted from tigervnc sources
# (tigervnc.org/media/tigervnc_16.svg)
GNOME_IMAGES = \
start.png \
stop.png \
@ -22,6 +26,8 @@ GNOME_IMAGES = \
computer.png
IMAGES = ${GNOME_IMAGES} \
virt-viewer.png \
tigervnc.png \
favicon.ico \
snapshot.png \
computer-on.png \

BIN
www/images/tigervnc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

BIN
www/images/virt-viewer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

View File

@ -87,11 +87,13 @@ Ext.define('PVE.button.ConsoleButton', {
me.spiceMenu = Ext.create('Ext.menu.Item', {
text: 'SPICE',
iconCls: 'pve-itype-icon-virt-viewer',
handler: create_spice_console
});
var vncMenu = Ext.create('Ext.menu.Item', {
text: 'VNC',
iconCls: 'pve-itype-icon-tigervnc',
handler: create_vnc_console
});