Project

General

Profile

« Previous | Next » 

Revision 2942

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.

View differences:

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>&nbsp;</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>&nbsp;</p>
98
  <li><a href="/knp/metacat?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;qformat=knp&amp;enableediting=false&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&amp;returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&amp;returndoctype=metadata&amp;returnfield=dataset/title&amp;returnfield=keyword&amp;returnfield=originator/individualName/surName&amp;returnfield=creator/individualName/surName&amp;returnfield=originator/organizationName&amp;returnfield=creator/organizationName&amp;returnfield=idinfo/citation/citeinfo/title&amp;returnfield=idinfo/citation/citeinfo/origin&amp;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>&nbsp;</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>&nbsp;</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">&nbsp;</td>
171
            </tr>
172
          </table>
173
        </td>
174
      </tr>
175
    </table>
176
  </form>
177
  </menu>
178
  </li>
179
  <p>&nbsp;</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&amp;stage=changepass">Change your password</a>
184
        <li><a href="http://nebulous.msi.ucsb.edu:9999/cgi-bin/ldapweb.cgi?cfg=knp&amp;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. &lt;a href="http://nebulous.msi.ucsb.edu:9999/geoserver/data/mbdemos/demo/metacat_wfs/pma.html" target="_blank"&gt;This content&lt;/a&gt; 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>&nbsp;</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>

Also available in: Unified diff