source: main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages/about.xsl@ 33075

Last change on this file since 33075 was 33075, checked in by davidb, 5 years ago

Changes to provided customized layout requested by Heritage NZ, including searching and browsing on About page in text, and berry baskets

  • Property svn:mime-type set to application/xml
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 xmlns:gslib="http://www.greenstone.org/skinning"
7 xmlns:gsf="http://www.greenstone.org/formatting"
8 extension-element-prefixes="java util"
9 exclude-result-prefixes="java util">
10
11 <xsl:template name="create-banner">
12 <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
13 <div id="titlesearchcontainer">
14 <xsl:call-template name="page-title-area"/>
15 <div style="clear:both;"><xsl:text> </xsl:text></div>
16 </div>
17 <xsl:call-template name="browsing-tabs"/>
18 </div>
19 </xsl:template>
20
21
22 <xsl:template name="coll-description">
23 <xsl:variable name="numDocs" select="/page/pageResponse/collection/metadataList/metadata[@name='numDocs']"/>
24
25 <figure style="float: right;">
26 <img src="http://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&amp;mw=920" width="220" alt="Archaeological digital library" />
27 </figure>
28
29 <h1>Archaeological PDF Reports Digital Library</h1>
30
31 <p>
32 Heritage New Zealand holds an extensive collection of
33 archaeological reports resulting from site surveys, excavations,
34 research programmes and archaeological authorities. The digital
35 library provides searching and browsing access to these
36<!--
37 <gsf:metadata type="collection" name="numDocs"/>
38-->
39 <xsl:value-of select="$numDocs"/>
40 volumes, which date from the
41 early 1970s to the present day.
42 </p>
43
44
45 <p>
46 You can locate reports through the search interface:
47 </p>
48 <div id="titlesearchcontainer">
49 <style>
50 #quicksearcharea { float: left; text-align: left; }
51 #quicksearcharea ul { float: right; text-align: right; }
52 </style>
53 <xsl:call-template name="quick-search-area"/>
54 <div style="clear:both;"><xsl:text> </xsl:text></div>
55 </div>
56
57 <p>
58 Or else browse by:
59 </p>
60 <style>
61 #gs-nav li:hover { background-color: #662020; }
62 #inpage-browsing-tabs li { float: inherit; display: inherit; margin: 5px; }
63 #inpage-browsing-tabs { width: 200px; }
64
65 </style>
66 <div id="inpage-browsing-tabs" >
67 <xsl:call-template name="browsing-tabs"/>
68 </div>
69
70 <p style="padding-top: 10px;">
71 Should you prefer, you may contact us as follows:
72 </p>
73 <p style="padding-left: 20px">
74 <i>
75 Archaeological Digital Library<br/>
76 Heritage New Zealand<br/>
77 National Office<br/>
78 P O Box 2629<br/>
79 Wellington 6140
80 </i>
81 </p>
82 <p style="padding-left: 20px">
83 <i>
84 tel: (04) 472 4341
85 </i>
86 </p>
87
88
89 </xsl:template>
90
91</xsl:stylesheet>
92
Note: See TracBrowser for help on using the repository browser.