about summary refs log tree commit diff
path: root/src/log2xml/log2html.xsl
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-03-18T18·26+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-03-18T18·26+0000
commit84c617966b8a78b7385aff04f1ac9b3bb7391898 (patch)
treeacbbbef383444230b7e7672a307c72c762ce9739 /src/log2xml/log2html.xsl
parentc2fc2c13c981e28ff673221da47cc93a7ed9291f (diff)
* Collapsable trees.
Diffstat (limited to 'src/log2xml/log2html.xsl')
-rw-r--r--src/log2xml/log2html.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log2xml/log2html.xsl b/src/log2xml/log2html.xsl
index cb56a3cb4bf8..667eb5998135 100644
--- a/src/log2xml/log2html.xsl
+++ b/src/log2xml/log2html.xsl
@@ -7,6 +7,7 @@
   <xsl:template match="logfile">
     <html>
       <head>
+        <script type="text/javascript" src="treebits.js" />
         <link rel="stylesheet" href="logfile.css" type="text/css" />
         <title>Log File</title>
       </head>
@@ -23,6 +24,7 @@
   </xsl:template>
 
   <xsl:template match="nest">
+    <script type='text/javascript'>showTreeToggle("show","hide")</script>
     <xsl:apply-templates select='head'/>
     <ul class='nesting'>
       <xsl:for-each select='line|nest'>