Project

General

Profile

« Previous | Next » 

Revision 5184

Added by daigle almost 15 years ago

Fix main cross browser gui compatibility issues in sanparks tpc skin.

View differences:

lib/style/skins/sanparks/searchWorkflowRun.jsp
42 42
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/ajax-utils.js"></script>
43 43
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/searchWorkflowRun.js"></script>
44 44
    </head>
45
    <body class="main-section" onload="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
46
        <jsp:include page="header2.jsp"/>
45
    <body class="main-section">
46
		<script type="text/javascript">
47
			window.onload=function() {
48
 				setWorkflowQueryFormField('tpcSearch');
49
 				submitFormIntoDiv('<%=SERVLET_URL%>', 'tpcSearch', 'workflow-search-results');
50
			}
51
		</script>
47 52
        
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-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" -->
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><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_w.jpg" /></td>
77
     									<td>
78
  
79
							        		<form name="tpcSearch" id="tpcSearch">
80
							        			<input name="query" id="query" type="hidden" />
81
												<input name="qformat" value="tpc-run-result" type="hidden" />
82
												<input name="action" value="squery" type="hidden" />  
83
												<!-- input name="keyword" id="sf-metadata-type1000" value="urn:lsid:localhost:onto:3:1#tpc-workflow-run" type="hidden">
84
							           			<input name="metadata-type-searchmode" id="sm-metadata-type1000" value="equals" type="hidden" -->
59 85
<%
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">	
86
												if (request.getParameter("workflowid") != null) {	
87
%>
88
								         			<input name="workflow-lsid" id="sf-workflow-id1000" value="<%= request.getParameter("workflowid") %>" type="hidden">
89
							           				<input name="metadata-type-searchmode" id="sm-workflow-id1000" value="starts-with" type="hidden">	
63 90
<%
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
        
88
        <!-- Footer Content -->
89
        <jsp:include page="footer2.jsp" />
91
												}
92
%>		
93
												<div class="form-base-row" id="form-base-row">
94
													<div class="field-label dropdown-field-label" id='field-selector-section' >Add search term</div>
95
													<select class="dropdown-input" name="dd-field-selector" id="dd-field-selector">
96
														<option value="name" onclick="addSearchDropdownBefore('tpcSearch','Name','name','co|eq|sw|ew','form-base-row')">Name</option>
97
														<option value="keyword" onclick="addSearchDropdownBefore('tpcSearch','Keyword','keyword','co|eq|sw|ew','form-base-row')">Keyword</option>
98
														<option values="creator" onclick="addSearchDropdownBefore('tpcSearch','Creator','creator','co|eq|sw|ew','form-base-row')">Creator</option>
99
														<option values="description" onclick="addSearchDropdownBefore('tpcSearch','Description','description','co|eq|sw|ew','form-base-row')">Description</option>
100
														<option values="date-executed" onclick="addSearchDropdownBefore('tpcSearch','Date Executed','date-executed','be|af','form-base-row')">Date Executed</option>
101
														<option values="workflow-run-id" onclick="addSearchDropdownBefore('tpcSearch','Workflow-id','workflow-id','co|eq|sw|ew','form-base-row')">Workflow Run ID</option>
102
														<option values="workflow-lsid" onclick="addSearchDropdownBefore('tpcSearch','Workflow-id','workflow-id','co|eq|sw|ew','form-base-row')">Workflow ID</option>
103
														<option values="status" onclick="addSearchDropdownBefore('tpcSearch','Status','Status','is|in','form-base-row')">Status</option>
104
													</select>    
105
							        		
106
							        				<input class="submit-button" value="Search" type="button" onclick="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
107
							        			</div> 
108
							        		</form>
109
										</td>
110
        								<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_e.jpg" /></td>
111
			        				</tr>
112
			        				<tr>
113
			     						<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_sw.jpg" /></td>
114
			     						<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_s.jpg" /></td>
115
			     						<td><img src="<%=STYLE_SKINS_URL%>/sanparks/images/search_box_se.jpg" /></td>
116
			     					</tr>
117
									<tr>
118
			     						<td></td>
119
			     						<td colspan="2">
120
											<div id="workflow-search-results"></div>    		
121
										</td>
122
			     					</tr>
123
     							</table>
124
			    			</td>
125
			    		</tr> 
126
						<tr class="footer-content-section">
127
			    			<td colspan="3">    
128
						        <!-- Footer Content -->
129
						        <jsp:include page="footer2.jsp" />
130
							</td>
131
			    		</tr>
132
			     	</table>
133
			    </td>
134
			</tr>
135
		</table>
90 136
    </body>
91 137
</html>
lib/style/skins/sanparks/left-nav2.css
32 32
 **********************************************************************/
33 33

  
34 34
.left-nav-section {
35
	display: inline;
36
	float: left;
37
	margin-left: 20px;
38
	height:  840px; 
39
	width:    175px;
40
	background: transparent url("images/navstrip.jpg") left 0px repeat-y;
35
/*	display: inline; */
36
/*	float: left; */
37
/*	margin-left: 20px; */
38
/*	height:  840px;  */
39
/*	width:    175px; */
40
/*	background: transparent url("images/navstrip.jpg") left 0px repeat-y; */
41 41
}
42 42

  
43 43
.left-nav-header {
lib/style/skins/sanparks/left-nav2.jsp
32 32
</head>
33 33

  
34 34
<body>
35
	<div class="left-nav-section">
36
		<div class="left-nav-header">
37
			<div class="left-nav-header-item">
35
	<div class="left-nav-header">
36
		<div class="left-nav-header-item">
38 37
				Parks A-Z
39
			</div>
40 38
		</div>
41
		<form action="http://indus.msi.ucsb.edu/knb/style/skins/sanparks/index.jsp" method="post" target="_top" name="orgForm">
42
			<input name="organizationScope" type="hidden" value="" />
43
			<a class="left-nav-menu-header" href="#" onclick="orgForm.organizationScope.value='';orgForm.submit();">All</a>
44
			<div class="left-nav-menu-line"></div>
45
			<a class="left-nav-menu-header" href="#" onclick="orgForm.organizationScope.value='SANParks, South Africa';orgForm.submit();">SANParks</a>
46
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='SANParks, South Africa';orgForm.submit();">All</a>
47
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Addo Elephant National Park, South Africa';orgForm.submit();">Addo Elephant National Park</a>
48
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Agulhas National Park, South Africa';orgForm.submit();">Agulhas National Park</a>
49
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Augrabies Falls National Park, South Africa';orgForm.submit();">Augrabies Falls National Park</a>
50
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Bontebok National Park, South Africa';orgForm.submit();">Bontebok National Park</a>
51
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Camdeboo National Park, South Africa';orgForm.submit();">Camdeboo National Park</a>
52
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Golden Gate Highlands National Park, South Africa';orgForm.submit();">Golden Gate Highlands National Park</a>
53
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Karoo National Park, South Africa';orgForm.submit();">Karoo National Park</a>
54
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Kgalagadi Transfrontier Park, South Africa';orgForm.submit();">Kgalagadi Transfrontier Park</a>
55
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Knysna National Lake Area, South Africa';orgForm.submit();">Knysna National Lake Area</a>
56
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Kruger National Park, South Africa';orgForm.submit();">Kruger National Park</a>
57
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Mapungubwe National Park, South Africa';orgForm.submit();">Mapungubwe National Park</a>
58
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Marakele National Park, South Africa';orgForm.submit();">Marakele National Park</a>
59
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Mokala National Park, South Africa';orgForm.submit();">Mokala National Park</a>
60
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Mountain Zebra National Park, South Africa';orgForm.submit();">Mountain Zebra National Park</a>
61
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Namaqua National Park, South Africa';orgForm.submit();">Namaqua National Park</a>
62
			<!-- <a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Richtersveld National Park, South Africa';orgForm.submit();">Richtersveld National Park</a> -->
63
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Table Mountain National Park, South Africa';orgForm.submit();">Table Mountain National Park</a>
64
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Tankwa Karoo National Park, South Africa';orgForm.submit();">Tankwa Karoo National Park</a>
65
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Tsitsikamma National Park, South Africa';orgForm.submit();">Tsitsikamma National Park</a>
66
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='West Coast National Park, South Africa';orgForm.submit();">West Coast National Park</a>
67
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Wilderness National Park, South Africa';orgForm.submit();">Wilderness National Park</a>
68
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Ai-|Ais/Richtersveld Transfrontier National Park, South Africa';orgForm.submit();">Ai-|Ais/Richtersveld Transfrontier National Park</a>
39
	</div>
40
	<form action="http://indus.msi.ucsb.edu/knb/style/skins/sanparks/index.jsp" method="post" target="_top" name="orgForm">
41
		<input name="organizationScope" type="hidden" value="" />
42
		<a class="left-nav-menu-header" href="#" onclick="orgForm.organizationScope.value='';orgForm.submit();">All</a>
43
		<div class="left-nav-menu-line"></div>
44
		<a class="left-nav-menu-header" href="#" onclick="orgForm.organizationScope.value='SANParks, South Africa';orgForm.submit();">SANParks</a>
45
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='SANParks, South Africa';orgForm.submit();">All</a>
46
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Addo Elephant National Park, South Africa';orgForm.submit();">Addo Elephant National Park</a>
47
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Agulhas National Park, South Africa';orgForm.submit();">Agulhas National Park</a>
48
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Augrabies Falls National Park, South Africa';orgForm.submit();">Augrabies Falls National Park</a>
49
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Bontebok National Park, South Africa';orgForm.submit();">Bontebok National Park</a>
50
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Camdeboo National Park, South Africa';orgForm.submit();">Camdeboo National Park</a>
51
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Golden Gate Highlands National Park, South Africa';orgForm.submit();">Golden Gate Highlands National Park</a>
52
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Karoo National Park, South Africa';orgForm.submit();">Karoo National Park</a>
53
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Kgalagadi Transfrontier Park, South Africa';orgForm.submit();">Kgalagadi Transfrontier Park</a>
54
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Knysna National Lake Area, South Africa';orgForm.submit();">Knysna National Lake Area</a>
55
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Kruger National Park, South Africa';orgForm.submit();">Kruger National Park</a>
56
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Mapungubwe National Park, South Africa';orgForm.submit();">Mapungubwe National Park</a>
57
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Marakele National Park, South Africa';orgForm.submit();">Marakele National Park</a>
58
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Mokala National Park, South Africa';orgForm.submit();">Mokala National Park</a>
59
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Mountain Zebra National Park, South Africa';orgForm.submit();">Mountain Zebra National Park</a>
60
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Namaqua National Park, South Africa';orgForm.submit();">Namaqua National Park</a>
61
		<!-- <a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Richtersveld National Park, South Africa';orgForm.submit();">Richtersveld National Park</a> -->
62
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Table Mountain National Park, South Africa';orgForm.submit();">Table Mountain National Park</a>
63
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Tankwa Karoo National Park, South Africa';orgForm.submit();">Tankwa Karoo National Park</a>
64
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Tsitsikamma National Park, South Africa';orgForm.submit();">Tsitsikamma National Park</a>
65
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='West Coast National Park, South Africa';orgForm.submit();">West Coast National Park</a>
66
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Wilderness National Park, South Africa';orgForm.submit();">Wilderness National Park</a>
67
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Ai-|Ais/Richtersveld Transfrontier National Park, South Africa';orgForm.submit();">Ai-|Ais/Richtersveld Transfrontier National Park</a>
69 68
		
70
			<a class="left-nav-menu-header" href="#" onclick="orgForm.organizationScope.value='SAEON, South Africa';orgForm.submit();">SAEON</a>
71
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='SAEON, South Africa';orgForm.submit();">All</a>
72
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Arid Zone SAEON Node, South Africa';orgForm.submit();">Arid Zone SAEON Node</a>
73
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Egagasini SAEON Node, South Africa';orgForm.submit();">Egagasini SAEON Node</a>
74
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Elwandle SAEON Node, South Africa';orgForm.submit();">Elwandle SAEON Node</a>
75
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Fynbos SAEON Node, South Africa';orgForm.submit();">Fynbos SAEON Node</a>
76
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Grassland, wetland and forests SAEON Node, South Africa';orgForm.submit();">Grassland, wetland and forests SAEON Node</a>
77
			<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Ndlovu SAEON Node, South Africa';orgForm.submit();">Ndlovu SAEON Node</a>
69
		<a class="left-nav-menu-header" href="#" onclick="orgForm.organizationScope.value='SAEON, South Africa';orgForm.submit();">SAEON</a>
70
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='SAEON, South Africa';orgForm.submit();">All</a>
71
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Arid Zone SAEON Node, South Africa';orgForm.submit();">Arid Zone SAEON Node</a>
72
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Egagasini SAEON Node, South Africa';orgForm.submit();">Egagasini SAEON Node</a>
73
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Elwandle SAEON Node, South Africa';orgForm.submit();">Elwandle SAEON Node</a>
74
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Fynbos SAEON Node, South Africa';orgForm.submit();">Fynbos SAEON Node</a>
75
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Grassland, wetland and forests SAEON Node, South Africa';orgForm.submit();">Grassland, wetland and forests SAEON Node</a>
76
		<a class="left-nav-menu-item" href="#" onclick="orgForm.organizationScope.value='Ndlovu SAEON Node, South Africa';orgForm.submit();">Ndlovu SAEON Node</a>
78 77
			
79
		</form>
80
	</div>
78
	</form>
81 79
</body>
82 80

  
83 81
</html>
lib/style/skins/sanparks/searchWorkflow.jsp
42 42
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/ajax-utils.js"></script>
43 43
		<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/searchWorkflow.js"></script>  
44 44
    </head>
45
    <body class="main-section" onload="setWorkflowQueryFormField('tpcSearch');submitFormIntoDiv('<%=SERVLET_URL%>','tpcSearch','workflow-search-results')">
46
        <jsp:include page="header2.jsp"/>
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>
47 52
        
48
        <!-- Main content -->
49
        <jsp:include page="left-nav2.jsp"/>
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>
50 67
 
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" />
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><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">
86
														<option value="name" onclick="addSearchDropdownBefore('tpcSearch','Name','name','co|eq|sw|ew','form-base-row')">Name</option>
87
														<option value="keyword" onclick="addSearchDropdownBefore('tpcSearch','Keyword','keyword','co|eq|sw|ew','form-base-row')">Keyword</option>
88
														<option values="creator" onclick="addSearchDropdownBefore('tpcSearch','Creator','creator','co|eq|sw|ew','form-base-row')">Creator</option>
89
														<option values="description" onclick="addSearchDropdownBefore('tpcSearch','Description','description','co|eq|sw|ew','form-base-row')">Description</option>
90
														<option values="date-created" onclick="addSearchDropdownBefore('tpcSearch','Date Created','date-created','be|af','form-base-row')">Date Created</option>
91
														<option values="workflow-id" onclick="addSearchDropdownBefore('tpcSearch','Workflow-id','workflow-id','co|eq|sw|ew','form-base-row')">Workflow ID</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><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>
82 123
    </body>
83 124
</html>
lib/style/skins/sanparks/header2.css
35 35
}
36 36

  
37 37
.header-section {
38
	margin: 0px 20px 0px 20px;
39 38
	border-spacing: 0px;
40
	width: 95%;
39
	border-width: 0px;
40
	padding: 0px;
41
	width: 100%;
41 42
	min-width: 1050px;
42
//	height: 112px;
43
//	background: #7BB865 url(images/bg_header.jpg) repeat-x;
44 43
}
45 44

  
46
.header-title {
47
	font-weight: bold; 
48
	font-family: Helvetica, Verdana, Arial, sans-serif; 
49
	font-size: 16px; 
45
.header-div {
46
	width: 100%;
47
	min-width: 1050px;
48
}
49

  
50
.top-row-image {
51
}
52

  
53
.header-spacer {
50 54
	color: #124326;
51 55
	background-color: #7DB667;
52
//	padding: 0px 10px 0px 10px;
53
	width: 100%;
54
//	margin: 25px 0px 28px 10px;
56
	width: 100%;	
55 57
}
56 58

  
57 59
.header-left-image {
......
63 65

  
64 66
.header-center-section {
65 67
	width: 45%;
66
//	display:inline;
67
//	float: left;	
68 68
	min-width: 400px;
69 69
}
70 70

  
......
75 75

  
76 76
.header-menu {
77 77
	background-color: #124326;
78
//	position: absolute;
79
//	left: 197px;
80
//	top: 94px;
81
//	width: 80%;	
82
//	min-width: 475px;
83 78
}
84 79

  
85 80
.header-menu-item {
lib/style/skins/sanparks/header2.jsp
32 32
</head>
33 33

  
34 34
<body>
35
<table cellpadding="0" cellspacing="0" border="1" class="header-section">
35
<!--  div class="header-div" -->
36
<table class="header-section" cellpadding="0" cellspacing="0" border="0">
36 37
	<tr>
37
		<td>
38
			<a href="http://www.SANParks.org/" title="SANParks.org Home"><img src="<%=STYLE_SKINS_URL%>/sanparks/images/logofade_top.jpg" alt="SANParks.org Home" /></a>
39
		</td>	
40
		<td class="header-title">
41
			<div>SANParks<br>
42
				South African National Park Data Repository </div>
43
		</td>
44
		<td>
45
			<img src="<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_top_left.jpg" alt="SANParks.org Home" />
46
		</td>
47
		<td>
48
			<img src="<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_top_right.jpg" alt="SANParks.org Home" />
49
		</td>
38
		<td><a href="http://www.SANParks.org/" title="SANParks.org Home"><img class="top-row-image" src="<%=STYLE_SKINS_URL%>/sanparks/images/logofade_top.jpg" alt="SANParks.org Home" /></a></td>	
39
		<td><img class="top-row-image" src="<%=STYLE_SKINS_URL%>/sanparks/images/sanparks_name.jpg" alt="SANParks.org Home" /></td>
40
		<td class="header-spacer"></td>
41
		<td><img class="top-row-image" src="<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_top_left.jpg" alt="SANParks.org Home" /></td>
42
		<td><img class="top-row-image" src="<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_top_right.jpg" alt="SANParks.org Home" /></td>
50 43
	</tr>
51 44
	<tr>
52
		<td>
53
			<a href="http://www.SANParks.org/" title="SANParks.org Home"><img src="<%=STYLE_SKINS_URL%>/sanparks/images/logofade_bottom.jpg" alt="SANParks.org Home" /></a>
54
		</td>
55
		<td colspan="2" class="header-menu">
56
			<a  class="header-menu-first-item" href="./" target="_top" >Repository Home</a>
57
			<a  class="header-menu-item" href="<%=CGI_URL%>/register-dataset.cgi?cfg=sanparks" target="_top" >Register Data</a>
45
		<td><a href="http://www.SANParks.org/" title="SANParks.org Home"><img src="<%=STYLE_SKINS_URL%>/sanparks/images/logofade_bottom.jpg" alt="SANParks.org Home" /></a></td>
46
		<td colspan="3" class="header-menu">
47
			<a class="header-menu-first-item" href="./" target="_top" >Repository Home</a>
48
			<a class="header-menu-item" href="<%=CGI_URL%>/register-dataset.cgi?cfg=sanparks" target="_top" >Register Data</a>
58 49

  
59 50
<%
60 51
			if(request.getRequestURI().endsWith("searchWorkflowRun.jsp")) {
......
80 71
%> 
81 72
					
82 73
		</td>
83
		<td>
84
			<img src='<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_bottom_right.jpg' alt='Giraffe' />
85
		</td>
74
		<td><img src='<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_bottom_right.jpg' alt='Giraffe' /></td>
86 75
	</tr>
87 76
</table>
77
<!--  /div -->
88 78
</body>
89 79
</html>
lib/style/skins/sanparks/sanparks-tpc.css
31 31
 * tpc settings
32 32
 **********************************************************************/
33 33

  
34
.content-section {
34
.page-section {
35
	margin: 0px 20px 0px 20px;
36
	border-spacing: 0px;
37
	border-width: 0px;
38
	width: 95%;
39
	min-width: 1050px;
35 40
}
36 41

  
42
.left-nav-section {
43
	width: 175px;
44
	background: transparent url("images/navstrip.jpg") left 0px repeat-y;
45
}
46

  
47
.center-content-section {
48
	background: #FFFFFF;
49
	width: 100%;
50
}
51

  
52
.footer-content-section {
53
	background: #124325;
54
}
55

  
56
.search-section {
57
	vertical-align: top;
58
	width: 100%;
59
}
60

  
37 61
.content-section-header {
38 62
	text-align:	left;
39 63
	color: #124325;
......
89 113
}
90 114

  
91 115
.field-remove-button {
92
	margin: 0px 0px 0px 100px;
116
	margin: 0px 0px 0px 90px;
93 117
}
94 118

  
95 119
.text-input {
......
108 132
	vertical-align: middle;
109 133
}
110 134

  
111
.search-section {
112
	border: 1px solid #D5D5D5;
113
	padding: 15px 0px 5px 0px;
114
}
115

  
116 135
.search-section-text {
117 136
	position: absolute;
118 137
	top: 123px;
lib/style/skins/sanparks/footer2.css
32 32
 **********************************************************************/
33 33
 
34 34
.footer-section {
35
	margin: 0px 20px 0px 20px;
36
	width: 95%;
37
	min-width: 1050px;
38
	height: 150px;
35
/*	margin: 0px 20px 0px 20px; */
36
/*	width: 95%; */
37
/*	min-width: 1050px; */
38
/*	height: 150px; */
39 39
	background: #124325;
40 40
	color: #FFFFFF;
41 41
}

Also available in: Unified diff