source: Discovery_Service/trunk/exist/searchTextAdvance.jsp @ 122

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/Discovery_Service/trunk/exist/searchTextAdvance.jsp@125
Revision 122, 8.7 KB checked in by mguiterr, 15 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<%
2//Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ).
3//This software may be distributed under the terms of the
4//Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
5%>
6
7<%@ include file="header.jsp" %>
8 
9<center>
10  <TABLE width="62%" BORDER="0" bordercolor="#CCCCCC" >
11    <FORM NAME="text" ACTION="./Task" METHOD="POST">
12      <INPUT TYPE="HIDDEN" NAME="task" VALUE="discovery">
13      <INPUT TYPE="HIDDEN" NAME="search" VALUE="text">
14      <INPUT TYPE="HIDDEN" NAME="start" VALUE="1">
15      <INPUT TYPE="HIDDEN" NAME="dispSum" VALUE="false">
16      <INPUT TYPE="HIDDEN" NAME="howmany" VALUE="10">
17      <INPUT TYPE="HIDDEN" NAME="orderInit" VALUE="">
18      <TR>
19        <TD height="6%" colspan="4" align="center"> <div align="center"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><strong>Advance
20            Search</strong></font></div></TD>
21      </TR>
22      <TR>
23        <TD height="7%" colspan="4"> <div align="left"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><strong>Text
24            search</strong></font></div></TD>
25      </TR>
26      <TR>
27        <TD width="151" height="9%" class="tablestyle">Full Text</TD>
28        <TD colspan="2" align="center" class="tablerow"> <INPUT TYPE="TEXT" NAME="SEARCHSTRING" SIZE="50"></TD>
29        <TD width="124" align="center" class="tablerow"  ><INPUT TYPE="SUBMIT" NAME="SUBMIT" onClick="javascript:document.text.howmany.value = document.last.howmanyGen.options[document.last.howmanyGen.selectedIndex].value"  VALUE="Search">
30        </TD>
31      </TR>
32    </FORM>
33    <TR>
34      <TD height="6%" colspan="4" class="tablerow">Wildcards *, ? &nbsp;&nbsp;
35        Character ranges [a-zA-Z] &nbsp; support</TD>
36    </TR>
37    <TR>
38      <TD height="7%" colspan="4">&nbsp; </TD>
39    </TR>
40    <!-- ********************** PARAMETERS SEARCH FORM *************************** -->
41    <FORM NAME="parameters" ACTION="./Task" METHOD="POST">
42      <INPUT TYPE="HIDDEN" NAME="task" VALUE="discovery">
43      <INPUT TYPE="HIDDEN" NAME="search" VALUE="parameters">
44      <INPUT TYPE="HIDDEN" NAME="start" VALUE="1">
45      <INPUT TYPE="HIDDEN" NAME="dispSum" VALUE="false">
46      <INPUT TYPE="HIDDEN" NAME="howmany" VALUE="10">
47      <INPUT TYPE="HIDDEN" NAME="orderInit" VALUE="">
48      <TR>
49        <TD height="7%" COLSPAN="4" class="tablestyle">Fields</TD>
50      </TR>
51      <TR>
52        <TD height="9%" align="center" class="tablerow"> <SELECT NAME="field">
53            <option value="null">Search Fields</option>
54            <option value="Title">Title</option>
55            <option value="Summary">Summary</option>
56            <option value="Topic">Parameters/Topic</option>
57            <option value="Variable">Parameters/Variable</option>
58            <option value="Keyword">Keywords</option>
59            <option value="Sensor_Name">Sensor</option>
60            <option value="Source_Name">Source</option>
61            <option value="Location">Location</option>
62            <option value="Project">Project</option>
63            <option value="Organisation">Organisation</option>
64          </SELECT> </TD>
65        <TD colspan="2" align="center" class="tablerow"><INPUT TYPE="TEXT" NAME="SEARCHSTRING" SIZE="50"></TD>
66        <TD class="tablerow" align="center" ><INPUT TYPE="SUBMIT" NAME="SUBMIT" onClick="javascript:document.parameters.howmany.value = document.last.howmanyGen.options[document.last.howmanyGen.selectedIndex].value"  VALUE="Search"></TD>
67      </TR>
68    </FORM>
69    <!-- **********************NUMERIC SEARCH FORM *************************** -->
70    <FORM NAME="numeric" ACTION="./Task" METHOD="POST">
71      <INPUT TYPE="HIDDEN" NAME="task" VALUE="discovery">
72      <INPUT TYPE="HIDDEN" NAME="search" VALUE="numeric">
73      <INPUT TYPE="HIDDEN" NAME="start" VALUE="1">
74      <INPUT TYPE="HIDDEN" NAME="dispSum" VALUE="false">
75      <INPUT TYPE="HIDDEN" NAME="howmany" VALUE="10">
76      <INPUT TYPE="HIDDEN" NAME="orderInit" VALUE="">
77    </FORM>
78    <!-- **********************TEMPORAL COVERAGE FORM *************************** -->
79    <FORM NAME="temporal" ACTION="./Task" METHOD="POST">
80      <INPUT TYPE="HIDDEN" NAME="task" VALUE="discovery">
81      <INPUT TYPE="HIDDEN" NAME="search" VALUE="temporal">
82      <INPUT TYPE="HIDDEN" NAME="start" VALUE="1">
83      <INPUT TYPE="HIDDEN" NAME="dispSum" VALUE="false">
84      <INPUT TYPE="HIDDEN" NAME="howmany" VALUE="10">
85      <INPUT TYPE="HIDDEN" NAME="orderInit" VALUE="">
86      <TR>
87        <TD height="7%" colspan="4"> <font color="#333333" size="2" face="Arial, Helvetica, sans-serif">
88          <strong>Temporal Coverage</strong> </font> </TD>
89      </TR>
90      <TR >
91        <TD class="tablestyle" align="center">&nbsp; </TD>
92        <TD width="151" align="center" class="tablestyle" >&nbsp;</TD>
93        <TD width="147" align="center" class="tablestyle" >Date Input (yyyy-mm-dd)</TD>
94        <TD class="tablestyle" >&nbsp;</TD>
95      </TR>
96      <TR >
97        <TD class="tablestyle" align="center"> Start Date</TD>
98        <TD align="center" class="tablerow"> <SELECT name="operator">
99            <OPTION value=">=" selected>after</OPTION>
100            <OPTION value="<=">before</OPTION>
101          </SELECT> </TD>
102        <TD align="center" class="tablerow"><INPUT TYPE="TEXT" NAME="start_date" SIZE="10"></TD>
103        <TD  class="tablerow" align="center">&nbsp;</TD>
104      </TR>
105      <TR>
106        <TD align="center" class="tablestyle"> End Date</TD>
107        <TD align="center" class="tablerow"> <SELECT name="operatorI">
108            <OPTION value="<=" selected>before</OPTION>
109            <OPTION value=">=">after</OPTION>
110          </SELECT> </TD>
111        <TD align="center" class="tablerow"><INPUT TYPE="TEXT" NAME="end_date" SIZE="10"></TD>
112        <TD align="center"  class="tablerow"><INPUT TYPE="SUBMIT" NAME="SUBMIT" onClick="javascript:document.temporal.howmany.value = document.last.howmanyGen.options[document.last.howmanyGen.selectedIndex].value"  VALUE="Search"></TD>
113      </TR>
114    </FORM>
115     <!-- **********************SPATIAL COVERAGE FORM *************************** -->
116    <form name="mainForm" method="POST" action="./Task">
117     <INPUT TYPE="HIDDEN" NAME="task" VALUE="discovery">
118      <INPUT TYPE="HIDDEN" NAME="search" VALUE="spatial">
119      <INPUT TYPE="HIDDEN" NAME="start" VALUE="1">
120      <INPUT TYPE="HIDDEN" NAME="dispSum" VALUE="false">
121      <INPUT TYPE="HIDDEN" NAME="howmany" VALUE="10">
122      <INPUT TYPE="HIDDEN" NAME="orderInit" VALUE="">
123      <TR>
124        <TD height="7%" colspan="4"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif"><strong>Spatial
125          Coverage</strong></font></TD>
126      </TR>
127      <TR >
128        <TD class="tablestyle" align="center">&nbsp;</TD>
129        <TD class="tablestyle" align="center" >North
130          <input type="text" name="northbc" id="northbc" size="10" value="90" /></TD>
131        <TD class="tablestyle" align="center" >&nbsp;</TD>
132        <TD   align="center" class="tablestyle" >&nbsp;</TD>
133      </TR>
134      <TR >
135        <TD class="tablestyle" align="right">West
136          <input type="text" name="westbc" id="westbc" size="10" value="-180" /></TD>
137        <TD class="tablestyle" align="center" ><img src="images/SelectG.gif" width="150" height="28" onClick="newWindow('./quickWMS/selectFromMap.htm','window2',550,550);"></TD>
138        <TD class="tablestyle" align="left" ><input type="text" name="eastbc" id="eastbc" size="10" value="180" />
139          East</TD>
140        <TD    class="tablestyle" align="center" ><select name="operator">
141            <option seleceted value="@">within</option>
142            <option value="&&">overlap</option>
143            <option value="!@">outside</option>
144           
145          </select></TD>
146      </TR>
147      <TR >
148        <TD class="tablestyle" align="center">&nbsp;</TD>
149        <TD class="tablestyle" align="center" >South <input type="text" name="southbc" id="southbc" size="10" value="-90" /></TD>
150        <TD class="tablestyle" align="center" >&nbsp;</TD>
151        <TD class="tablestyle" align="center"><INPUT TYPE="SUBMIT" NAME="SUBMIT" onClick="javascript:document.mainForm.howmany.value = document.last.howmanyGen.options[document.last.howmanyGen.selectedIndex].value"  VALUE="Search"> </TD>
152      </TR>
153    </form>
154       
155    <TR>
156      <TD height="7%" colspan="4"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">&nbsp;</font></TD>
157    </TR>
158          <form name="last">
159      <TR>
160        <td height="11%" colspan="4" align="left" valign="center"  class="tablerow"  >
161          <select name="howmanyGen"  >
162            <option value="10">10</option>
163            <option value="30">30</option>
164            <option value="50">50</option>
165          </select>
166          Hits Displayed</td>
167      </TR>
168          </form>
169 
170  </TABLE>
171</center>
172<%@ include file="footer.jsp" %>
173
174
Note: See TracBrowser for help on using the repository browser.