mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-21 17:29:42 +00:00
add menu icons for VNC and SPICE
This commit is contained in:
parent
5272d70b74
commit
cb94e573d2
@ -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 @@
|
|||||||
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:
|
|||||||
# 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 = \
|
|||||||
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 \
|
||||||
|
BIN
www/images/tigervnc.png
Normal file
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
BIN
www/images/virt-viewer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 662 B |
@ -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
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user