Project

General

Profile

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 class="main-section" onload="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
46
        <jsp:include page="header2.jsp"/>
47
        
48
        <!-- Main content -->
49
        <jsp:include page="left-nav2.jsp"/>
50
 
51
     	<div class=content-section>    
52
    		<div class="content-subsection search-section" id="search-section">   
53
        		<form name="tpcSearch" id="tpcSearch">
54
        			<input name="query" id="query" type="hidden" />
55
					<input name="qformat" value="tpc-result" type="hidden" />
56
					<!-- input name="qformat" value="xml" type="hidden" / -->
57
					<input name="action" value="squery" type="hidden" />  
58
           			<div class="search-section-text">Search</div>			
59
					<div class="form-base-row" id="form-base-row">
60
						<div class="field-label dropdown-field-label" id='field-selector-section' >Add search term</div>
61
						<select class="dropdown-input" name="dd-field-selector" id="dd-field-selector">
62
							<option value="name" onclick="addSearchDropdownBefore('tpcSearch','Name','name','co|eq|sw|ew','form-base-row')">Name</option>
63
							<option value="keyword" onclick="addSearchDropdownBefore('tpcSearch','Keyword','keyword','co|eq|sw|ew','form-base-row')">Keyword</option>
64
							<option values="creator" onclick="addSearchDropdownBefore('tpcSearch','Creator','creator','co|eq|sw|ew','form-base-row')">Creator</option>
65
							<option values="description" onclick="addSearchDropdownBefore('tpcSearch','Description','description','co|eq|sw|ew','form-base-row')">Description</option>
66
							<option values="date-created" onclick="addSearchDropdownBefore('tpcSearch','Date Created','date-created','be|af','form-base-row')">Date Created</option>
67
							<option values="workflow-id" onclick="addSearchDropdownBefore('tpcSearch','Workflow-id','workflow-id','co|eq|sw|ew','form-base-row')">Workflow ID</option>
68
						</select>    
69
        		
70
        				<input class="submit-button" value="Search" type="button" onclick="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
71
        			</div> 
72
        		</form>
73
			</div>
74
        	
75
        	<div class="content-subsection" id="workflow-search-results">
76
        	</div>
77
    		
78
        </div>
79
        
80
        <!-- Footer Content -->
81
        <jsp:include page="footer2.jsp" />
82
    </body>
83
</html>
(33-33/36)