[pve-devel] [PATCH manager 2/2] fix #558: add cluster wide search to the top

Dominik Csapak d.csapak at proxmox.com
Mon Jun 20 15:46:37 CEST 2016


this makes use of the new globalsearch field and
puts it on top of the page, so that one can easily use it

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

diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index d6a3389..92969b3 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -65,6 +65,7 @@ JSSRC= 				                 	\
 	form/BackupModeSelector.js			\
 	form/ScsiHwSelector.js				\
 	form/FirewallPolicySelector.js			\
+	form/GlobalSearchField.js			\
 	form/QemuBiosSelector.js			\
 	dc/Tasks.js					\
 	dc/Log.js					\
diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index fb6ce58..80f6b74 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -391,11 +391,17 @@ Ext.define('PVE.StdWorkspace', {
 			},
 			{
 			    minWidth: 200,
-			    flex: 1,
 			    id: 'versioninfo',
 			    html: 'Proxmox Virtual Environment'
 			},
 			{
+			    xtype: 'pveGlobalSearchField',
+			    tree: rtree
+			},
+			{
+			    flex: 1
+			},
+			{
 			    pack: 'end',
 			    margin: '0 10 0 0',
 			    id: 'userinfo',
-- 
2.1.4





More information about the pve-devel mailing list