Changeset 20021 for greenstone3


Ignore:
Timestamp:
2009-07-20T14:08:54+12:00 (15 years ago)
Author:
kjdon
Message:

indented page nicely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/default/transform/about.xsl

    r18595 r20021  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22<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">
     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">
    99
    10    
     10 
    1111  <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/default/style/core.css" type="text/css"/>
    20     </head>
    21      
    22     <body><gslib:textDirectionAttribute/>
     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/default/style/core.css" type="text/css"/>
     20      </head>
     21     
     22      <body><gslib:textDirectionAttribute/>
    2323
    2424    <div id="page-wrapper">
    25         <gslib:displayErrorsIfAny/>
     25      <gslib:displayErrorsIfAny/>
    2626
    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">
     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">
    4242        <ul id="navbarlist">
    43             <gslib:servicesNavigationBar/>
     43          <gslib:servicesNavigationBar/>
    4444        </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>
     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>
    5959
    60         <div id="footer">
    61             <div class="divbar"><gslib:poweredByGS3TextBar/></div>
    62         </div>
     60      <div id="footer">
     61        <div class="divbar"><gslib:poweredByGS3TextBar/></div>
     62      </div>
    6363    </div>
    64     </body>
    65   </html>
    66 </xsl:template>
     64      </body>
     65    </html>
     66  </xsl:template>
    6767
    6868
Note: See TracChangeset for help on using the changeset viewer.