Use the new xterm.js icon with the corresponding Menu Item

Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
This commit is contained in:
Emmanuel Kasper 2017-12-19 14:10:00 +01:00 committed by Dominik Csapak
parent 55865319ab
commit d0f7ae4642
2 changed files with 7 additions and 1 deletions

View File

@ -201,6 +201,7 @@
.pve-itype-icon-virt-viewer,
.pve-itype-icon-tigervnc,
.pve-itype-icon-novnc,
.pve-itype-icon-xtermjs,
.pve-itype-icon-display,
.pve-itype-icon-memory,
.pve-itype-icon-processor,
@ -324,6 +325,11 @@
background-image:url(../images/virt-viewer.png);
}
.pve-itype-icon-xtermjs
{
background-image:url(../images/xtermjs.png);
}
.pve-itype-icon-usb
{
background-image:url(../images/icon-usb.png);

View File

@ -52,7 +52,7 @@ Ext.define('PVE.button.ConsoleButton', {
{
text: 'xterm.js',
itemId: 'xtermjs',
iconCls: 'fa fa-terminal',
iconCls: 'pve-itype-icon-xtermjs',
type: 'xtermjs',
handler: function(button) {
var me = this.up('button');