Changeset 38972
- Timestamp:
- 2024-05-02T13:09:40+12:00 (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/style-e/transform/layouts/header.xsl
r38915 r38972 9 9 exclude-result-prefixes="java util gsf"> 10 10 11 <xsl:template name="additionalHeaderContent ">11 <xsl:template name="additionalHeaderContent-collection"> 12 12 <xsl:variable name="httpCollection"> 13 13 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/> 14 14 </xsl:variable> 15 <!--16 <link href="{$httpCollection}/style/custom-style.css" rel="stylesheet" type="text/css"/>17 -->18 15 <link rel="stylesheet" href="{$httpCollection}/style/gs3-style-default-extra.css" type="text/css" 19 16 title="GS3 Style" id="custom-style" charset="UTF-8"/> 20 17 <script src="{$httpCollection}/script/custom-script.js" type="text/javascript"><xsl:text> </xsl:text></script> 21 18 </xsl:template> 19 22 20 <xsl:template name="create-banner"> 23 21 <div class="choose_style"> 24 Choose a style:25 <a href="#" onclick="replaceStyle('gs3-style-default-extra');return false;"> Default Greenstone</a>,26 <a href="#" onclick="replaceStyle('gs3-style-blue');return false;"> Blue</a>,27 <a href="#" onclick="replaceStyle('gs3-style-olive-purple');return false;"> OlivePurple</a>,28 <a href="#" onclick="replaceStyle('');return false;"> None</a>22 <gsf:collectionText name="choose-style" propertyFile="collectionConfig"/> 23 <a href="#" onclick="replaceStyle('gs3-style-default-extra');return false;"><gsf:collectionText name="style.default" propertyFile="collectionConfig"/></a>, 24 <a href="#" onclick="replaceStyle('gs3-style-blue');return false;"><gsf:collectionText name="style.blue" propertyFile="collectionConfig"/></a>, 25 <a href="#" onclick="replaceStyle('gs3-style-olive-purple');return false;"><gsf:collectionText name="style.olive" propertyFile="collectionConfig"/></a>, 26 <a href="#" onclick="replaceStyle('');return false;"><gsf:collectionText name="style.none" propertyFile="collectionConfig"/></a> 29 27 </div> 30 28
Note:
See TracChangeset
for help on using the changeset viewer.