[MRM-1117]

o move advanced search out of the 'info' pop up, added a link of it's own instead


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2009-03-14 04:16:34 +00:00
parent 537ff689e7
commit 07bb48e79d
2 changed files with 20 additions and 17 deletions

View File

@ -22,7 +22,7 @@ package org.apache.maven.archiva.web.action;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@ -163,7 +163,7 @@ public class SearchAction
managedRepositoryList.add( "all" );
}
searchFields = new HashMap<String, String>();
searchFields = new LinkedHashMap<String, String>();
searchFields.put( "groupId", "Group ID" );
searchFields.put( "artifactId", "Artifact ID" );
searchFields.put( "version", "Version" );

View File

@ -100,20 +100,8 @@
<p>
<s:actionerror/>
</p>
</div>
<div id="searchHint">
Enter your search terms. A variety of data will be searched for your keywords. <a class="expand" href="#"><img src="<c:url value="/images/icon_info_sml.gif"/>" /></a>
<table class="settings">
<tr>
<td>
<b>*</b> To perform a boolean <code>NOT</code> search, use the keyword <code>NOT</code> after your search
term, followed by the term you want to exclude. For example, to exclude artifacts with
a dependency on the artifact you are searching for from showing up in the search results:
<code>myQueryTerm NOT dependency</code>
</td>
</tr>
<a class="expand-search" href="#"><strong>Advanced Search >></strong></a>
<table class="settings-search">
<tr>
<td>
<b>*</b> To do a filtered or advanced search, select the criteria from the list below and click the <img src="${iconCreateUrl}"/> icon. Specify the term you want to be matched in the created text field.
@ -141,8 +129,23 @@
</td>
</tr>
</table>
</div>
<div id="searchHint">
Enter your search terms. A variety of data will be searched for your keywords. <a class="expand" href="#"><img src="<c:url value="/images/icon_info_sml.gif"/>" /></a>
<table class="settings">
<tr>
<td>
<b>*</b> To perform a boolean <code>NOT</code> search, use the keyword <code>NOT</code> after your search
term, followed by the term you want to exclude. For example, to exclude artifacts with
a dependency on the artifact you are searching for from showing up in the search results:
<code>myQueryTerm NOT dependency</code>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>