Commit 3acbeafa authored by Dietmar Maurer's avatar Dietmar Maurer

add menu icons for VNC and SPICE

parent 381ff163
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
-khtml-user-select: text!important; -khtml-user-select: text!important;
} }
.pve-itype-icon-virt-viewer,
.pve-itype-icon-tigervnc,
.pve-itype-icon-display, .pve-itype-icon-display,
.pve-itype-icon-memory, .pve-itype-icon-memory,
.pve-itype-icon-processor, .pve-itype-icon-processor,
...@@ -146,6 +148,16 @@ ...@@ -146,6 +148,16 @@
background-image:url(../images/display.png); 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 .pve-bar-wrap
{ {
......
...@@ -6,6 +6,10 @@ all: ...@@ -6,6 +6,10 @@ all:
# stop.png /usr/share/icons/gnome/16x16/actions/media-playback-stop.png # 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 # 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 = \ GNOME_IMAGES = \
start.png \ start.png \
stop.png \ stop.png \
...@@ -22,6 +26,8 @@ GNOME_IMAGES = \ ...@@ -22,6 +26,8 @@ GNOME_IMAGES = \
computer.png computer.png
IMAGES = ${GNOME_IMAGES} \ IMAGES = ${GNOME_IMAGES} \
virt-viewer.png \
tigervnc.png \
favicon.ico \ favicon.ico \
snapshot.png \ snapshot.png \
computer-on.png \ computer-on.png \
......
...@@ -87,11 +87,13 @@ Ext.define('PVE.button.ConsoleButton', { ...@@ -87,11 +87,13 @@ Ext.define('PVE.button.ConsoleButton', {
me.spiceMenu = Ext.create('Ext.menu.Item', { me.spiceMenu = Ext.create('Ext.menu.Item', {
text: 'SPICE', text: 'SPICE',
iconCls: 'pve-itype-icon-virt-viewer',
handler: create_spice_console handler: create_spice_console
}); });
var vncMenu = Ext.create('Ext.menu.Item', { var vncMenu = Ext.create('Ext.menu.Item', {
text: 'VNC', text: 'VNC',
iconCls: 'pve-itype-icon-tigervnc',
handler: create_vnc_console handler: create_vnc_console
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment