[pve-devel] [PATCH manager 6/9] change icons in storage add menu

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


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

diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js
index 9c29aea..84a2bcc 100644
--- a/www/manager6/dc/StorageView.js
+++ b/www/manager6/dc/StorageView.js
@@ -108,7 +108,7 @@ Ext.define('PVE.dc.StorageView', {
 			items: [
 			    {
 				text:  PVE.Utils.format_storage_type('dir'),
-				iconCls: 'pve-itype-icon-itype',
+				iconCls: 'fa fa-fw fa-folder',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.DirEdit', {});
 				    win.on('destroy', reload);
@@ -118,7 +118,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text:  PVE.Utils.format_storage_type('lvm'),
-				iconCls: 'pve-itype-icon-storage',
+				iconCls: 'fa fa-fw fa-folder',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.LVMEdit', {});
 				    win.on('destroy', reload);
@@ -127,7 +127,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text:  PVE.Utils.format_storage_type('lvmthin'),
-				iconCls: 'pve-itype-icon-storage',
+				iconCls: 'fa fa-fw fa-folder',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.LvmThinEdit', {});
 				    win.on('destroy', reload);
@@ -136,7 +136,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text:  PVE.Utils.format_storage_type('nfs'),
-				iconCls: 'pve-itype-icon-network-server',
+				iconCls: 'fa fa-fw fa-building',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.NFSEdit', {});
 				    win.on('destroy', reload);
@@ -145,7 +145,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text: PVE.Utils.format_storage_type('iscsi'),
-				iconCls: 'pve-itype-icon-network-server',
+				iconCls: 'fa fa-fw fa-building',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.IScsiEdit', {});
 				    win.on('destroy', reload);
@@ -154,7 +154,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text: PVE.Utils.format_storage_type('glusterfs'),
-				iconCls: 'pve-itype-icon-network-server',
+				iconCls: 'fa fa-fw fa-building',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.GlusterFsEdit', {});
 				    win.on('destroy', reload);
@@ -163,7 +163,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text: PVE.Utils.format_storage_type('rbd'),
-				iconCls: 'pve-itype-icon-network-server',
+				iconCls: 'fa fa-fw fa-building',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.RBDEdit', {});
 				    win.on('destroy', reload);
@@ -172,7 +172,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
 				text: PVE.Utils.format_storage_type('zfs'),
-				iconCls: 'pve-itype-icon-network-server',
+				iconCls: 'fa fa-fw fa-building',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.ZFSEdit', {});
 				    win.on('destroy', reload);
@@ -181,7 +181,7 @@ Ext.define('PVE.dc.StorageView', {
 			    },
 			    {
                                 text: PVE.Utils.format_storage_type('zfspool'),
-                                iconCls: 'pve-itype-icon-storage',
+                                iconCls: 'fa fa-fw fa-folder',
                                 handler: function() {
                                     var win = Ext.create('PVE.storage.ZFSPoolEdit', {});
                                     win.on('destroy', reload);
@@ -193,7 +193,7 @@ Ext.define('PVE.dc.StorageView', {
  * so we do not enable that on the GUI for now
 			    {
 				text: PVE.Utils.format_storage_type('sheepdog'),
-				iconCls: 'pve-itype-icon-network-server',
+				iconCls: 'fa fa-fw fa-building',
 				handler: function() {
 				    var win = Ext.create('PVE.storage.SheepdogEdit', {});
 				    win.on('destroy', reload);
-- 
2.1.4





More information about the pve-devel mailing list