source: main/trunk/greenstone3/web/interfaces/basic/transform/about.xsl@ 38056

Last change on this file since 38056 was 38056, checked in by kjdon, 8 months ago

made this interface work again with current greenstone. didn't do any prettying, just wanted to make it functional

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