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

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

Requested word changes to About page

File size: 4.9 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 <!-- optional cgi-params for links to document pages -->
12 <!-- needed here because collectionConfig.xml defined a template in
13 its *global* section that uses gsf:link, which in turn then
14 generates XSL tags that refer to opt-doc-link-arg -->
15 <xsl:variable name="opt-doc-link-args"></xsl:variable>
16
17 <xsl:template name="create-banner">
18 <!-- complete supress banner on the about page -->
19 <!--
20 <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
21 <div id="titlesearchcontainer">
22 <xsl:call-template name="page-title-area"/>
23 <div style="clear:both;"><xsl:text> </xsl:text></div>
24 </div>
25 <xsl:call-template name="browsing-tabs"/>
26 </div>
27 -->
28 </xsl:template>
29
30
31 <xsl:template name="coll-description">
32 <xsl:variable name="numDocs" select="/page/pageResponse/collection/metadataList/metadata[@name='numDocs']"/>
33
34 <figure style="float: right;">
35 <style> #gotohelp:hover { background-color: #662020;}</style>
36 <div id="gotohelp" class="ui-button ui-widget ui-state-default ui-corner-all" style="vertical-align:top; color: white; padding: 10px;">
37 <a href="{$library_name}/collection/{$collName}/page/help">Help</a>
38 </div>
39 <img src="https://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&amp;mw=920" width="220" alt="Archaeological digital library" />
40 </figure>
41
42 <h1>Archaeological Reports Digital Library</h1>
43
44 <p>
45 Heritage New Zealand holds an extensive collection of
46 archaeological reports resulting from site surveys, excavations,
47 research programmes and archaeological authorities. The digital
48 library provides searching and browsing access to these
49
50<!--
51 <gsf:metadata type="collection" name="numDocs"/>
52-->
53<!--
54 <xsl:value-of select="$numDocs"/>
55-->
56 volumes, which date from the
57 early 1970s to the present day.
58 </p>
59
60
61 <p>
62 You can locate and download reports through the search interface:
63 </p>
64 <div id="titlesearchcontainer">
65 <style>
66 #quicksearcharea { float: left; text-align: left; }
67 #quicksearcharea ul { float: right; text-align: right; }
68 </style>
69 <xsl:call-template name="quick-search-area"/>
70 <div style="clear:both;"><xsl:text> </xsl:text></div>
71 </div>
72
73 <p>
74 Or else browse by:
75 </p>
76 <style>
77 #gs-nav li:hover { background-color: #662020; }
78 #inpage-browsing-tabs li { float: inherit; display: inherit; margin: 5px; }
79 #inpage-browsing-tabs { width: 200px; }
80
81 </style>
82 <div id="inpage-browsing-tabs" >
83 <xsl:call-template name="browsing-tabs"/>
84 </div>
85
86 <div id="gotoFavourites" style="display: none; padding-top: 10px;">
87 <a href="{$library_name}?a=g&amp;sa=berry&amp;c=&amp;s=DisplayList&amp;rt=r&amp;p.c=">
88 <img src="interfaces/{$interface_name}/images/{$selected_favourite_icon}" title="view favourites" width="15" height="15" border="0" />
89 </a>
90 You have also have <span id="favouritesCount">0</span> item(s) marked as favourites, which you can access
91 <a href="{$library_name}?a=g&amp;sa=berry&amp;c=&amp;s=DisplayList&amp;rt=r&amp;p.c=">here</a>.
92 </div>
93 <script>
94 <xsl:text disable-output-escaping="yes">
95 $(document).ready(
96 countFavourites(function(favourites_count) {
97 if (favourites_count>0) {
98 $('#favouritesCount').html(favourites_count);
99 $('#gotoFavourites').show();
100 }
101 })
102 );
103 </xsl:text>
104 </script>
105
106 <p style="padding-top: 10px;">
107 A spreadsheet of the metadata of all the reports is available
108 for download:
109 </p>
110 <ul style="list-style: none;">
111 <li>
112 <a href="sites/{$site_name}/collect/{$collName}/for-download/Archaeological-Reports-24-July-2019.csv">
113 <img src="interfaces/{$interface_name}/images/iexcel.gif" />
114 Archaeological-Reports.csv</a>
115 </li>
116 </ul>
117
118 <p style="padding-top: 10px;">
119 Should you prefer, you may contact us as follows:
120 </p>
121 <p style="padding-left: 20px">
122 <i>
123 Archaeological Reports Digital Library<br/>
124 Heritage New Zealand Pouhere Taonga<br/>
125 Antrim House<br/>
126 63 Boulcott Street<br/>
127 P O Box 2629<br/>
128 Wellington 6160
129 </i>
130 </p>
131 <p style="padding-left: 20px">
132 <i>
133 Phone: +64 4 472 4341
134 </i>
135 </p>
136 <p style="padding-left: 20px">
137 <i>
138 Email: <a href="mailto:[email protected]">[email protected]</a>
139 </i>
140 </p>
141
142
143
144 </xsl:template>
145
146</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.