Project

General

Profile

metacat / lib / style / skins / sanparks / searchWorkflow.jsp @ 6124

1
<%@ page    language="java" %>
2
<%
3
/*
4
*  '$RCSfile$'
5
*    Copyright: 2009 Regents of the University of California and the
6
*               National Center for Ecological Analysis and Synthesis
7
*
8
*   '$Author: daigle $'
9
*     '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $'
10
* '$Revision: 4080 $'
11
*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 2 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
*/
26
%>
27
<%@ include file="settings.jsp"%>
28

    
29
<html>
30
    <head>
31
        <title>Sanparks TPC Report Search</title>
32
        <link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks.css"/>
33
        <link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks-tpc.css"/>
34
        <link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/header2.css"/>
35
        <link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/left-nav2.css"/>
36
        <link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/footer2.css"/>
37
        <script language="JavaScript" type="text/JavaScript" src="<%=STYLE_SKINS_URL%>/sanparks/sanparks.js"></script>
38
        <script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/style/skins/sanparks/searchWorkflowPathQuery.js"></script>
39
        <script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/branding.js"></script>
40
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/widgets/form-fields-widget.js"></script>
41
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js"></script>
42
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/ajax-utils.js"></script>
43
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/searchWorkflow.js"></script>  
44
    </head>
45
    <body>            
46
        <script type="text/javascript">
47
			window.onload=function() {
48
 				setWorkflowQueryFormField('tpcSearch');
49
 				submitFormIntoDiv('<%=SERVLET_URL%>', 'tpcSearch', 'workflow-search-results');
50
			}
51
		</script>
52
        
53
        <table class="page-section" cellpadding="0" cellspacing="0" border="0">
54
        	<tr>
55
        		<td>
56
        			<jsp:include page="header2.jsp"/>
57
        		</td>
58
        	</tr>
59
        	<tr>
60
        		<td>
61
        			<table class="center-content-section" cellpadding="0" cellspacing="0" border="0">
62
        				<tr>
63
        					<td class="left-nav-section">
64
        						<!-- Main content -->
65
								<jsp:include page="left-nav2.jsp"/>
66
 							</td>
67
 
68
							<td class="search-section">
69
 								<table cellpadding="0" cellspacing="0" border="0">
70
     								<tr>
71
     									<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_nw.jpg" /></td>
72
     									<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_n.jpg" /></td>
73
     									<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_ne.jpg" /></td>
74
     								</tr>
75
     								<tr>
76
     									<td class="search-box-w"><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_w.jpg" /></td>
77
     									<td>
78
			      						  	<form name="tpcSearch" id="tpcSearch">
79
			        							<input name="query" id="query" type="hidden" />
80
												<input name="qformat" value="tpc-result" type="hidden" />
81
												<!-- input name="qformat" value="xml" type="hidden" / -->
82
												<input name="action" value="squery" type="hidden" />  		
83
												<div class="form-base-row" id="form-base-row">
84
													<div class="field-label dropdown-field-label" id='field-selector-section' >Add search term</div>
85
													<select class="dropdown-input" name="dd-field-selector" id="dd-field-selector" onchange="addSearchDropdownBefore(this)">
86
														<option value="name">Name</option>
87
														<option value="keyword">Keyword</option>
88
														<option value="creator">Creator</option>
89
														<option value="description">Description</option>
90
														<option value="date-created">Date Created</option>
91
														<option value="workflow-lsid">Workflow LSID</option>
92
													</select>         		
93
			        								<input class="submit-button" value="Search" type="button" onclick="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
94
			        							</div> 
95
			        						</form>
96
        								</td>
97
        								<td class="search-box-e"><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_e.jpg" /></td>
98
			        				</tr>
99
			        				<tr>
100
			     						<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_sw.jpg" /></td>
101
			     						<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_s.jpg" /></td>
102
			     						<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_se.jpg" /></td>
103
			     					</tr>
104
			     					<tr>
105
			     						<td></td>
106
			     						<td colspan="2">
107
			     		     				<div id="workflow-search-results"></div>
108
			     						</td>
109
			     					</tr>
110
     							</table>
111
			    			</td>
112
			    		</tr>   
113
			     		<tr class="footer-content-section">
114
			    			<td colspan="3">     
115
			        			<!-- Footer Content -->
116
			       				<jsp:include page="footer2.jsp" />
117
			     			</td>
118
			    		</tr>
119
			     	</table>
120
			    </td>
121
			</tr>
122
		</table>
123
    </body>
124
</html>