Project

General

Profile

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

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-section">
36
	<a href="http://www.SANParks.org/" title="SANParks.org Home"><img class="header-left-image" src="<%=STYLE_SKINS_URL%>/sanparks/images/logofade.jpg" alt="SANParks.org Home" /></a>
37
	<div class="header-center-section">
38
		<div class="header-title">SANParks<br>
39
			South African National Park Data Repository </div>
40
		<div class="header-menu">
41
			<a class="header-menu-item header-menu-first-item" href="./" target="_top" >Repository Home</a>
42
			<a class="header-menu-item"href="<%=CGI_URL%>/register-dataset.cgi?cfg=sanparks" target="_top" >Register Data</a>
43

    
44
<%
45
			if(request.getRequestURI().endsWith("searchTPCWorkflowRun.jsp")) {
46
%>
47
				<div class="header-menu-item menu-item-inactive">TPC Status</div>	
48
<%
49
			} else {
50
%>
51
				<a class="header-menu-item" href="<%=STYLE_SKINS_URL%>/sanparks/searchTPCWorkflow.jsp">TPC Status</a>
52
<%
53
			}
54

    
55
 
56
			if(request.getRequestURI().endsWith("searchTPCWorkflow.jsp")) {
57
%>
58
				<div class="header-menu-item menu-item-inactive">TPC Workflows</div>	
59
<%
60
			} else {
61
%>
62
				<a class="header-menu-item"href="<%=STYLE_SKINS_URL%>/sanparks/searchTPCWorkflow.jsp">TPC Workflows</a>
63
<%
64
			}
65
%> 
66
					
67
		</div>
68
	</div>
69
	<img class="header-right-image" src='<%=STYLE_SKINS_URL%>/sanparks/images/giraffe.jpg' alt='Giraffe' />
70
</div>
71
</body>
72
</html>