Project

General

Profile

« Previous | Next » 

Revision 8098

revert NCEAS skin to use traditional pathquery.

View differences:

index.jsp
38 38
  <script language="JavaScript" type="text/JavaScript"
39 39
          src="<%=STYLE_SKINS_URL%>/nceas/nceas.js"></script>
40 40
  <script language="JavaScript" type="text/JavaScript"
41
          src="<%=STYLE_COMMON_URL%>/branding.js"></script>           
41
          src="<%=STYLE_COMMON_URL%>/branding.js"></script>
42 42
  <script type="text/javascript" 
43 43
          src="<%=STYLE_SKINS_URL%>/nceas/navigation.js"></script>
44 44
  <script type="text/javascript"
......
78 78
  <tr class="sectheader">
79 79
    <td class="borderbottom"><a name="search" ></a>
80 80
        <p align="center" class="largetext"> Search for Data Sets </p></td>
81
  </tr> 
82
  <tr>
81
  </tr>
82
  <tr class="sectbody"></tr>
83
 
84
  <tr >
83 85
    <td align="left">
84
    	<form id="searchForm" name="searchForm"
85
    		action="javascript:doSearch('<%=CONTEXT_URL%>/d1/mn/v1/query/solr', 'searchForm', true)" >
86
	        <div class="searchresultsdividerPale">
87
	        <p>
88
				&nbsp;
89
		        <input size="14" name="searchstring" type="text" value="" id="searchBox">
90
		        <input name="qformat" value="nceas" type="hidden">
91
		        <input value="Search" type="submit">
92
		        </p>
93
	        </div>
86
    <form method="POST" 
87
    	action="<%=SERVLET_URL%>" target="_top"
88
    	id="searchForm" name="searchForm" 
89
    	onSubmit="return checkSearch(this)">
90
        <div class="searchresultsdividerPale">
91
        <p>
92
        <input value="UNION" name="operator" type="hidden">
93
&nbsp;
94
        <input size="14" name="searchstring" type="text" value="" id="searchBox">
95
        <input name="query" type="hidden">
96
        <input name="qformat" value="nceas" type="hidden">
97
        <input name="enableediting" value="true" type="hidden">
98
        <input type="hidden" name="action" value="squery">
99
        <input value="Search" type="submit">
100
        </p>
101
        <p>
102
        <input name="search" type="radio" checked>
103
        Search Title, Abstract, Keywords, Personnel (Quicker) <br>
104
        <input name="search" type="radio" id="searchAll">
105
        Search all fields (Slower) <br>
106
        </p>
107
        </div>
94 108
        </form> 
95
      </td>
109
        <div align="center">
110
          <p align="left">This tool allows you to search the registry for data sets of interest. When you type text in the box and click on the "Search" button, the search will only be conducted within the title, author, abstract, and keyword fields. Checking the "Search All Fields" box will search on these and all other existing fields (this search will take more time). <br>
111
                <br>
112
          You can use the '%' character as a wildcard in your searches (e.g., '%biodiversity%' would locate any phrase with the word biodiversity embedded within it). </p>
113
      </div></td>
96 114
  </tr>
97 115
  <tr >
98
    <td class="borderbottom">
99
		<div align="center">
100
          <p align="left">
101
          You can use the '%' character as a wildcard in your searches (e.g., '%biodiversity%' would locate any phrase with the word biodiversity embedded within it). </p>
102
		</div>
103
		<div align="center">
104
	    	<a href="javascript:doSearch('<%=CONTEXT_URL%>/d1/mn/v1/query/solr', 'searchForm', true)">Browse existing NCEAS data sets</a>
105
			<br/><br/>
106
			<a href="<%=STYLE_SKINS_URL%>/nceas/map.jsp"> View Interactive Map </a>
107
		</div>
108
	</td>
109
  </tr>
110
</table>
111

  
116
    <td class="borderbottom"><div align="center">
117
    	<a href="javascript:browseAll('searchForm')">Browse existing NCEAS data sets</a>
118
<br/><br/>
119
<a href="<%=STYLE_SKINS_URL%>/nceas/map.jsp"> View Interactive Map </a> </div>
120
</td></tr></table>
112 121
<br><br>
113

  
114 122
<table class="tables regular" cellpadding="8" cellspacing="0">
115 123
  <tr class="sectheader">
116 124
    <td class="borderbottom" colspan="2" align="left"><span class="label"> </span>

Also available in: Unified diff