summaryrefslogtreecommitdiffhomepage
path: root/docs/busybox.net/svnindex.xsl
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-13 01:48:00 -0400
committerMike Frysinger <vapier@gentoo.org>2009-05-13 01:48:00 -0400
commit7a5814c74c875d1d4ce80c8d24b0573a8fd51ab5 (patch)
tree1808a9cf0dee2b5182fe68f37c2be9b0c171990f /docs/busybox.net/svnindex.xsl
parent318a8e5ed557ed04712edc2a59275c92ce7e85e6 (diff)
split website off into dedicated git repo
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'docs/busybox.net/svnindex.xsl')
-rw-r--r--docs/busybox.net/svnindex.xsl108
1 files changed, 0 insertions, 108 deletions
diff --git a/docs/busybox.net/svnindex.xsl b/docs/busybox.net/svnindex.xsl
deleted file mode 100644
index 2d3297c4c..000000000
--- a/docs/busybox.net/svnindex.xsl
+++ /dev/null
@@ -1,108 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- A sample XML transformation style sheet for displaying the Subversion
- directory listing that is generated by mod_dav_svn when the "SVNIndexXSLT"
- directive is used. -->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
- <xsl:output method="html"/>
-
- <xsl:template match="*"/>
-
- <xsl:template match="svn">
- <html>
- <head>
- <title>
- <xsl:if test="string-length(index/@name) != 0">
- <xsl:value-of select="index/@name"/>
- <xsl:text>: </xsl:text>
- </xsl:if>
- <xsl:value-of select="index/@path"/>
- </title>
- <link rel="stylesheet" type="text/css" href="/svnindex.css"/>
- </head>
- <body>
- <div class="header" style="font-family: lucida, helvetica; font-size: 248%">
- <xsl:text>BUSYBOX</xsl:text>
- </div>
- <div class="header">
- <a href="http://www.busybox.net"><img src="/images/busybox1.png" border="0" /></a>
- </div>
- <div class="svn">
- <xsl:apply-templates/>
- </div>
- <div class="footer">
- <xsl:text>Powered by </xsl:text>
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:value-of select="@href"/>
- </xsl:attribute>
- <xsl:text>Subversion</xsl:text>
- </xsl:element>
- <xsl:text> </xsl:text>
- <xsl:value-of select="@version"/>
- </div>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="index">
- <div class="rev">
- <xsl:value-of select="@name"/>
- <xsl:if test="@base">
- <xsl:if test="@name">
- <xsl:text>:&#xA0; </xsl:text>
- </xsl:if>
- <xsl:value-of select="@base" />
- </xsl:if>
- <xsl:if test="@rev">
- <xsl:if test="@base | @name">
- <xsl:text> &#x2014; </xsl:text>
- </xsl:if>
- <xsl:text>Revision </xsl:text>
- <xsl:value-of select="@rev"/>
- </xsl:if>
- </div>
- <div class="path">
- <xsl:value-of select="@path"/>
- </div>
- <xsl:apply-templates select="updir"/>
- <xsl:apply-templates select="dir"/>
- <xsl:apply-templates select="file"/>
- </xsl:template>
-
- <xsl:template match="updir">
- <div class="updir">
- <xsl:text>[</xsl:text>
- <xsl:element name="a">
- <xsl:attribute name="href">..</xsl:attribute>
- <xsl:text>Parent Directory</xsl:text>
- </xsl:element>
- <xsl:text>]</xsl:text>
- </div>
- </xsl:template>
-
- <xsl:template match="dir">
- <div class="dir">
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:value-of select="@href"/>
- </xsl:attribute>
- <xsl:value-of select="@name"/>
- <xsl:text>/</xsl:text>
- </xsl:element>
- </div>
- </xsl:template>
-
- <xsl:template match="file">
- <div class="file">
- <xsl:element name="a">
- <xsl:attribute name="href">
- <xsl:value-of select="@href"/>
- </xsl:attribute>
- <xsl:value-of select="@name"/>
- </xsl:element>
- </div>
- </xsl:template>
-
-</xsl:stylesheet>