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

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

About page now links in to CSV sanitized spreadsheet

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