You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/01/11 18:57:56 UTC

svn commit: r611246 - in /lenya/trunk/src/webapp/lenya: resources/css/default.css xslt/util/welcome.xsl

Author: andreas
Date: Fri Jan 11 09:57:48 2008
New Revision: 611246

URL: http://svn.apache.org/viewvc?rev=611246&view=rev
Log:
Show publication IDs and names as table on overview page.

Modified:
    lenya/trunk/src/webapp/lenya/resources/css/default.css
    lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl

Modified: lenya/trunk/src/webapp/lenya/resources/css/default.css
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/resources/css/default.css?rev=611246&r1=611245&r2=611246&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources/css/default.css (original)
+++ lenya/trunk/src/webapp/lenya/resources/css/default.css Fri Jan 11 09:57:48 2008
@@ -173,4 +173,11 @@
   color: black;
   text-decoration: none;
   font-size: 8pt;
+}
+
+.lenyaPubId {
+}
+
+.lenyaPubName {
+  color: #999999;
 }

Modified: lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl?rev=611246&r1=611245&r2=611246&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/util/welcome.xsl Fri Jan 11 09:57:48 2008
@@ -51,17 +51,26 @@
   </div>
   <!-- do not list publications with @show="false" 
      (can be used to hide template publications -->
-  <ul class="lenyaPubs">
+  <table class="lenya-table-list-noborder" style="margin: 0 1em">
+    <tr>
+      <th><i18n:text>ID</i18n:text></th>
+      <th><i18n:text>Name</i18n:text></th>
+    </tr>
     <xsl:for-each select="lenya:publication[not(@show) or @show != 'false']">
-      <li>
-        <a>
-          <xsl:attribute name="href"><xsl:value-of select="@dirname"/><xsl:text>/introduction.html</xsl:text></xsl:attribute>
-          <xsl:attribute name="title"><xsl:value-of select="lenya:description"/></xsl:attribute>
-          <xsl:value-of select="lenya:name"/>
-        </a>
-      </li>
+      <tr>
+        <td>
+          <a class="lenyaPubId">
+            <xsl:attribute name="href"><xsl:value-of select="@dirname"/><xsl:text>/introduction.html</xsl:text></xsl:attribute>
+            <xsl:attribute name="title"><xsl:value-of select="lenya:description"/></xsl:attribute>
+            <xsl:value-of select="@dirname"/>
+          </a>
+        </td>
+        <td>
+          <span class="lenyaPubName"><xsl:value-of select="lenya:name"/></span>
+        </td>
+      </tr>
     </xsl:for-each>
-  </ul>
+  </table>
   </div>
 </xsl:template>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org