[pve-devel] [PATCH manager 3/4] Use the new xterm.js icon with the corresponding Menu Item

Emmanuel Kasper e.kasper at proxmox.com
Tue Dec 19 14:10:00 CET 2017


Signed-off-by: Emmanuel Kasper <e.kasper at proxmox.com>
---
 www/css/ext6-pve.css                 | 6 ++++++
 www/manager6/button/ConsoleButton.js | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index c8fabd6f..2c6de752 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -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);
diff --git a/www/manager6/button/ConsoleButton.js b/www/manager6/button/ConsoleButton.js
index 1392c555..635504f2 100644
--- a/www/manager6/button/ConsoleButton.js
+++ b/www/manager6/button/ConsoleButton.js
@@ -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');
-- 
2.11.0





More information about the pve-devel mailing list