diff options
Diffstat (limited to 'buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt')
-rw-r--r-- | buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt b/buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt new file mode 100644 index 00000000..16759432 --- /dev/null +++ b/buildscripts/jGrouseDoc/skins/noframes/xslt/nfcommon.xslt @@ -0,0 +1,98 @@ +<!--
+ jGrouseDoc template file. Renders search pane
+ @Copyright (c) 2007 by Denis Riabtchik. All rights reserved. See license.txt and http://jgrouse.com for details@
+ $Id: nfcommon.xslt 276 2007-12-09 00:50:40Z denis.riabtchik $
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:template name="navigationPane">
+ <xsl:param name="elementType"/>
+ <div class="navigation" id="navigation">
+ <xsl:element name="ul">
+ <xsl:if test="$elementType = 'logical'">
+ <xsl:attribute name="class">navContent</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$elementType != 'logical'">
+ <xsl:attribute name="class">navContent closed</xsl:attribute>
+ </xsl:if>
+ <li>
+ <div class="navTree">
+ <h2 onclick="jgdoc.NavPanel.clicked(event)">
+ <a href="javascript:jgdoc.NavPanel.dummy()">Navigation</a></h2>
+ <ul class="navContent2">
+ <li>
+ <div>
+ <a class="openAll" href="javascript:jgdoc.NavTree.onOpenAll()">Open All</a>
+ <a class="closeAll" href="javascript:jgdoc.NavTree.onCloseAll()">Close All</a>
+ </div>
+
+ <div>
+ <ul id = "content" class="contents">
+ Loading...
+ </ul>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </xsl:element>
+ <xsl:element name="ul">
+ <xsl:if test="$elementType = 'file'">
+ <xsl:attribute name="class">navContent</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$elementType != 'file'">
+ <xsl:attribute name="class">navContent closed</xsl:attribute>
+ </xsl:if>
+ <li>
+ <div class="fileTree">
+ <h2 onclick="jgdoc.NavPanel.clicked(event)">
+ <a href="javascript:jgdoc.NavPanel.dummy()">Files</a></h2>
+ <ul class="navContent2">
+ <li>
+ <xsl:for-each select="/jgdoc/items/file[@isModuleFile='false']">
+ <xsl:sort select="@id"/>
+ <div>
+ <xsl:element name="a">
+ <xsl:attribute name="href">physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:value-of select="comment/name"/>
+ </xsl:element>
+ </div>
+ </xsl:for-each>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </xsl:element>
+ <xsl:element name="ul">
+ <xsl:if test="$elementType = 'module'">
+ <xsl:attribute name="class">navContent</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="$elementType != 'module'">
+ <xsl:attribute name="class">navContent closed</xsl:attribute>
+ </xsl:if>
+ <li>
+ <div class="moduleTree">
+ <h2 onclick="jgdoc.NavPanel.clicked(event)">
+ <a href="javascript:jgdoc.NavPanel.dummy()">Modules</a></h2>
+ <ul class="navContent2">
+ <li>
+ <xsl:for-each select="/jgdoc/items/module">
+ <xsl:sort select="@id"/>
+ <div>
+ <xsl:element name="a">
+ <xsl:attribute name="href">physical/<xsl:value-of select="@path"/>.html</xsl:attribute>
+ <xsl:value-of select="comment/name"/>
+ </xsl:element>
+ </div>
+ </xsl:for-each>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </xsl:element>
+ </div>
+ </xsl:template>
+
+</xsl:stylesheet>
|