root/main/trunk/model-sites-dev/hauraki-dl/transform/pages/home.xsl @ 32597

Revision 32597, 5.1 KB (checked in by davidb, 7 months ago)

Reworking of the GS2 Hauraki DL as a GS3 site

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    extension-element-prefixes="java util"
8    exclude-result-prefixes="java util xsl gslib">
9
10
11    <xsl:template name="collectionAndGroupLinks">
12      <!--
13      <xsl:for-each select="collectionList/collection|groupList/group">
14            <xsl:sort data-type="number" select="@position"/>
15        <xsl:if test="name() = 'collection'">
16              <gslib:collectionLinkWithImage/>
17        </xsl:if>
18        <xsl:if test="name() = 'group'">
19              <gslib:groupLinkWithImage/>
20        </xsl:if>           
21          </xsl:for-each>
22      -->
23
24      <table style="width: 100%">
25        <tr>
26          <td>
27        <!-- Content Header Starts-->
28        <div style="text-align: center;">
29          <h3><div class="collectionheader">Hauraki Digital Library</div></h3>
30        </div>
31          </td>
32        </tr>
33
34        <tr>
35          <td>
36        <div class="select_collection">
37          Select a collection
38        </div>
39          </td>
40        </tr>
41       
42        <tr>
43          <td>
44        <div class="library_classification">
45         
46         
47          <table style="width: 100%;" class="collection_classification" cellpadding="3px">
48            <tr>
49              <td style="width: 50%;">
50            <div class="collection">
51              <table class="inside_collection_classification">
52                <tr>
53                  <td width="105px"><a href="{$site_name}/collection/ocr-tribunal/page/about"><img class="link" src="sites/{$site_name}/collect/ocr-tribunal/images/collectionlogo.jpg" alt="Ng&#257; Ker&#275;me / Hauraki Treaty of Waitangi Claims " title="Ng&#257; Ker&#275;me / Hauraki Treaty of Waitangi Claims "/></a></td>
54                  <td style="padding-left: 5px;">
55                <div class="maorititle"><a href="{$site_name}/collection/ocr-tribunal/page/about">Ng&#257; Ker&#275;me</a></div>
56                <br />
57                <div class="englishtitle"><a href="{$site_name}/collection/ocr-tribunal/page/about">Hauraki Treaty of Waitangi Claims</a></div>
58                <br />
59                <div class="description">This collection contains digitised versions of documentation presented to the Waitangi Tribunal in support of Hauraki claims.</div>
60                  </td>
61                </tr>
62              </table>
63            </div>
64              </td>
65
66              <td style="width: 50%;">
67            <div class="collection">
68              <table class="inside_collection_classification">
69                <tr>
70                  <td width="105px"><a href="{$site_name}/collection/whakaahua/page/about"><img class="link" src="sites/{$site_name}/collect/whakaahua/images/collectionlogo.jpg" alt="Ng&#257; Whakaahua &#333; Hauraki / Hauraki Photos " title="Ng&#257; Whakaahua &#333; Hauraki / Hauraki Photos "/></a></td>
71                  <td style="padding-left: 5px;">
72                <div class="maorititle"><a href="{$site_name}/collection/whakaahua/page/about">Ng&#257; Whakaahua &#333; Hauraki</a></div>
73                <br />
74                <div class="englishtitle"><a href="{$site_name}/collection/whakaahua/page/about">Hauraki Photos</a></div>
75                <br />
76                <div class="description">This collection contains photos of people and places of Hauraki.</div>
77                  </td>
78                </tr>
79              </table>
80            </div>
81              </td>
82            </tr>
83
84            <tr>
85
86              <td>
87            <div class="collection">
88              <table class="inside_collection_classification">
89                <tr>
90                  <td width="105px"><a href="{$site_name}/collection/treasures/page/about"><img class="link" src="sites/{$site_name}/collect/treasures/images/collectionlogo.jpg" alt="Wh&#257;nau K&#333;rero / Hauraki Interviews and Stories " title="Wh&#257;nau K&#333;rero / Hauraki Interviews and Stories "/></a></td>
91                  <td style="padding-left: 5px;">
92                <div class="maorititle"><a href="{$site_name}/collection/treasures/page/about">Wh&#257;nau K&#333;rero</a></div>
93                <br />
94                <div class="englishtitle"><a href="{$site_name}/collection/treasures/page/about">Hauraki Interviews and Stories</a></div>
95                <br />
96                <div class="description">This collection contains video footage of kaumātua interviews and stories.</div>
97                  </td>
98                </tr>
99              </table>
100            </div>
101              </td>
102
103              <td>
104            <div class="collection">
105              <table class="inside_collection_classification">
106                <tr>
107                  <td width="105px" style="text-align: center;"><a href="{$site_name}/collection/resources/page/about"><img class="link" src="sites/{$site_name}/collect/resources/images/collectionlogo.jpg" alt="Ng&#257; Rauemi / Hauraki Resources" title="Ng&#257; Rauemi / Hauraki Resources"/></a></td>
108                  <td style="padding-left: 5px;">
109                <div class="maorititle"><a href="{$site_name}/collection/resources/page/about">Ng&#257; Rauemi</a></div>
110                <br />
111                <div class="englishtitle"><a href="{$site_name}/collection/resources/page/about">Hauraki Resources</a></div>
112                <br />
113                <div class="description">This collection contains a number of Board publications and resources.</div>
114                  </td>
115                </tr>
116              </table>
117            </div>
118              </td>
119            </tr>
120
121          </table>
122
123        </div><!-- Library_classification-->
124          </td>
125        </tr>
126      </table>
127     
128    </xsl:template>
129
130    <xsl:template match="/page/xsltparams">
131      <!-- suppress xsltparam block in page -->
132    </xsl:template>
133
134</xsl:stylesheet>
135
136
Note: See TracBrowser for help on using the browser.