Revision 499
Added by Matt Jones almost 24 years ago
marine.xsl | ||
---|---|---|
49 | 49 |
<input type="hidden" name="returnfield" |
50 | 50 |
value="resource/dataset/originator/organizationName" /> |
51 | 51 |
<input type="hidden" name="returnfield" |
52 |
value="eml-dataset/title" /> |
|
53 |
<input type="hidden" name="returnfield" |
|
52 | 54 |
value="resource/dataset/title" /> |
53 | 55 |
<input type="hidden" name="returnfield" |
54 | 56 |
value="resource/dataset/keywordInfo/keyword" /> |
... | ... | |
89 | 91 |
<input type="hidden" name="returnfield" |
90 | 92 |
value="resource/dataset/title" /> |
91 | 93 |
<input type="hidden" name="returnfield" |
94 |
value="eml-dataset/title" /> |
|
95 |
<input type="hidden" name="returnfield" |
|
92 | 96 |
value="resource/dataset/keywordInfo/keyword" /> |
93 | 97 |
<input type="hidden" name="returndoc" |
94 | 98 |
value="-//NCEAS//resource//EN" /> |
... | ... | |
100 | 104 |
</table> |
101 | 105 |
|
102 | 106 |
<hr /> |
103 |
<center><h3>MARINE Search Interface</h3></center>
|
|
107 |
<center><h3>MARINE Database Search</h3></center>
|
|
104 | 108 |
<font size="2"> |
105 | 109 |
<p class="intro"> |
106 | 110 |
This page is a search tool for |
... | ... | |
287 | 291 |
<input type="hidden" name="returnfield" |
288 | 292 |
value="resource/dataset/title" /> |
289 | 293 |
<input type="hidden" name="returnfield" |
294 |
value="eml-dataset/title" /> |
|
295 |
<input type="hidden" name="returnfield" |
|
290 | 296 |
value="resource/dataset/keywordInfo/keyword" /> |
291 | 297 |
<input type="hidden" name="returndoc" |
292 | 298 |
value="-//NCEAS//resource//EN" /> |
... | ... | |
309 | 315 |
|
310 | 316 |
<table width="100%"> |
311 | 317 |
<tr> |
312 |
<th class="sectionhead"> </th> |
|
313 |
<th class="sectionhead"><font size="2"> |
|
314 |
<xsl:text>Title</xsl:text></font></th> |
|
315 |
<th class="sectionhead"><font size="2"> |
|
316 |
<xsl:text>Contacts</xsl:text></font></th> |
|
317 |
<th class="sectionhead"><font size="2"> |
|
318 |
<xsl:text>Organization</xsl:text></font></th> |
|
319 |
<th class="sectionhead"><font size="2"> |
|
320 |
<xsl:text>Keywords</xsl:text></font></th> |
|
321 |
<!--<th class="sectionhead"><font size="2"> |
|
322 |
<xsl:text>Related Documents</xsl:text></font></th>--> |
|
318 |
<th class="sectionhead"><font size="2">Title</font></th> |
|
319 |
<th class="sectionhead"><font size="2">Action</font></th> |
|
320 |
<th class="sectionhead"><font size="2">Related Documents</font></th> |
|
321 |
<th class="sectionhead"><font size="2">Contacts</font></th> |
|
322 |
<th class="sectionhead"><font size="2">Organization</font></th> |
|
323 |
<th class="sectionhead"><font size="2">Keywords</font></th> |
|
323 | 324 |
</tr> |
324 | 325 |
<font size="2"> |
325 | 326 |
|
... | ... | |
335 | 336 |
</xsl:attribute> |
336 | 337 |
|
337 | 338 |
<td> |
339 |
<font size="3"> |
|
340 |
<xsl:value-of select="./param[@name='resource/dataset/title']"/> |
|
341 |
<xsl:value-of select="./param[@name='eml-dataset/title']"/> |
|
342 |
<br/> |
|
343 |
</font> |
|
344 |
<p><pre>Document ID: <xsl:value-of select="./docid"/></pre></p> |
|
345 |
</td> |
|
346 |
<td> |
|
338 | 347 |
<form action="@html-path@/servlet/marine" method="POST"> |
339 | 348 |
<xsl:attribute name="name"> |
340 | 349 |
<xsl:value-of select="translate(./docid,':','')"/> |
... | ... | |
342 | 351 |
<!-- abstractpath tells the servlet where the abstract is in the |
343 | 352 |
document. The % sign is used because the path could be |
344 | 353 |
resource/literature or resource/dataset. --> |
345 |
<input type="hidden" name="abstractpath" value="resource/%/abstract" /> |
|
354 |
<input type="hidden" name="abstractpath" |
|
355 |
value="resource/%/abstract" /> |
|
346 | 356 |
<input type="hidden" name="action" value="getdocument"/> |
347 | 357 |
<input type="hidden" name="docid"> |
348 | 358 |
<xsl:attribute name="value"> |
... | ... | |
357 | 367 |
</input> |
358 | 368 |
</xsl:for-each> |
359 | 369 |
|
370 |
<font size="2"> |
|
360 | 371 |
<a> |
361 | 372 |
<xsl:attribute name="href">javascript:submitform('getdocument',document.<xsl:value-of select="translate(./docid, ':', '')"/>)</xsl:attribute> |
362 | 373 |
Dataset Information |
... | ... | |
369 | 380 |
<xsl:attribute name="href">javascript:submitform('getdatadoc',document.<xsl:value-of select="translate(./docid,':','')"/>)</xsl:attribute> |
370 | 381 |
Download Data and Metadata |
371 | 382 |
</a><br /> |
372 |
<!-- |
|
373 |
<input border="0" type="image"> |
|
374 |
<xsl:attribute name="src"> |
|
375 |
<xsl:choose> |
|
376 |
<xsl:when test="position() |
|
377 |
mod 2 = 1">@image-path@/marine/whiteMenu.jpg</xsl:when> |
|
378 |
<xsl:when test="position() |
|
379 |
mod 2 = 0">@image-path@/marine/blueMenu.jpg</xsl:when> |
|
380 |
</xsl:choose> |
|
381 |
</xsl:attribute> |
|
382 |
<xsl:attribute name="name"> |
|
383 |
<xsl:value-of select="./docid"/> |
|
384 |
</xsl:attribute> |
|
385 |
</input> |
|
386 |
--> |
|
383 |
</font> |
|
387 | 384 |
</form> |
388 |
<pre>Document ID: <xsl:value-of select="./docid"/></pre> |
|
389 | 385 |
</td> |
390 | 386 |
<td> |
391 |
<font size="4"> |
|
392 |
<b> |
|
393 |
<xsl:value-of select="./param[@name='resource/dataset/title']"/> |
|
394 |
</b><br/> |
|
395 |
|
|
396 |
</font> |
|
397 |
<a> |
|
398 |
<xsl:attribute name="href"> |
|
399 |
<xsl:text>@html-path@/servlet/marine/?action=getdocument&qformat=html&docid=</xsl:text> |
|
400 |
<xsl:value-of select="./docid"/> |
|
401 |
</xsl:attribute> |
|
402 |
<font size="2"> |
|
403 |
Dataset Information |
|
404 |
</font> |
|
405 |
</a><br/><br/> |
|
406 |
<i>Related Documents:</i><br/> |
|
407 | 387 |
<xsl:if test="count(./relation) > 0"> |
408 | 388 |
<xsl:for-each select="./relation"> |
409 |
<xsl:text> </xsl:text><xsl:text> </xsl:text> |
|
410 |
<xsl:text> </xsl:text><xsl:text> </xsl:text> |
|
411 |
<xsl:text> </xsl:text><xsl:text> </xsl:text> |
|
412 | 389 |
<a> |
413 | 390 |
<xsl:if test="starts-with(./relationdoc, 'http')"> |
414 | 391 |
<xsl:attribute name="href"> |
Also available in: Unified diff
More user interface changes to the HTML MARINE interface. Minor
rearrangement of columns, some link changes.