[pve-devel] [PATCH manager 06/10] reorganize storage and pools

Dominik Csapak d.csapak at proxmox.com
Mon Aug 22 17:13:38 CEST 2016


add icons to panels

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/pool/Config.js     | 3 +++
 www/manager6/storage/Browser.js | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/www/manager6/pool/Config.js b/www/manager6/pool/Config.js
index 8683cca..6a63927 100644
--- a/www/manager6/pool/Config.js
+++ b/www/manager6/pool/Config.js
@@ -16,18 +16,21 @@ Ext.define('PVE.pool.Config', {
 	    items: [
 		{
 		    title: gettext('Summary'),
+		    iconCls: 'fa fa-book',
 		    xtype: 'pvePoolSummary',
 		    itemId: 'summary'
 		},
 		{
 		    title: gettext('Members'),
 		    xtype: 'pvePoolMembers',
+		    iconCls: 'fa fa-th',
 		    pool: pool,
 		    itemId: 'members'
 		},
 		{
 		    xtype: 'pveACLView',
 		    title: gettext('Permissions'),
+		    iconCls: 'fa fa-unlock',
 		    itemId: 'permissions',
 		    path: '/pool/' + pool
 		}
diff --git a/www/manager6/storage/Browser.js b/www/manager6/storage/Browser.js
index 2da395c..90c8c2f 100644
--- a/www/manager6/storage/Browser.js
+++ b/www/manager6/storage/Browser.js
@@ -20,6 +20,7 @@ Ext.define('PVE.storage.Browser', {
 	    {
 		title: gettext('Summary'),
 		xtype: 'pveStorageSummary',
+		iconCls: 'fa fa-book',
 		itemId: 'summary'
 	    }
 	];
@@ -36,6 +37,7 @@ Ext.define('PVE.storage.Browser', {
 	    me.items.push({
 		xtype: 'pveStorageContentView',
 		title: gettext('Content'),
+		iconCls: 'fa fa-th',
 		itemId: 'content'
 	    });
 	}
@@ -44,6 +46,7 @@ Ext.define('PVE.storage.Browser', {
 	    me.items.push({
 		xtype: 'pveACLView',
 		title: gettext('Permissions'),
+		iconCls: 'fa fa-unlock',
 		itemId: 'permissions',
 		path: '/storage/' + storeid
 	    });
-- 
2.1.4





More information about the pve-devel mailing list