source: main/trunk/greenstone3/web/interfaces/default/transform/home.xsl@ 23779

Last change on this file since 23779 was 23779, checked in by davidb, 13 years ago

Two new interfaces - 'default' now tries to use the client's XSLT capabilities of the web browser, falling back to the 'traditional' interface if this fails.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:java="http://xml.apache.org/xslt/java"
6 xmlns:gslib="http://www.greenstone.org/skinning"
7 extension-element-prefixes="java"
8 exclude-result-prefixes="java">
9
10
11 <xsl:template match="page/pageResponse">
12
13 <!-- the page layout template is here -->
14 <html>
15
16 <head>
17 <title>
18 <xsl:text> </xsl:text>
19 </title>
20 <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/>
21 </head>
22
23 <body>
24
25 <div id="page-wrapper">
26 <gslib:displayErrorsIfAny/>
27
28
29 <div id="banner">
30 <p>
31 <img src="interfaces/default/images/gsdlhead.gif" class="getTextFor null this.alt.gsdl" />
32 </p>
33 </div>
34
35 <div id="content" class="moz-output-escape">
36
37 <div class="divbar"><gslib:selectACollectionTextBar/></div>
38
39 <div class="QuickSearch">
40 <gslib:crossCollectionQuickSearchForm/>
41 </div>
42
43
44 <ul id="collectionlist">
45 <xsl:for-each select="collectionList/collection">
46 <li>
47 <gslib:collectionLinkWithImage/>
48 </li>
49 </xsl:for-each>
50 </ul>
51
52 <gslib:serviceClusterList/>
53
54 <div class="divbar"><gslib:noTextBar/></div>
55
56 <ul id="servicelist">
57 <xsl:for-each select="serviceList/service[@type='query']">
58 <li><gslib:serviceLink/></li>
59 </xsl:for-each>
60
61 <xsl:for-each select="serviceList/service[@type='authen']">
62 <li><gslib:authenticationLink/></li>
63 </xsl:for-each>
64 </ul>
65
66 </div>
67
68
69 <div id="footer">
70 <div class="divbar">
71 <span class="getTextFor gs3power">&amp;nbsp;</span>
72 </div>
73 </div>
74
75 </div>
76
77 <span class="getTextFor null document.title.gsdl">&amp;nbsp;</span>
78
79 <span id="language" style="display: none;"><xsl:value-of select="/page/@lang" /></span>
80 <span id="interface" style="display: none;"><xsl:value-of select="$interface_name" /></span>
81
82 <script type="text/javascript">var placeholder = false;</script>
83 <script type="text/javascript" src="jquery.js">
84 <xsl:comment>Filler for browser</xsl:comment>
85 </script>
86 <script type="text/javascript" src="test.js">
87 <xsl:comment>Filler for browser</xsl:comment>
88 </script>
89
90 </body>
91 </html>
92
93
94 </xsl:template>
95</xsl:stylesheet>
96
97
Note: See TracBrowser for help on using the repository browser.