Project

General

Profile

metacat / lib / style / skins / sanparks / header2.jsp @ 5810

1
<%@ page language="java"%>
2
<%
3
	 /*
4
	 '$RCSfile$'
5
	 Copyright: 2003 Regents of the University of California and the
6
	 National Center for Ecological Analysis and Synthesis
7
	 '$Author: leinfelder $'
8
	 '$Date: 2008-06-10 10:18:06 -0700 (Tue, 10 Jun 2008) $'
9
	 '$Revision: 3966 $'
10
	
11
	 This program is free software; you can redistribute it and/or modify
12
	 it under the terms of the GNU General Public License as published by
13
	 the Free Software Foundation; either version 2 of the License, or
14
	 (at your option) any later version.
15
	
16
	 This program is distributed in the hope that it will be useful,
17
	 but WITHOUT ANY WARRANTY; without even the implied warranty of
18
	 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
	 GNU General Public License for more details.
20
	
21
	 You should have received a copy of the GNU General Public License
22
	 along with this program; if not, write to the Free Software
23
	 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
	 */
25
%>
26
<%@ include file="settings.jsp"%>
27
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
28
<html>
29
<head>
30
	<title>SANParks - South African National Park Data Repository</title>
31
	<!-- This file is meant to be included in a parent file, so link css stylesheet there. -->
32
</head>
33

    
34
<body>
35
<!--  div class="header-div" -->
36
<table class="header-section" cellpadding="0" cellspacing="0" border="0">
37
	<tr>
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>
43
	</tr>
44
	<tr>
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>
49

    
50
<%
51
			if(request.getRequestURI().endsWith("searchWorkflowRun.jsp")) {
52
%>
53
				<span class="header-menu-item">TPC Status</span>	
54
<%
55
			} else {
56
%>
57
				<a class="header-menu-item" href="<%=STYLE_SKINS_URL%>/sanparks/searchWorkflowRun.jsp">TPC Status</a>
58
<%
59
			}
60

    
61
 
62
			if(request.getRequestURI().endsWith("searchWorkflow.jsp")) {
63
%>
64
				<span class="header-menu-item">TPC Workflows</span>	
65
<%
66
			} else {
67
%>
68
				<a class="header-menu-item" href="<%=STYLE_SKINS_URL%>/sanparks/searchWorkflow.jsp">TPC Workflows</a>
69
<%
70
			}
71
%> 
72
					
73
		</td>
74
		<td><img src='<%=STYLE_SKINS_URL%>/sanparks/images/giraffe_bottom_right.jpg' alt='Giraffe' /></td>
75
	</tr>
76
</table>
77
<!--  /div -->
78
</body>
79
</html>