Revision 3283
Added by barteau over 17 years ago
index.jsp | ||
---|---|---|
1 | 1 |
<%@ page language="java" %> |
2 | 2 |
<% |
3 |
/*
|
|
4 |
* '$RCSfile$'
|
|
5 |
* Copyright: 2006 Regents of the University of California and the
|
|
6 |
* National Center for Ecological Analysis and Synthesis
|
|
7 |
*
|
|
8 |
* '$Author$'
|
|
9 |
* '$Date$'
|
|
10 |
* '$Revision$'
|
|
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 |
*/
|
|
3 |
/* |
|
4 |
* '$RCSfile$' |
|
5 |
* Copyright: 2006 Regents of the University of California and the |
|
6 |
* National Center for Ecological Analysis and Synthesis |
|
7 |
* |
|
8 |
* '$Author$' |
|
9 |
* '$Date$' |
|
10 |
* '$Revision$' |
|
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 | 26 |
%> |
27 | 27 |
<%@ include file="../../common/common-settings.jsp"%> |
28 | 28 |
<% |
... | ... | |
30 | 30 |
%> |
31 | 31 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
32 | 32 |
<html> |
33 |
<head> |
|
34 |
<title>KNP Data Repository</title> |
|
35 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css"> |
|
36 |
<link rel="stylesheet" type="text/css" |
|
37 |
href="@systemidserver@@style-skins-path@/knp/knp.css"></link> |
|
38 |
<script language="JavaScript" type="text/JavaScript" |
|
39 |
src="@systemidserver@@style-skins-path@/knp/knp.js"></script> |
|
40 |
<script language="JavaScript" type="text/JavaScript" |
|
41 |
src="@systemidserver@@style-common-path@/branding.js"></script> |
|
42 |
</head> |
|
43 |
<body> |
|
44 |
<script language="JavaScript"> |
|
33 |
<head>
|
|
34 |
<title>KNP Data Repository</title>
|
|
35 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css">
|
|
36 |
<link rel="stylesheet" type="text/css"
|
|
37 |
href="@systemidserver@@style-skins-path@/knp/knp.css"></link>
|
|
38 |
<script language="JavaScript" type="text/JavaScript"
|
|
39 |
src="@systemidserver@@style-skins-path@/knp/knp.js"></script>
|
|
40 |
<script language="JavaScript" type="text/JavaScript"
|
|
41 |
src="@systemidserver@@style-common-path@/branding.js"></script>
|
|
42 |
</head>
|
|
43 |
<body>
|
|
44 |
<script language="JavaScript">
|
|
45 | 45 |
|
46 | 46 |
function getMapFrame() { |
47 | 47 |
return document.getElementById('mapFrame'); |
48 | 48 |
} |
49 | 49 |
insertTemplateOpening(); |
50 | 50 |
insertSearchBox(); |
51 |
</script> |
|
52 |
|
|
53 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
54 |
<tr><td colspan="1" style="padding-right:60px"> |
|
55 |
<p> |
|
56 |
Welcome to the Kruger National Park Data Repository. This is the primary source for |
|
57 |
comprehensive information about scientific and research data sets collected |
|
58 |
within the KNP. |
|
59 |
</p> |
|
60 |
<p> </p> |
|
61 |
<p><b>Repository Tools</b></p> |
|
62 |
<p> |
|
63 |
<menu> |
|
64 |
<li><span class="searchbox">Search for Data</span><br /> |
|
65 |
<menu> |
|
66 |
<form method="POST" action="@servlet-path@" target="_top" name="searchform"> |
|
67 |
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> |
|
68 |
<input size="14" name="anyfield" type="text" value=""> |
|
69 |
<input name="qformat" value="knp" type="hidden"> |
|
70 |
<input value="Search" type="submit"> |
|
71 |
</form> |
|
72 |
The repository search system is used to locate data sets of interest |
|
73 |
by searching through existing registered data sets. |
|
74 |
Presently the search covers all fields, including |
|
75 |
author, title, abstract, keywords, and other documentation |
|
76 |
for each data set. Use a '%' symbol as a wildcard in searches |
|
77 |
(e.g., '%biodiversity%' would locate any phrase with the word |
|
78 |
biodiversity embedded within it). |
|
79 |
</menu> |
|
80 |
<p> </p> |
|
81 |
<form method="POST" action="@servlet-path@" target="_top" name="browseform"> |
|
82 |
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> |
|
83 |
<input name="anyfield" type="hidden" value="%"> |
|
84 |
<input name="qformat" value="knp" type="hidden"> |
|
85 |
</form> |
|
86 |
<li><a href="javascript:submitbrowseform('query',document.browseform)">Browse existing KNP data sets</a><br/> |
|
87 |
<menu> |
|
88 |
Browse all existing data sets by title. This operation can be slow as the |
|
89 |
number of entries in the repository grows. |
|
90 |
</menu> |
|
91 |
</li> |
|
92 |
<!-- |
|
93 |
<p> </p> |
|
94 |
<li><a href="@cgi-prefix@/register-dataset.cgi?cfg=knp">Register a new KNP |
|
95 |
data set</a><br /> |
|
96 |
<menu> |
|
97 |
The registration page is used to submit information about a <b>new</b> |
|
98 |
data set regarding ecology or the environment. The documentation about |
|
99 |
the data set will be submitted to the Repository. You (and only |
|
100 |
you, or your designee) can return to edit the entry |
|
101 |
at a later point in time to add to or correct the |
|
102 |
description. You can also use other tools such as <a |
|
103 |
href="http://knb.ecoinformatics.org/morphoportal.jsp">Morpho</a> to |
|
104 |
further document the set of data and directly attach the data to the |
|
105 |
repository entry. |
|
106 |
</menu> |
|
107 |
</li> |
|
108 |
--> |
|
109 |
<p> </p> |
|
110 |
<li>Login |
|
111 |
<br /> |
|
112 |
<menu> |
|
113 |
<form name="loginform" method="post" action="@servlet-path@" |
|
114 |
target="_top" onsubmit="return submitform(this);" id="loginform"> |
|
115 |
<input type="hidden" name="action" value="login"> <input type= |
|
116 |
"hidden" name="username" value=""> <input type="hidden" name= |
|
117 |
"qformat" value="knp"> <input type="hidden" name= |
|
118 |
"enableediting" value="false"> |
|
119 |
|
|
120 |
<table> |
|
121 |
<tr valign="middle"> |
|
122 |
<td align="left" valign="middle" class="text_plain"> |
|
123 |
username:</td> |
|
124 |
|
|
125 |
<td width="173" align="left" class="text_plain" style= |
|
126 |
"padding-top: 2px; padding-bottom: 2px;"><input name="uid" |
|
127 |
type="text" style="width: 140px;" value=""></td> |
|
128 |
</tr> |
|
129 |
|
|
130 |
<tr valign="middle"> |
|
131 |
<td height="28" align="left" valign="middle" class= |
|
132 |
"text_plain">organization:</td> |
|
133 |
|
|
134 |
<td align="left" class="text_plain" style= |
|
135 |
"padding-top: 2px; padding-bottom: 2px;"><select name= |
|
136 |
"organization" style="width:140px;"> |
|
137 |
<option value="SANParks">SANParks</option> |
|
138 |
<option value="SAEON">SAEON</option> |
|
139 |
<option value="unaffiliated">unaffiliated</option> |
|
140 |
<option value="NCEAS">NCEAS</option> |
|
141 |
</select></td> |
|
142 |
</tr> |
|
143 |
|
|
144 |
<tr valign="middle"> |
|
145 |
<td width="85" align="left" valign="middle" class= |
|
146 |
"text_plain">password:</td> |
|
147 |
|
|
148 |
<td colspan="2" align="left" class="text_plain" style= |
|
149 |
"padding-top: 2px; padding-bottom: 2px;"> |
|
150 |
<table width="100%" border="0" cellpadding="0" |
|
151 |
cellspacing="0"> |
|
152 |
<tr> |
|
153 |
<td width="150" align="left"><input name="password" |
|
154 |
type="password" maxlength="50" style="width:140px;" |
|
155 |
value=""></td> |
|
156 |
|
|
157 |
<td align="center" class="buttonBG_login"> |
|
158 |
<input type="submit" name="loginAction" value="Login" |
|
159 |
class="button_login"></td> |
|
160 |
|
|
161 |
<td align="left"> </td> |
|
162 |
</tr> |
|
163 |
</table> |
|
164 |
</td> |
|
165 |
</tr> |
|
166 |
</table> |
|
167 |
</form> |
|
168 |
</menu> |
|
169 |
</li> |
|
170 |
<p> </p> |
|
171 |
<li>Manage your account |
|
172 |
<!-- <a href="@cgi-prefix@/ldapweb.cgi?cfg=knp">Create a new account</a> --> |
|
173 |
<ul> |
|
174 |
<li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&stage=changepass">Change your password</a> |
|
175 |
<li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&stage=resetpass">Reset your password</a> |
|
176 |
</ul> |
|
177 |
<br /> |
|
178 |
<menu> |
|
179 |
If you have forgotten your password, use the "Reset password" link |
|
180 |
above to reset it. If you would like to change your password, use the |
|
181 |
'Change password' link. |
|
182 |
</menu> |
|
183 |
</li> |
|
184 |
</menu> |
|
185 |
</p> |
|
186 |
</td> |
|
187 |
<td class="mapColumn" rowspan="2" style="vertical-align:top"> |
|
188 |
<iframe src="<%=mapUrl%>" class="mapFrame" |
|
189 |
id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0" |
|
190 |
framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no"> |
|
191 |
Your browser does not support the iframe tag. |
|
192 |
<a href="<%=mapUrl%>" target="_blank"> |
|
193 |
This content</a> should have been displayed at this location |
|
194 |
</iframe> |
|
195 |
</td></tr> |
|
196 |
<tr><td> |
|
197 |
<p> |
|
198 |
This project is a cooperative effort of <a |
|
199 |
href="http://www.sanparks.org/">Kruger National Park (KNP)</a> |
|
200 |
and the <a href="http://www.nceas.ucsb.edu">National |
|
201 |
Center for Ecological Analysis and Synthesis (NCEAS)</a>. |
|
202 |
The Data Repository is based on software developed by |
|
203 |
the <a href="http://knb.ecoinformatics.org">Knowledge Network for |
|
204 |
Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a |
|
205 |
href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata |
|
206 |
Language (EML)</a>. <!-- Consequently, data registered in this repository |
|
51 |
</script> |
|
52 |
|
|
53 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
54 |
<tr><td colspan="1" style="padding-right:60px"> |
|
55 |
<p> |
|
56 |
Welcome to the Kruger National Park Data Repository. This is the primary source for |
|
57 |
comprehensive information about scientific and research data sets collected |
|
58 |
within the KNP. |
|
59 |
</p> |
|
60 |
<p> </p> |
|
61 |
<p><b>Repository Tools</b></p> |
|
62 |
<p> |
|
63 |
<menu> |
|
64 |
<li><span class="searchbox">Search for Data</span><br /> |
|
65 |
<menu> |
|
66 |
<form method="POST" action="@servlet-path@" target="_top" name="searchform"> |
|
67 |
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> |
|
68 |
<input size="14" name="anyfield" type="text" value=""> |
|
69 |
<input name="qformat" value="knp" type="hidden"> |
|
70 |
<input value="Search" type="submit"> |
|
71 |
</form> |
|
72 |
The repository search system is used to locate data sets of interest |
|
73 |
by searching through existing registered data sets. |
|
74 |
Presently the search covers all fields, including |
|
75 |
author, title, abstract, keywords, and other documentation |
|
76 |
for each data set. Use a '%' symbol as a wildcard in searches |
|
77 |
(e.g., '%biodiversity%' would locate any phrase with the word |
|
78 |
biodiversity embedded within it). |
|
79 |
</menu> |
|
80 |
<p> </p> |
|
81 |
<form method="POST" action="@servlet-path@" target="_top" name="browseform"> |
|
82 |
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> |
|
83 |
<input name="anyfield" type="hidden" value="%"> |
|
84 |
<input name="qformat" value="knp" type="hidden"> |
|
85 |
</form> |
|
86 |
<li><a href="javascript:submitbrowseform('query',document.browseform)">Browse existing KNP data sets</a><br/> |
|
87 |
<menu> |
|
88 |
Browse all existing data sets by title. This operation can be slow as the |
|
89 |
number of entries in the repository grows. |
|
90 |
</menu> |
|
91 |
</li> |
|
92 |
<p> </p> |
|
93 |
<li>Registered Users |
|
94 |
<br /> |
|
95 |
<script type="text/javascript"> |
|
96 |
insertLoginBox(); |
|
97 |
</script> |
|
98 |
</li> |
|
99 |
<p> </p> |
|
100 |
</menu> |
|
101 |
</p> |
|
102 |
</td> |
|
103 |
<td class="mapColumn" rowspan="2" style="vertical-align:top"> |
|
104 |
<iframe src="<%=mapUrl%>" class="mapFrame" |
|
105 |
id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0" |
|
106 |
framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no"> |
|
107 |
Your browser does not support the iframe tag. |
|
108 |
<a href="<%=mapUrl%>" target="_blank"> |
|
109 |
This content</a> should have been displayed at this location |
|
110 |
</iframe> |
|
111 |
</td></tr> |
|
112 |
<tr><td> |
|
113 |
<p> |
|
114 |
This project is a cooperative effort of <a |
|
115 |
href="http://www.sanparks.org/">Kruger National Park (KNP)</a> |
|
116 |
and the <a href="http://www.nceas.ucsb.edu">National |
|
117 |
Center for Ecological Analysis and Synthesis (NCEAS)</a>. |
|
118 |
The Data Repository is based on software developed by |
|
119 |
the <a href="http://knb.ecoinformatics.org">Knowledge Network for |
|
120 |
Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a |
|
121 |
href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata |
|
122 |
Language (EML)</a>. <!-- Consequently, data registered in this repository |
|
207 | 123 |
also are accessible from the larger collection of data found in the |
208 | 124 |
<a href="http://knb.ecoinformatics.org">KNB repository</a>. --> |
209 | 125 |
Other sites contributing to the KNB repository include: |
210 |
<ul> |
|
211 |
<li><a href="http://knb.ecoinformatics.org/knb/obfs">Organization of |
|
212 |
Biological Field Stations registry</a> </li> |
|
213 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nrs">UC |
|
214 |
Natural Reserve System registry</a> </li> |
|
215 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nceas">NCEAS |
|
216 |
registry</a> </li> |
|
217 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/specnet"> |
|
218 |
SpecNet registry</a> </li> |
|
219 |
</ul> |
|
220 |
</p> |
|
221 |
</td></tr> |
|
222 |
</table> |
|
223 |
<p> </p> |
|
224 |
<script language="JavaScript"> |
|
126 |
<ul>
|
|
127 |
<li><a href="http://knb.ecoinformatics.org/knb/obfs">Organization of
|
|
128 |
Biological Field Stations registry</a> </li>
|
|
129 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nrs">UC
|
|
130 |
Natural Reserve System registry</a> </li>
|
|
131 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nceas">NCEAS
|
|
132 |
registry</a> </li>
|
|
133 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/specnet">
|
|
134 |
SpecNet registry</a> </li>
|
|
135 |
</ul>
|
|
136 |
</p>
|
|
137 |
</td></tr>
|
|
138 |
</table>
|
|
139 |
<p> </p>
|
|
140 |
<script language="JavaScript">
|
|
225 | 141 |
insertTemplateClosing(); |
226 |
</script> |
|
227 |
</tr> |
|
228 |
</table> |
|
229 |
|
|
230 |
</body> |
|
142 |
</script>
|
|
143 |
</tr>
|
|
144 |
</table>
|
|
145 |
|
|
146 |
</body>
|
|
231 | 147 |
</html> |
Also available in: Unified diff
KNP skin customization. Added a call the the standard skin javascript protocol of "insertLoginBox()". This replaces the prior "Login Form" and "Manage Account" section, which have been removed.
This code is now in the new SaeonLogin.jspx file.