You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by ba...@apache.org on 2005/02/14 06:35:21 UTC

svn commit: r153717 - in jakarta/site: docs/style/style.css xdocs/downloads/download-pages.xsl

Author: bayard
Date: Sun Feb 13 21:35:19 2005
New Revision: 153717

URL: http://svn.apache.org/viewcvs?view=rev&rev=153717
Log:
added in links and directory=true concepts

Modified:
    jakarta/site/docs/style/style.css
    jakarta/site/xdocs/downloads/download-pages.xsl

Modified: jakarta/site/docs/style/style.css
URL: http://svn.apache.org/viewcvs/jakarta/site/docs/style/style.css?view=diff&r1=153716&r2=153717
==============================================================================
--- jakarta/site/docs/style/style.css (original)
+++ jakarta/site/docs/style/style.css Sun Feb 13 21:35:19 2005
@@ -108,3 +108,10 @@
     font-size: 85%;
     margin-right: 10px;
 }
+
+.links {
+}
+
+.link {
+    margin-right: 10px;
+}

Modified: jakarta/site/xdocs/downloads/download-pages.xsl
URL: http://svn.apache.org/viewcvs/jakarta/site/xdocs/downloads/download-pages.xsl?view=diff&r1=153716&r2=153717
==============================================================================
--- jakarta/site/xdocs/downloads/download-pages.xsl (original)
+++ jakarta/site/xdocs/downloads/download-pages.xsl Sun Feb 13 21:35:19 2005
@@ -91,13 +91,15 @@
     <xsl:variable name="primary"><xsl:value-of select="@primary"/></xsl:variable>
     <xsl:variable name="mirrored"><xsl:value-of select="@mirrored"/></xsl:variable>
     <xsl:variable name="archive"><xsl:value-of select="@archive"/></xsl:variable>
-    <ul class="downloads">
+    <div class="links">
       <xsl:if test="@keys">
-        <p><span class="keys"><a href="{$primary}{$keys}">KEYS</a></span></p>
+        <span class="link"><a href="{$primary}{$keys}">KEYS</a></span>
       </xsl:if>
       <xsl:apply-templates select="link">
         <xsl:with-param name="primary" select="@primary"/>
       </xsl:apply-templates>
+    </div>
+    <ul class="downloads">
       <xsl:apply-templates select="group">
         <xsl:with-param name="primary" select="@primary"/>
       </xsl:apply-templates>
@@ -113,10 +115,12 @@
   <xsl:template match="group">
     <xsl:param name="primary"/>
     <li class="group">
-      <span class="label"><xsl:value-of select="@label"/></span>
-      <xsl:apply-templates select="link">
-        <xsl:with-param name="primary" select="$primary"/>
-      </xsl:apply-templates>
+      <div class="links">
+        <span class="label"><xsl:value-of select="@label"/></span>
+        <xsl:apply-templates select="link">
+          <xsl:with-param name="primary" select="$primary"/>
+        </xsl:apply-templates>
+      </div>
       <ul>
       <xsl:apply-templates select="group">
         <xsl:with-param name="primary" select="@primary"/>
@@ -131,7 +135,7 @@
   <xsl:template match="link">
     <xsl:param name="primary"/>
     <xsl:variable name="href"><xsl:value-of select="@href"/></xsl:variable>
-    <a href="{$href}"><xsl:value-of select="@name"/></a> 
+    <span class="link"><a href="{$href}"><xsl:value-of select="@name"/></a></span>
   </xsl:template>
 
   <xsl:template match="download">
@@ -145,7 +149,7 @@
       <xsl:if test="not(ancestor::downloads/@mirrored = 'true')">
           <a href="{$primary}{$href}"><xsl:value-of select="@name"/></a> 
       </xsl:if>
-      <xsl:if test="not(@md5 and @md5 = 'false') and not(@pgp and @pgp = 'false')">
+      <xsl:if test="not(@directory = 'true') and not(@md5 and @md5 = 'false') and not(@pgp and @pgp = 'false')">
           <ul class="attributes"><li>
           <xsl:if test="not(@md5 and @md5 = 'false')">
             <span class="md5">[<a href="{$primary}{$href}.md5">md5</a>]</span>



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: site-cvs-help@jakarta.apache.org