Revision 2942
Added by Matt Jones almost 19 years ago
lib/style/skins/knp/index.jsp | ||
---|---|---|
1 |
<%@ page language="java" %> |
|
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 |
*/ |
|
26 |
%> |
|
27 |
<%@ include file="../../common/common-settings.jsp"%> |
|
28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
29 |
<html> |
|
30 |
<head> |
|
31 |
<title>KNP Data Repository</title> |
|
32 |
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css"> |
|
33 |
<link rel="stylesheet" type="text/css" |
|
34 |
href="@systemidserver@@style-skins-path@/knp/knp.css"></link> |
|
35 |
<script language="JavaScript" type="text/JavaScript" |
|
36 |
src="@systemidserver@@style-skins-path@/knp/knp.js"></script> |
|
37 |
<script language="JavaScript" type="text/JavaScript" |
|
38 |
src="@systemidserver@@style-common-path@/branding.js"></script> |
|
39 |
</head> |
|
40 |
<body> |
|
41 |
<script language="JavaScript"> |
|
42 |
function getMapFrame() { |
|
43 |
return document.getElementById('mapFrame'); |
|
44 |
} |
|
45 |
insertTemplateOpening(); |
|
46 |
insertSearchBox(); |
|
47 |
</script> |
|
48 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
49 |
<tr><td colspan="1" style="padding-right:60px"> |
|
50 |
<p> |
|
51 |
Welcome to the Kruger National Park Data Repository. This is the primary source for |
|
52 |
comprehensive information about scientific and research data sets collected |
|
53 |
within the KNP. |
|
54 |
</p> |
|
55 |
<p> </p> |
|
56 |
<p><b>Repository Tools</b></p> |
|
57 |
<p> |
|
58 |
<menu> |
|
59 |
<li><span class="searchbox">Search for Data</span><br /> |
|
60 |
<menu> |
|
61 |
<form method="POST" action="@servlet-path@" target="_top" name="searchform"> |
|
62 |
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> |
|
63 |
<input size="14" name="anyfield" type="text" value=""> |
|
64 |
<input name="qformat" value="knp" type="hidden"> |
|
65 |
<input value="Search" type="submit"> |
|
66 |
</form> |
|
67 |
The repository search system is used to locate data sets of interest |
|
68 |
by searching through existing registered data sets. |
|
69 |
Presently the search covers all fields, including |
|
70 |
author, title, abstract, keywords, and other documentation |
|
71 |
for each data set. Use a '%' symbol as a wildcard in searches |
|
72 |
(e.g., '%biodiversity%' would locate any phrase with the word |
|
73 |
biodiversity embedded within it). |
|
74 |
</menu> |
|
75 |
<p> </p> |
|
76 |
<li><a href="javascript:submitbrowseform('query',document.searchform)">Browse existing KNP data sets</a><br/> |
|
77 |
<menu> |
|
78 |
Browse all existing data sets by title. This operation can be slow as the |
|
79 |
number of entries in the repository grows. |
|
80 |
</menu> |
|
81 |
</li> |
|
82 |
<!-- |
|
83 |
<p> </p> |
|
84 |
<li><a href="@cgi-prefix@/register-dataset.cgi?cfg=knp">Register a new KNP |
|
85 |
data set</a><br /> |
|
86 |
<menu> |
|
87 |
The registration page is used to submit information about a <b>new</b> |
|
88 |
data set regarding ecology or the environment. The documentation about |
|
89 |
the data set will be submitted to the Repository. You (and only |
|
90 |
you, or your designee) can return to edit the entry |
|
91 |
at a later point in time to add to or correct the |
|
92 |
description. You can also use other tools such as <a |
|
93 |
href="http://knb.ecoinformatics.org/morphoportal.jsp">Morpho</a> to |
|
94 |
further document the set of data and directly attach the data to the |
|
95 |
repository entry. |
|
96 |
</menu> |
|
97 |
</li> |
|
98 |
--> |
|
99 |
<p> </p> |
|
100 |
<li>Login |
|
101 |
<br /> |
|
102 |
<menu> |
|
103 |
<form name="loginform" method="post" action="@servlet-path@" |
|
104 |
target="_top" onsubmit="return submitform(this);" id="loginform"> |
|
105 |
<input type="hidden" name="action" value="login"> <input type= |
|
106 |
"hidden" name="username" value=""> <input type="hidden" name= |
|
107 |
"qformat" value="knp"> <input type="hidden" name= |
|
108 |
"enableediting" value="false"> |
|
109 |
|
|
110 |
<table> |
|
111 |
<tr valign="middle"> |
|
112 |
<td align="left" valign="middle" class="text_plain"> |
|
113 |
username:</td> |
|
114 |
|
|
115 |
<td width="173" align="left" class="text_plain" style= |
|
116 |
"padding-top: 2px; padding-bottom: 2px;"><input name="uid" |
|
117 |
type="text" style="width: 140px;" value=""></td> |
|
118 |
</tr> |
|
119 |
|
|
120 |
<tr valign="middle"> |
|
121 |
<td height="28" align="left" valign="middle" class= |
|
122 |
"text_plain">organization:</td> |
|
123 |
|
|
124 |
<td align="left" class="text_plain" style= |
|
125 |
"padding-top: 2px; padding-bottom: 2px;"><select name= |
|
126 |
"organization" style="width:140px;"> |
|
127 |
<option value="SANParks">SANParks</option> |
|
128 |
</select></td> |
|
129 |
</tr> |
|
130 |
|
|
131 |
<tr valign="middle"> |
|
132 |
<td width="85" align="left" valign="middle" class= |
|
133 |
"text_plain">password:</td> |
|
134 |
|
|
135 |
<td colspan="2" align="left" class="text_plain" style= |
|
136 |
"padding-top: 2px; padding-bottom: 2px;"> |
|
137 |
<table width="100%" border="0" cellpadding="0" |
|
138 |
cellspacing="0"> |
|
139 |
<tr> |
|
140 |
<td width="150" align="left"><input name="password" |
|
141 |
type="password" maxlength="50" style="width:140px;" |
|
142 |
value=""></td> |
|
143 |
|
|
144 |
<td align="center" class="buttonBG_login"> |
|
145 |
<input type="submit" name="loginAction" value="Login" |
|
146 |
class="button_login"></td> |
|
147 |
|
|
148 |
<td align="left"> </td> |
|
149 |
</tr> |
|
150 |
</table> |
|
151 |
</td> |
|
152 |
</tr> |
|
153 |
</table> |
|
154 |
</form> |
|
155 |
</menu> |
|
156 |
</li> |
|
157 |
<p> </p> |
|
158 |
<li>Manage your account |
|
159 |
<!-- <a href="@cgi-prefix@/ldapweb.cgi?cfg=knp">Create a new account</a> --> |
|
160 |
<ul> |
|
161 |
<li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&stage=changepass">Change your password</a> |
|
162 |
<li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&stage=resetpass">Reset your password</a> |
|
163 |
</ul> |
|
164 |
<br /> |
|
165 |
<menu> |
|
166 |
If you have forgotten your password, use the "Reset password" link |
|
167 |
above to reset it. If you would like to change your password, use the |
|
168 |
'Change password' link. |
|
169 |
</menu> |
|
170 |
</li> |
|
171 |
</menu> |
|
172 |
</p> |
|
173 |
</td> |
|
174 |
<td class="mapColumn" rowspan="2" style="vertical-align:top"> |
|
175 |
<iframe src="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" class="mapFrame" |
|
176 |
id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0" framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no">Your browser does not support the iframe tag. <a href="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" target="_blank">This content</a> should have been displayed at this location</iframe> |
|
177 |
</td></tr> |
|
178 |
<tr><td> |
|
179 |
<p> |
|
180 |
This project is a cooperative effort of <a |
|
181 |
href="http://www.sanparks.org/">Kruger National Park (KNP)</a> |
|
182 |
and the <a href="http://www.nceas.ucsb.edu">National |
|
183 |
Center for Ecological Analysis and Synthesis (NCEAS)</a>. |
|
184 |
The Data Repository is based on software developed by |
|
185 |
the <a href="http://knb.ecoinformatics.org">Knowledge Network for |
|
186 |
Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a |
|
187 |
href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata |
|
188 |
Language (EML)</a>. <!-- Consequently, data registered in this repository |
|
189 |
also are accessible from the larger collection of data found in the |
|
190 |
<a href="http://knb.ecoinformatics.org">KNB repository</a>. --> |
|
191 |
Other sites contributing to the KNB repository include: |
|
192 |
<ul> |
|
193 |
<li><a href="http://knb.ecoinformatics.org/knb/obfs">Organization of |
|
194 |
Biological Field Stations registry</a> </li> |
|
195 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nrs">UC |
|
196 |
Natural Reserve System registry</a> </li> |
|
197 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nceas">NCEAS |
|
198 |
registry</a> </li> |
|
199 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/specnet"> |
|
200 |
SpecNet registry</a> </li> |
|
201 |
</ul> |
|
202 |
</p> |
|
203 |
</td></tr> |
|
204 |
</table> |
|
205 |
<p> </p> |
|
206 |
<script language="JavaScript"> |
|
207 |
insertTemplateClosing(); |
|
208 |
</script> |
|
209 |
</tr> |
|
210 |
</table> |
|
211 |
|
|
212 |
</body> |
|
213 |
</html> |
|
0 | 214 |
lib/style/skins/knp/knp.js | ||
---|---|---|
87 | 87 |
|
88 | 88 |
// Location of the header that will be displayed at the top of the page |
89 | 89 |
var HEADER_URL |
90 |
= "http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/header.html";
|
|
90 |
= "@systemidserver@/@context@@style-skins-relpath@/knp/header.jsp";
|
|
91 | 91 |
|
92 | 92 |
// Location of the search box that will be displayed above the |
93 | 93 |
// results on the results page (optional) |
... | ... | |
102 | 102 |
// Location of the header that will be displayed at the top of the page |
103 | 103 |
var RIGHTCOL_URL |
104 | 104 |
= ""; |
105 |
//= "http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html"; |
|
106 | 105 |
|
107 | 106 |
// Location of the header that will be displayed at the top of the page |
108 | 107 |
var FOOTER_URL |
... | ... | |
126 | 125 |
// The following variables set the names of the styles that will be applied to |
127 | 126 |
// each of the iframes - they can be anythign you wish, provided you use the |
128 | 127 |
// same names for your classes in the css file |
129 |
// NOTE: these styles apply only to each container frame, *NOT* to the document
|
|
128 |
// NOTE: these styles apply only to each container frame, *NOT* to the document |
|
130 | 129 |
// within it! |
131 | 130 |
//////////////////////////////////////////////////////////////////////////////// |
132 | 131 |
|
lib/style/skins/knp/header.jsp | ||
---|---|---|
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$' |
|
8 |
'$Date$' |
|
9 |
'$Revision$' |
|
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="../../common/common-settings.jsp"%> |
|
27 |
<!--____________________________max_width____________________________________--> |
|
28 |
|
|
29 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
30 |
<html> |
|
31 |
<head> |
|
32 |
<title>KNP Data Repository</title> |
|
33 |
<link rel="stylesheet" type="text/css" |
|
34 |
href="@systemidserver@@style-skins-path@/knp/knp.css"></link> |
|
35 |
</head> |
|
36 |
|
|
37 |
<body> |
|
38 |
<table width="760" border="0" cellspacing="0" cellpadding="0"> |
|
39 |
<tr> |
|
40 |
<td valign="middle" colspan="4" class="title">Kruger National Park Data Repository</td> |
|
41 |
<td rowspan="3" width="20%" valign="top"> |
|
42 |
<div align="right"><img src="@systemidserver@@style-skins-path@/knp/knp-logo.jpg"></div> |
|
43 |
</td> |
|
44 |
</tr> |
|
45 |
<tr> |
|
46 |
<td class="spacerrow" valign="top" colspan="4"> </td> |
|
47 |
</tr> |
|
48 |
<tr> |
|
49 |
<td valign="top" width="20%"> |
|
50 |
<p><a href="http://www.sanparks.org/" target="_top"> KNP Home</a></p> |
|
51 |
</td> |
|
52 |
<td valign="top" width="20%"> |
|
53 |
<p><a href="@systemidserver@@style-skins-path@/knp/" target="_top">Repository Home</a></p> |
|
54 |
</td> |
|
55 |
<!-- |
|
56 |
<td valign="top" width="20%"> |
|
57 |
<p><a href="@cgi-prefix@/register-dataset.cgi?cfg=knp" target="_top">Register New Dataset</a></p> |
|
58 |
</td> |
|
59 |
--> |
|
60 |
<td valign="top" width="20%"> |
|
61 |
<p class="searchbox"> |
|
62 |
Search for Data<br /> |
|
63 |
<form method="POST" action="@servlet-path@" target="_top"> |
|
64 |
<%=SIMPLE_SEARCH_METACAT_POST_FIELDS%> |
|
65 |
<input size="14" name="anyfield" type="text" value=""> |
|
66 |
<input name="qformat" value="knp" type="hidden"> |
|
67 |
</form> |
|
68 |
</p> |
|
69 |
</td> |
|
70 |
</tr> |
|
71 |
</table> |
|
72 |
</body> |
|
73 |
</html> |
|
0 | 74 |
lib/style/skins/knp/index.html | ||
---|---|---|
1 |
<!-- |
|
2 |
* '$RCSfile$' |
|
3 |
* Authors: Matt Jones |
|
4 |
* Copyright: 2000 Regents of the University of California and the |
|
5 |
* National Center for Ecological Analysis and Synthesis |
|
6 |
* For Details: http://www.nceas.ucsb.edu/ |
|
7 |
* |
|
8 |
* '$Author$' |
|
9 |
* '$Date$' |
|
10 |
* '$Revision$' |
|
11 |
* |
|
12 |
* This is an HTML document for displaying metadata catalog tools |
|
13 |
* |
|
14 |
* This program is free software; you can redistribute it and/or modify |
|
15 |
* it under the terms of the GNU General Public License as published by |
|
16 |
* the Free Software Foundation; either version 2 of the License, or |
|
17 |
* (at your option) any later version. |
|
18 |
* |
|
19 |
* This program is distributed in the hope that it will be useful, |
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
22 |
* GNU General Public License for more details. |
|
23 |
* |
|
24 |
* You should have received a copy of the GNU General Public License |
|
25 |
* along with this program; if not, write to the Free Software |
|
26 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
27 |
--> |
|
28 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
29 | 2 |
<html> |
30 | 3 |
<head> |
31 |
<title>KNP Data Repository</title> |
|
32 |
<link rel="stylesheet" href="/knp/style/default.css" type="text/css"> |
|
33 |
<link rel="stylesheet" type="text/css" |
|
34 |
href="http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/knp.css"></link> |
|
35 |
<script language="JavaScript" type="text/JavaScript" |
|
36 |
src="http://nebulous.msi.ucsb.edu:9999/knp/style/skins/knp/knp.js"></script> |
|
37 |
<script language="JavaScript" type="text/JavaScript" |
|
38 |
src="http://nebulous.msi.ucsb.edu:9999/knp/style/common/branding.js"></script> |
|
4 |
<title> </title> |
|
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|
6 |
<meta http-equiv="refresh" content="0;URL=index.jsp"> |
|
39 | 7 |
</head> |
40 |
<body> |
|
41 |
<script language="JavaScript"> |
|
42 |
function getMapFrame() { |
|
43 |
return document.getElementById('mapFrame'); |
|
44 |
} |
|
45 |
insertTemplateOpening(); |
|
46 |
insertSearchBox(); |
|
47 |
</script> |
|
48 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
49 |
<tr><td colspan="1" style="padding-right:60px"> |
|
50 |
<p> |
|
51 |
Welcome to the Kruger National Park Data Repository. This is the primary source for |
|
52 |
comprehensive information about scientific and research data sets collected |
|
53 |
within the KNP. |
|
54 |
</p> |
|
55 |
<p> </p> |
|
56 |
<p><b>Repository Tools</b></p> |
|
57 |
<p> |
|
58 |
<menu> |
|
59 |
<li><span class="searchbox">Search for Data</span><br /> |
|
60 |
<menu> |
|
61 |
<form method="POST" action="/knp/metacat" target="_top"> |
|
62 |
<input value="INTERSECT" name="operator" type="hidden"> |
|
63 |
<input size="14" name="anyfield" type="text" value=""> |
|
64 |
<!--<input name="organizationName" value="Kruger National Park" type="hidden">--> |
|
65 |
<input name="action" value="query" type="hidden"> |
|
66 |
<input name="qformat" value="knp" type="hidden"> |
|
67 |
<input name="enableediting" value="false" type="hidden"> |
|
68 |
<input name="operator" value="UNION" type="hidden"> |
|
69 |
<input name="returnfield" value="originator/individualName/surName" type="hidden"> |
|
70 |
<input name="returnfield" value="originator/individualName/givenName" type="hidden"> |
|
71 |
<input name="returnfield" value="creator/individualName/surName" type="hidden"> |
|
72 |
<input name="returnfield" value="creator/individualName/givenName" type="hidden"> |
|
73 |
<input name="returnfield" value="originator/organizationName" type="hidden"> |
|
74 |
<input name="returnfield" value="creator/organizationName" type="hidden"> |
|
75 |
<input name="returnfield" value="dataset/title" type="hidden"> |
|
76 |
<input name="returnfield" value="keyword" type="hidden"> |
|
77 |
<input name="returnfield" value="idinfo/citation/citeinfo/title" type="hidden"> |
|
78 |
<input name="returnfield" value="idinfo/citation/citeinfo/origin" type="hidden"> |
|
79 |
<input name="returnfield" value="idinfo/keywords/theme/themekey" type="hidden"> |
|
80 |
<input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.1" type="hidden"> |
|
81 |
<input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.0" type="hidden"> |
|
82 |
<input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" type="hidden"> |
|
83 |
<input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" type="hidden"> |
|
84 |
<input name="returndoctype" value="-//NCEAS//resource//EN" type="hidden"> |
|
85 |
<input name="returndoctype" value="-//NCEAS//eml-dataset//EN" type="hidden"> |
|
86 |
<input name="returndoctype" value="metadata" type="hidden"> |
|
87 |
<input value="Search" type="submit"> |
|
88 |
</form> |
|
89 |
The repository search system is used to locate data sets of interest |
|
90 |
by searching through existing registered data sets. |
|
91 |
Presently the search covers all fields, including |
|
92 |
author, title, abstract, keywords, and other documentation |
|
93 |
for each data set. Use a '%' symbol as a wildcard in searches |
|
94 |
(e.g., '%biodiversity%' would locate any phrase with the word |
|
95 |
biodiversity embedded within it). |
|
96 |
</menu> |
|
97 |
<p> </p> |
|
98 |
<li><a href="/knp/metacat?action=query&operator=INTERSECT&anyfield=%25&qformat=knp&enableediting=false&returndoctype=eml://ecoinformatics.org/eml-2.0.1&returndoctype=eml://ecoinformatics.org/eml-2.0.0&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&returndoctype=metadata&returnfield=dataset/title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=creator/individualName/surName&returnfield=originator/organizationName&returnfield=creator/organizationName&returnfield=idinfo/citation/citeinfo/title&returnfield=idinfo/citation/citeinfo/origin&returnfield=idinfo/keywords/theme/themekey">Browse existing KNP data sets</a><br /> |
|
99 |
<menu> |
|
100 |
Browse all existing data sets by title. This operation can be slow as the |
|
101 |
number of entries in the repository grows. |
|
102 |
</menu> |
|
103 |
</li> |
|
104 |
<!-- |
|
105 |
<p> </p> |
|
106 |
<li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/register-dataset.cgi?cfg=knp">Register a new KNP |
|
107 |
data set</a><br /> |
|
108 |
<menu> |
|
109 |
The registration page is used to submit information about a <b>new</b> |
|
110 |
data set regarding ecology or the environment. The documentation about |
|
111 |
the data set will be submitted to the Repository. You (and only |
|
112 |
you, or your designee) can return to edit the entry |
|
113 |
at a later point in time to add to or correct the |
|
114 |
description. You can also use other tools such as <a |
|
115 |
href="http://knb.ecoinformatics.org/morphoportal.jsp">Morpho</a> to |
|
116 |
further document the set of data and directly attach the data to the |
|
117 |
repository entry. |
|
118 |
</menu> |
|
119 |
</li> |
|
120 |
--> |
|
121 |
<p> </p> |
|
122 |
<li>Login |
|
123 |
<br /> |
|
124 |
<menu> |
|
125 |
<form name="loginform" method="post" action="/knp/metacat" |
|
126 |
target="_top" onsubmit="return submitform(this);" id="loginform"> |
|
127 |
<input type="hidden" name="action" value="login"> <input type= |
|
128 |
"hidden" name="username" value=""> <input type="hidden" name= |
|
129 |
"qformat" value="knp"> <input type="hidden" name= |
|
130 |
"enableediting" value="false"> |
|
131 |
|
|
132 |
<table> |
|
133 |
<tr valign="middle"> |
|
134 |
<td align="left" valign="middle" class="text_plain"> |
|
135 |
username:</td> |
|
136 |
|
|
137 |
<td width="173" align="left" class="text_plain" style= |
|
138 |
"padding-top: 2px; padding-bottom: 2px;"><input name="uid" |
|
139 |
type="text" style="width: 140px;" value=""></td> |
|
140 |
</tr> |
|
141 |
|
|
142 |
<tr valign="middle"> |
|
143 |
<td height="28" align="left" valign="middle" class= |
|
144 |
"text_plain">organization:</td> |
|
145 |
|
|
146 |
<td align="left" class="text_plain" style= |
|
147 |
"padding-top: 2px; padding-bottom: 2px;"><select name= |
|
148 |
"organization" style="width:140px;"> |
|
149 |
<option value="SANParks">SANParks</option> |
|
150 |
</select></td> |
|
151 |
</tr> |
|
152 |
|
|
153 |
<tr valign="middle"> |
|
154 |
<td width="85" align="left" valign="middle" class= |
|
155 |
"text_plain">password:</td> |
|
156 |
|
|
157 |
<td colspan="2" align="left" class="text_plain" style= |
|
158 |
"padding-top: 2px; padding-bottom: 2px;"> |
|
159 |
<table width="100%" border="0" cellpadding="0" |
|
160 |
cellspacing="0"> |
|
161 |
<tr> |
|
162 |
<td width="150" align="left"><input name="password" |
|
163 |
type="password" maxlength="50" style="width:140px;" |
|
164 |
value=""></td> |
|
165 |
|
|
166 |
<td align="center" class="buttonBG_login"> |
|
167 |
<input type="submit" name="loginAction" value="Login" |
|
168 |
class="button_login"></td> |
|
169 |
|
|
170 |
<td align="left"> </td> |
|
171 |
</tr> |
|
172 |
</table> |
|
173 |
</td> |
|
174 |
</tr> |
|
175 |
</table> |
|
176 |
</form> |
|
177 |
</menu> |
|
178 |
</li> |
|
179 |
<p> </p> |
|
180 |
<li>Manage your account |
|
181 |
<!-- <a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp">Create a new account</a> --> |
|
182 |
<ul> |
|
183 |
<li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp&stage=changepass">Change your password</a> |
|
184 |
<li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp&stage=resetpass">Reset your password</a> |
|
185 |
</ul> |
|
186 |
<br /> |
|
187 |
<menu> |
|
188 |
If you have forgotten your password, use the "Reset password" link |
|
189 |
above to reset it. If you would like to change your password, use the |
|
190 |
'Change password' link. |
|
191 |
</menu> |
|
192 |
</li> |
|
193 |
</menu> |
|
194 |
</p> |
|
195 |
</td> |
|
196 |
<td class="mapColumn" rowspan="2" style="vertical-align:top"> |
|
197 |
<iframe src="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" class="mapFrame" |
|
198 |
id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0" framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no">Your browser does not support the iframe tag. <a href="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" target="_blank">This content</a> should have been displayed at this location</iframe> |
|
199 |
</td></tr> |
|
200 |
<tr><td> |
|
201 |
<p> |
|
202 |
This project is a cooperative effort of <a |
|
203 |
href="http://www.sanparks.org/">Kruger National Park (KNP)</a> |
|
204 |
and the <a href="http://www.nceas.ucsb.edu">National |
|
205 |
Center for Ecological Analysis and Synthesis (NCEAS)</a>. |
|
206 |
The Data Repository is based on software developed by |
|
207 |
the <a href="http://knb.ecoinformatics.org">Knowledge Network for |
|
208 |
Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a |
|
209 |
href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata |
|
210 |
Language (EML)</a>. <!-- Consequently, data registered in this repository |
|
211 |
also are accessible from the larger collection of data found in the |
|
212 |
<a href="http://knb.ecoinformatics.org">KNB repository</a>. --> |
|
213 |
Other sites contributing to the KNB repository include: |
|
214 |
<ul> |
|
215 |
<li><a href="http://knb.ecoinformatics.org/knb/obfs">Organization of |
|
216 |
Biological Field Stations registry</a> </li> |
|
217 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nrs">UC |
|
218 |
Natural Reserve System registry</a> </li> |
|
219 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/nceas">NCEAS |
|
220 |
registry</a> </li> |
|
221 |
<li><a href="http://knb.ecoinformatics.org/knb/style/skins/specnet"> |
|
222 |
SpecNet registry</a> </li> |
|
223 |
</ul> |
|
224 |
</p> |
|
225 |
</td> |
|
226 |
|
|
227 |
|
|
228 |
</tr> |
|
229 |
</table> |
|
230 |
|
|
231 |
<p> </p> |
|
232 |
|
|
233 |
</td> |
|
234 |
|
|
235 |
<script language="JavaScript"> |
|
236 |
insertTemplateClosing(); |
|
237 |
</script> |
|
238 |
</tr> |
|
239 |
</table> |
|
240 |
|
|
241 |
</body> |
|
8 |
<body></body> |
|
242 | 9 |
</html> |
lib/style/common/common-settings.jsp | ||
---|---|---|
1 |
<%@ page errorPage="jsperrorpage.html" %> |
|
2 |
<!-- |
|
3 |
* '$RCSfile$' |
|
4 |
* Copyright: 2006 Regents of the University of California and the |
|
5 |
* National Center for Ecological Analysis and Synthesis |
|
6 |
* |
|
7 |
* '$Author$' |
|
8 |
* '$Date$' |
|
9 |
* '$Revision$' |
|
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 |
|
|
27 |
// GLOBAL CONSTANTS FOR ALL METACAT SKINS |
|
28 |
// These can be overridden by individual javascripts in each skin |
|
29 |
|
|
30 |
String COMMON_SEARCH_METACAT_POST_FIELDS = |
|
31 |
"<input type=\"hidden\" name=\"action\" value=\"query\"\\>\n" |
|
32 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"originator/individualName/surName\"\\>\n" |
|
33 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"originator/individualName/givenName\"\\>\n" |
|
34 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"originator/organizationName\"\\>\n" |
|
35 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"creator/individualName/surName\"\\>\n" |
|
36 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"creator/organizationName\"\\>\n" |
|
37 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"dataset/title\"\\>\n" |
|
38 |
+"<input type=\"hidden\" name=\"returnfield\" value=\"keyword\"\\>\n" |
|
39 |
+"<input name=\"returnfield\" value=\"creator/individualName/givenName\" type=\"hidden\">\n" |
|
40 |
+"<input name=\"returnfield\" value=\"idinfo/citation/citeinfo/title\" type=\"hidden\">\n" |
|
41 |
+"<input name=\"returnfield\" value=\"idinfo/citation/citeinfo/origin\" type=\"hidden\">\n" |
|
42 |
+"<input name=\"returnfield\" value=\"idinfo/keywords/theme/themekey\" type=\"hidden\">\n" |
|
43 |
+"<input name=\"returndoctype\" value=\"metadata\" type=\"hidden\">\n" |
|
44 |
+"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN\"\\>\n" |
|
45 |
+"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN\"\\>\n" |
|
46 |
+"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.1\"\\>\n" |
|
47 |
+"<input type=\"hidden\" name=\"returndoctype\" value=\"eml://ecoinformatics.org/eml-2.0.0\"\\>\n" |
|
48 |
+"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//eml-dataset-2.0//EN\"\\>\n" |
|
49 |
+"<input type=\"hidden\" name=\"returndoctype\" value=\"-//NCEAS//resource//EN\"\\>\n"; |
|
50 |
|
|
51 |
String SIMPLE_SEARCH_METACAT_POST_FIELDS = |
|
52 |
"<input type=\"hidden\" name=\"operator\" value=\"UNION\"\\>\n" |
|
53 |
+COMMON_SEARCH_METACAT_POST_FIELDS; |
|
54 |
|
|
55 |
String ADVANCED_SEARCH_METACAT_POST_FIELDS = |
|
56 |
"<input type=\"hidden\" name=\"operator\" value=\"INTERSECT\"\\>\n" |
|
57 |
+COMMON_SEARCH_METACAT_POST_FIELDS; |
|
58 |
%> |
|
0 | 59 |
lib/style/common/branding.js | ||
---|---|---|
229 | 229 |
else return " colspan=\""+colspan+"\" "; |
230 | 230 |
} |
231 | 231 |
|
232 |
function submitbrowseform(action,form_ref) { |
|
233 |
form_ref.action.value=action; |
|
234 |
form_ref.submit(); |
|
235 |
} |
Also available in: Unified diff
Factored out the search forms into javascript variables in a new
common-settings.jsp file which is referenced from the KNP skin. This
allows us to use the same form 3 times in different pages and makes
maintenance of the returndoctype and returnfield lists easier. The
common-settings.jsp can be shared across skins and so it will help us to
centralize the changes needed for FGDC support across all of the skins.
To do this, had to change the index page in the KNP skin from an HTML
document to JSP (index.jsp). Added a redirect for the index.jsp.
When merging code with Anderson's prior checkins to the index.html file,
found that he had replaced several ant tokens with hardcoded values for
nebulous -- I set these back to the ant tokens to get paths correct on
multiple installations. The new "map" seciton that anderson added still
has a hard-coded value pointing to nebulous which should be changed to
an ant token in the build asap.