[pve-devel] [PATCH manager 5/9] add icons to Logout/Create VM/CT

Dominik Csapak d.csapak at proxmox.com
Mon Apr 11 10:19:04 CEST 2016


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/Workspace.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index b970223..771e067 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -335,6 +335,7 @@ Ext.define('PVE.StdWorkspace', {
 	    pack: 'end',
 	    margin: '3 5 0 0',
 	    baseCls: 'x-btn',
+	    iconCls: 'fa fa-desktop',
 	    text: gettext("Create VM"),
 	    disabled: !caps.vms['VM.Allocate'],
 	    handler: function() {
@@ -347,6 +348,7 @@ Ext.define('PVE.StdWorkspace', {
 	    pack: 'end',
 	    margin: '3 5 0 0',
 	    baseCls: 'x-btn',
+	    iconCls: 'fa fa-cube',
 	    text: gettext("Create CT"),
 	    disabled: !caps.vms['VM.Allocate'],
 	    handler: function() {
@@ -401,6 +403,7 @@ Ext.define('PVE.StdWorkspace', {
 			    margin: '0 5 0 0',
 			    xtype: 'button',
 			    baseCls: 'x-btn',
+			    iconCls: 'fa fa-sign-out',
 			    text: gettext("Logout"),
 			    handler: function() { 
 				PVE.data.ResourceStore.stopUpdate();
-- 
2.1.4





More information about the pve-devel mailing list