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

Last change on this file since 29935 was 29935, checked in by davidb, 9 years ago

div added that includes CSS 'clear:both' so services listed start on a fresh line. Div includes an 'hr' as well. Think this looks good visually, but we could opt to remove this as long as we are careful about not introducing an empty/self-closing div that mucks up HTML rendering

File size: 1.5 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 <!-- use the 'main' layout -->
11 <xsl:include href="layouts/main.xsl"/>
12
13 <!-- set page title -->
14 <xsl:template name="pageTitle"><gslib:siteName/></xsl:template>
15
16 <!-- set page breadcrumbs -->
17 <xsl:template name="breadcrumbs"></xsl:template>
18
19 <!-- the page content -->
20 <xsl:template match="/page/pageResponse">
21
22 <div id="quickSearch">
23 <gslib:crossCollectionQuickSearchForm/>
24 </div>
25
26 <h2><gslib:selectACollectionTextBar/></h2>
27
28 <div id="collectionLinks">
29 <xsl:if test="count(collectionList/collection) = 0">
30 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
31 <br/>
32 </xsl:if>
33 <xsl:for-each select="collectionList/collection">
34 <gslib:collectionLinkWithImage/>
35 </xsl:for-each>
36 <br class="clear"/>
37 </div>
38
39 <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div>
40
41 <gslib:serviceClusterList/>
42
43 <xsl:for-each select="serviceList/service[@type='query']">
44 <gslib:serviceLink/><br/>
45 </xsl:for-each>
46
47 <xsl:for-each select="serviceList/service[@type='authen']">
48 <gslib:authenticationLink/><br/><br/>
49 <gslib:registerLink/><br/>
50 </xsl:for-each>
51
52 </xsl:template>
53
54</xsl:stylesheet>
55
56
Note: See TracBrowser for help on using the repository browser.