source: other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/basic/transform/about.xsl@ 26899

Last change on this file since 26899 was 26899, checked in by davidb, 11 years ago

Tipple reborn after Chris's Summer of Code 2013

  • Property svn:mime-type set to application/xml
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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">
9
10
11 <xsl:template match="page">
12
13 <!-- the page layout template is here -->
14 <html>
15 <head>
16 <title>
17 <gslib:aboutCollectionPageTitle/>
18 </title>
19 <link rel="stylesheet" href="interfaces/basic/style/core.css" type="text/css"/>
20 </head>
21
22 <body><gslib:textDirectionAttribute/>
23
24 <div id="page-wrapper">
25 <gslib:displayErrorsIfAny/>
26
27 <div id="banner">
28 <p>
29 <gslib:collectionHomeLinkWithLogoIfAvailable/>
30 </p>
31 <ul id="bannerlist">
32 <li><gslib:homeButtonTop/></li>
33 <li><gslib:helpButtonTop/></li>
34 <li><gslib:preferencesButtonTop/></li>
35 </ul>
36 </div>
37
38 <!--If some services are available for the current collection display the navigation bar-->
39 <xsl:choose>
40 <xsl:when test="$this-element/serviceList/service">
41 <div id="navbar">
42 <ul id="navbarlist">
43 <gslib:servicesNavigationBar/>
44 </ul>
45 </div>
46 </xsl:when>
47 <!--Otherwise simply display a blank divider bar-->
48 <xsl:otherwise>
49 <div class="divbar"><gslib:noTextBar/></div>
50 </xsl:otherwise>
51 </xsl:choose>
52
53 <div id="content">
54 <!--Display the description text of the current collection,
55 and if some services are available then create a list
56 of links for each service within a <ul id="servicelist"> element.-->
57 <gslib:collectionDescriptionTextAndServicesLinks/>
58 </div>
59
60 <div id="footer">
61 <div class="divbar"><gslib:poweredByGS3TextBar/></div>
62 </div>
63 </div>
64
65 <script type="text/javascript" src="jquery.js">
66 <xsl:comment>Filler for browser</xsl:comment>
67 </script>
68 <script type="text/javascript" src="test.js">
69 <xsl:comment>Filler for browser</xsl:comment>
70 </script>
71 </body>
72 </html>
73 </xsl:template>
74
75
76</xsl:stylesheet>
77
Note: See TracBrowser for help on using the repository browser.