Changeset 38915 for documented-examples
- Timestamp:
- 2024-04-09T13:03:15+12:00 (3 weeks ago)
- Location:
- documented-examples/trunk/style-e
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/style-e/etc/collectionConfig.xml
r36437 r38915 2 2 <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:gslib="http://www.greenstone.org/skinning" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3 3 <metadataList> 4 <metadata lang="en" name="creator">greenstone@ cs.waikato.ac.nz</metadata>4 <metadata lang="en" name="creator">greenstone@waikato.ac.nz</metadata> 5 5 <metadata lang="en" name="maintainer"/> 6 6 <metadata lang="en" name="public">true</metadata> … … 8 8 <displayItemList> 9 9 <displayItem dictionary="collectionConfig" key="name" name="name"/> 10 <displayItem lang="en" name="name">Cascading Style Sheets</displayItem> 10 <displayItem dictionary="collectionConfig" key="shortDescription" name="shortDescription"/> 11 <displayItem dictionary="collectionConfig" key="description1a" name="description1a"/> 11 12 <displayItem dictionary="collectionConfig" key="description1" name="description1"/> 12 13 <displayItem dictionary="collectionConfig" key="description2" name="description2"/> … … 18 19 </displayItemList> 19 20 <format> 20 <xsl:template name="additionalHeaderContent">21 <xsl:variable name="httpCollection">22 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>23 </xsl:variable>24 <!--25 <link href="{$httpCollection}/style/custom-style.css" rel="stylesheet" type="text/css"/>26 -->27 <link rel="stylesheet" href="{$httpCollection}/style/gs3-style-default-extra.css" type="text/css"28 title="GS3 Style" id="custom-style" charset="UTF-8"/>29 <script src="{$httpCollection}/script/custom-script.js" type="text/javascript">30 </script>31 </xsl:template>32 <xsl:template name="create-banner">33 <div class="choose_style">34 Choose a style:35 <a href="#" onclick="replaceStyle('gs3-style-default-extra');return false;">Default Greenstone</a>,36 <a href="#" onclick="replaceStyle('gs3-style-blue');return false;">Blue</a>,37 <a href="#" onclick="replaceStyle('gs3-style-olive-purple');return false;">OlivePurple</a>,38 <a href="#" onclick="replaceStyle('');return false;">None</a>39 </div>40 41 <div id="gs_banner" class="ui-widget-header ui-corner-bottom">42 <div id="titlesearchcontainer">43 <xsl:call-template name="page-title-area"/>44 <xsl:call-template name="quick-search-area"/>45 <div style="clear:both;"><xsl:text> </xsl:text></div>46 </div>47 <xsl:call-template name="browsing-tabs"/>48 </div>49 </xsl:template>50 21 51 22 </format>
Note:
See TracChangeset
for help on using the changeset viewer.