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

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

Shift to stronger use of Favourites over Berries terminology

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