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

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

Introduction of a help page to the DL

File size: 4.3 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="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" />
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="gotoBerries" 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={$collName}">
82 <img src="interfaces/{$interface_name}/images/berry.png" alt="view berry basket" width="15" height="15" border="0" />
83 </a>
84 You have also added some items to the Berry Basket, 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={$collName}">here</a>.
86 </div>
87 <script>
88 <xsl:text disable-output-escaping="yes">
89 $(document).ready(
90 countBerries(function(berry_count) {
91 if (berry_count>0) {
92 $('#gotoBerries').show();
93 }
94 })
95 );
96 </xsl:text>
97 </script>
98
99 <p style="padding-top: 10px;">
100 A spreadsheet of the metadata of all the reports is available
101 for download:
102 </p>
103 <ul style="list-style: none;">
104 <li>
105 <a href="sites/{$site_name}/collect/{$collName}/for-download/Archaeological-Reports-20190620.csv">
106 <img src="interfaces/{$interface_name}/images/iexcel.gif" />
107 Archaeological-Reports.csv</a> (last updated 20 June 2019)
108 </li>
109 </ul>
110
111 <p style="padding-top: 10px;">
112 Should you prefer, you may contact us as follows:
113 </p>
114 <p style="padding-left: 20px">
115 <i>
116 Archaeological Digital Library<br/>
117 Heritage New Zealand<br/>
118 National Office<br/>
119 P O Box 2629<br/>
120 Wellington 6140
121 </i>
122 </p>
123 <p style="padding-left: 20px">
124 <i>
125 Phone: (04) 472 4341
126 </i>
127 </p>
128
129
130 </xsl:template>
131
132</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.