Project

General

Profile

« Previous | Next » 

Revision 5074

Added by daigle about 15 years ago

move worflow page sections from common into the sanparks skin files

View differences:

searchWorkflowRun.jsp
36 36
        <link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/footer2.css"/>
37 37
        <script language="JavaScript" type="text/JavaScript" src="<%=STYLE_SKINS_URL%>/sanparks/sanparks.js"></script>
38 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>
39
        <script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/branding.js">
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%>/searchWorkflowRun.js"></script></script>
40 44
    </head>
41
    <body class="main-section">
45
    <body class="main-section" onload="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
42 46
        <jsp:include page="header2.jsp"/>
43 47
        
44 48
        <!-- Main content -->
45 49
        <jsp:include page="left-nav2.jsp"/>
46
        <jsp:include page="../../common/searchWorkflowRunSection.jsp" />
47 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-run-result" type="hidden" />
56
					<input name="action" value="squery" type="hidden" />  
57
					<!-- input name="keyword" id="sf-metadata-type1000" value="urn:lsid:localhost:onto:3:1#tpc-workflow-run" type="hidden">
58
           			<input name="metadata-type-searchmode" id="sm-metadata-type1000" value="equals" type="hidden" -->
59
<%
60
					if (request.getParameter("workflowid") != null) {	
61
%>          			<input name="workflow-lsid" id="sf-workflow-id1000" value="<%= request.getParameter("workflowid") %>" type="hidden">
62
           				<input name="metadata-type-searchmode" id="sm-workflow-id1000" value="starts-with" type="hidden">	
63
<%
64
					}
65
%>
66
           			<div class="search-section-text">Search</div>			
67
					<div class="form-base-row" id="form-base-row">
68
						<div class="field-label dropdown-field-label" id='field-selector-section' >Add search term</div>
69
						<select class="dropdown-input" name="dd-field-selector" id="dd-field-selector">
70
							<option value="name" onclick="addSearchDropdownBefore('tpcSearch','Name','name','co|eq|sw|ew','form-base-row')">Name</option>
71
							<option value="keyword" onclick="addSearchDropdownBefore('tpcSearch','Keyword','keyword','co|eq|sw|ew','form-base-row')">Keyword</option>
72
							<option values="creator" onclick="addSearchDropdownBefore('tpcSearch','Creator','creator','co|eq|sw|ew','form-base-row')">Creator</option>
73
							<option values="description" onclick="addSearchDropdownBefore('tpcSearch','Description','description','co|eq|sw|ew','form-base-row')">Description</option>
74
							<option values="date-executed" onclick="addSearchDropdownBefore('tpcSearch','Date Executed','date-executed','be|af','form-base-row')">Date Executed</option>
75
							<option values="workflow-run-id" onclick="addSearchDropdownBefore('tpcSearch','Workflow-id','workflow-id','co|eq|sw|ew','form-base-row')">Workflow Run ID</option>
76
							<option values="workflow-lsid" onclick="addSearchDropdownBefore('tpcSearch','Workflow-id','workflow-id','co|eq|sw|ew','form-base-row')">Workflow ID</option>
77
							<option values="status" onclick="addSearchDropdownBefore('tpcSearch','Status','Status','is|in','form-base-row')">Status</option>
78
						</select>    
79
        		
80
        				<input class="submit-button" value="Search" type="button" onclick="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
81
        			</div> 
82
        		</form>
83
			</div>
84
        	
85
        	<div class="content-subsection" id="workflow-search-results"></div>    		
86
        </div>
87
        
48 88
        <!-- Footer Content -->
49 89
        <jsp:include page="footer2.jsp" />
50 90
    </body>

Also available in: Unified diff