fix #558: add cluster wide search to the top

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@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-06-20 15:46:37 +02:00 committed by Dietmar Maurer
parent 18532680ff
commit 839eed5834
2 changed files with 8 additions and 1 deletions

View File

@ -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 \

View File

@ -391,10 +391,16 @@ 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',