Project

General

Profile

1 2942 jones
<%@ 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 3034 perry
<%
29
String mapUrl = "@systemidserver@/@context@/style/skins/knp/spatial/pma.html";
30
%>
31 2942 jones
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
45 3034 perry
46 2942 jones
function getMapFrame() {
47
	return document.getElementById('mapFrame');
48
}
49
insertTemplateOpening();
50
insertSearchBox();
51
</script>
52 3034 perry
53 2942 jones
<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>&nbsp;</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>&nbsp;</p>
81 2967 sgarg
<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 2942 jones
    <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>&nbsp;</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>&nbsp;</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 2967 sgarg
          <option value="NCEAS">NCEAS</option>
139 2942 jones
        </select></td>
140
      </tr>
141
142
      <tr valign="middle">
143
        <td width="85" align="left" valign="middle" class=
144
        "text_plain">password:</td>
145
146
        <td colspan="2" align="left" class="text_plain" style=
147
        "padding-top: 2px; padding-bottom: 2px;">
148
          <table width="100%" border="0" cellpadding="0"
149
          cellspacing="0">
150
            <tr>
151
              <td width="150" align="left"><input name="password"
152
              type="password" maxlength="50" style="width:140px;"
153
              value=""></td>
154
155
              <td align="center" class="buttonBG_login">
156
              <input type="submit" name="loginAction" value="Login"
157
              class="button_login"></td>
158
159
              <td align="left">&nbsp;</td>
160
            </tr>
161
          </table>
162
        </td>
163
      </tr>
164
    </table>
165
  </form>
166
  </menu>
167
  </li>
168
  <p>&nbsp;</p>
169
  <li>Manage your account
170
   <!-- <a href="@cgi-prefix@/ldapweb.cgi?cfg=knp">Create a new account</a> -->
171
    <ul>
172
        <li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&amp;stage=changepass">Change your password</a>
173
        <li><a href="@cgi-prefix@/ldapweb.cgi?cfg=knp&amp;stage=resetpass">Reset your password</a>
174
    </ul>
175
    <br />
176
    <menu>
177
      If you have forgotten your password, use the "Reset password" link
178
      above to reset it.  If you would like to change your password, use the
179
      'Change password' link.
180
    </menu>
181
  </li>
182
</menu>
183
</p>
184
  </td>
185
  <td class="mapColumn" rowspan="2" style="vertical-align:top">
186 3034 perry
	<iframe src="<%=mapUrl%>" class="mapFrame"
187
	id="mapFrame" name="mapFrame" marginheight="0" marginwidth="0" border="0"
188
	framespacing="0" hspace="0" vspace="0" frameborder="0" scrolling="no">
189
	  Your browser does not support the iframe tag.
190
	  &lt;a href="<%=mapUrl%>" target="_blank"&gt;
191
	  This content&lt;/a&gt; should have been displayed at this location
192
	</iframe>
193 2942 jones
  </td></tr>
194
  <tr><td>
195
    <p>
196
    This project is a cooperative effort of <a
197
    href="http://www.sanparks.org/">Kruger National Park (KNP)</a>
198
    and the <a href="http://www.nceas.ucsb.edu">National
199
    Center for Ecological Analysis and Synthesis (NCEAS)</a>.
200
    The Data Repository is based on software developed by
201
    the <a href="http://knb.ecoinformatics.org">Knowledge Network for
202
    Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a
203
    href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata
204
    Language (EML)</a>.  <!-- Consequently, data registered in this repository
205
    also are accessible from the larger collection of data found in the
206
    <a href="http://knb.ecoinformatics.org">KNB repository</a>.  -->
207
    Other sites contributing to the KNB repository include:
208
    <ul>
209
    <li><a href="http://knb.ecoinformatics.org/knb/obfs">Organization of
210
    Biological Field Stations registry</a>  </li>
211
    <li><a href="http://knb.ecoinformatics.org/knb/style/skins/nrs">UC
212
    Natural Reserve System registry</a>  </li>
213
    <li><a href="http://knb.ecoinformatics.org/knb/style/skins/nceas">NCEAS
214
    registry</a>  </li>
215
    <li><a href="http://knb.ecoinformatics.org/knb/style/skins/specnet">
216
    SpecNet registry</a>  </li>
217
    </ul>
218
    </p>
219
  </td></tr>
220
</table>
221
<p>&nbsp;</p>
222
<script language="JavaScript">
223
    insertTemplateClosing();
224
</script>
225
</tr>
226
</table>
227
228
</body>
229
</html>