Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /insurrection/src/

Project highlights: A modern, light-weight, self-contained, web-based toolset for Subversion repository browsing and administration.  A live system can be seen in action here.

insurrection
Discussion topic

Back to topic list

CVS update: /insurrection/src/

Author mksoft
Full name Michae Sinz
Date 2005-10-05 15:12:27 PDT
Message User: mksoft
Date: 2005/10/05 15:12:27

Modified:
   insurrection/src/ins​urrection.xsl
   insurrection/src/styles.css
   insurrection/src/svnindex.js

Log:
 Forced a fixed column size on the revision column since I could
 not find another way to produce the desired result.
 

File Changes:

Directory: /insurrection/src/
=============================

File [changed]: insurrection.xsl
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/insurrection.xsl?r​1=1.29&r2=1.30
Delta lines: +11 -13
---------------------
--- insurrection.xsl 4 Oct 2005 19:00:44 -0000 1.29
+++ insurrection.xsl 5 Oct 2005 22:12:24 -0000 1.30
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: insurrection.xsl,v 1.29 2005/10/04 19:00:44 mksoft Exp $ -->
+<!-- $Id: insurrection.xsl,v 1.30 2005/10/05 22:12:24 mksoft Exp $ -->
 <!-- Copyright 2004,2005 - Michael Sinz -->
 <!-- This is my magic Insurrection XSLT transform to HTML -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/19​99/XSL/Transform" xmlns:atom="http://purl.org/atom/ns#" version="1.0">
@@ -140,7 +140,7 @@
               <td id="content">
                 <xsl:call-template name="banner"/>
                 <xsl:apply-templates select="index"/>
- <div class="footer" title="$Id: insurrection.xsl,v 1.29 2005/10/04 19:00:44 mksoft Exp $">
+ <div class="footer" title="$Id: insurrection.xsl,v 1.30 2005/10/05 22:12:24 mksoft Exp $">
                   <a title="Valid XML 1.0!" href="http://validator.w3.​org/check?uri=refere​r">
                     <img style="margin-left: 1em;" align="right" border="0" src="/valid-xml10.png" alt="Valid XML 1.0!"/>
                   </a>
@@ -435,17 +435,16 @@
           <div class="dir">
             <!-- If we have extended info, put it here -->
             <xsl:if test="string-length(@revision) != 0">
- <span class="revinfo">
+ <span class="revinfo-date">
                 <xsl:value-of select="@date"/>
               </span>
- <span class="revinfo">
+ <span class="revinfo-rev">
                 <xsl:text>r​</xsl:text>
                 <xsl:value-of select="@revision"/>
               </span>
- <span class="revinfo">
+ <span class="revinfo-author">
                 <xsl:value-of select="@author"/>
               </span>
- <xsl:value-of select="@rev"/>
             </xsl:if>
             <xsl:element name="img">
               <xsl:attribute name="alt">Folder​</xsl:attribute​>
@@ -534,17 +533,16 @@
           <div class="file">
             <!-- If we have extended info, put it here -->
             <xsl:if test="string-length(@revision) != 0">
- <span class="revinfo">
+ <span class="revinfo-date">
                 <xsl:value-of select="@date"/>
               </span>
- <span class="revinfo">
+ <span class="revinfo-rev">
                 <xsl:text>r​</xsl:text>
                 <xsl:value-of select="@revision"/>
               </span>
- <span class="revinfo">
+ <span class="revinfo-author">
                 <xsl:value-of select="@author"/>
               </span>
- <xsl:value-of select="@rev"/>
             </xsl:if>
             <xsl:element name="img">
               <xsl:attribute name="alt">File​</xsl:attribute>​
@@ -666,7 +664,7 @@
                 <!-- If we have a morelog tag, we need to provide a way to get it -->
                 <xsl:apply-templates select="morelog"/>
 
- <div class="footer" title="$Id: insurrection.xsl,v 1.29 2005/10/04 19:00:44 mksoft Exp $">
+ <div class="footer" title="$Id: insurrection.xsl,v 1.30 2005/10/05 22:12:24 mksoft Exp $">
                   <a title="Valid XML 1.0!" href="http://validator.w3.​org/check?uri=refere​r">
                     <img style="margin-left: 1em;" align="right" border="0" src="/valid-xml10.png" alt="Valid XML 1.0!"/>
                   </a>
@@ -1041,7 +1039,7 @@
                   </xsl:element>
                 </div>
                 <xsl:apply-templates select="item"/>
- <div class="footer" title="$Id: insurrection.xsl,v 1.29 2005/10/04 19:00:44 mksoft Exp $">
+ <div class="footer" title="$Id: insurrection.xsl,v 1.30 2005/10/05 22:12:24 mksoft Exp $">
                   <!-- Do we really want to say RSS is valid XML since it has no DTD?
                   <a title="Valid XML 1.0!" href="http://validator.w3.​org/check?uri=refere​r">
                     <img style="margin-left: 1em;" align="right" border="0" src="/valid-xml10.png" alt="Valid XML 1.0!"/>
@@ -1160,7 +1158,7 @@
                   </xsl:element>
                 </div>
                 <xsl:apply-templates select="atom:entry"/>
- <div class="footer" title="$Id: insurrection.xsl,v 1.29 2005/10/04 19:00:44 mksoft Exp $">
+ <div class="footer" title="$Id: insurrection.xsl,v 1.30 2005/10/05 22:12:24 mksoft Exp $">
                   <!-- Do we really want to say Atom is valid XML since it has no DTD?
                   <a title="Valid XML 1.0!" href="http://validator.w3.​org/check?uri=refere​r">
                     <img style="margin-left: 1em;" align="right" border="0" src="/valid-xml10.png" alt="Valid XML 1.0!"/>

File [changed]: styles.css
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/styles.css?r1=1.47​&r2=1.48
Delta lines: +27 -2
--------------------
--- styles.css 4 Oct 2005 19:00:44 -0000 1.47
+++ styles.css 5 Oct 2005 22:12:24 -0000 1.48
@@ -1,5 +1,5 @@
 /*
- * $Id: styles.css,v 1.47 2005/10/04 19:00:44 mksoft Exp $
+ * $Id: styles.css,v 1.48 2005/10/05 22:12:24 mksoft Exp $
  * Copyright 2004,2005 - Michael Sinz
  */
 
@@ -167,15 +167,40 @@
   white-space: nowrap;
 }
 
-.revinfo
+.revinfo-date, .revinfo-author, .revinfo-rev
 {
   float: right;
   color: rgb(35%,35%,35%);
   font-size: 80%;
   font-weight: normal;
+ font-style: normal;
   text-decoration: none;
+ text-align: left;
   margin-left: 0.4em;
   margin-right: 0.4em;
+}
+
+.revinfo-date
+{
+ color: rgb(45%,45%,45%);
+}
+
+.revinfo-author
+{
+ font-style: italic;
+ color: rgb(45%,45%,45%);
+ overflow: hidden;
+}
+
+/*
+ * This is a nasty trick to keep the rev column lined up
+ * Note that we assume the date will be lined up due to
+ * the constant spacing of numbers.
+ */
+.revinfo-rev
+{
+ width: 5em;
+ text-align: right;
 }
 
 .svnentryicon

File [changed]: svnindex.js
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/svnindex.js?r1=1.2​1&r2=1.22
Delta lines: +4 -4
-------------------
--- svnindex.js 4 Oct 2005 19:00:44 -0000 1.21
+++ svnindex.js 5 Oct 2005 22:12:24 -0000 1.22
@@ -1,5 +1,5 @@
 /*
- * $Id: svnindex.js,v 1.21 2005/10/04 19:00:44 mksoft Exp $
+ * $Id: svnindex.js,v 1.22 2005/10/05 22:12:24 mksoft Exp $
  * Copyright 2004,2005 - Michael Sinz
  *
  * Some JavaScript support routines for the svn index pages
@@ -336,17 +336,17 @@
     if (action.rev)
     {
         var span = document.createElement('span');
- span.className = 'revinfo';
+ span.className = 'revinfo-date';
         span.appendChild(doc​ument.createTextNode​(action.date));
         a.appendChild(span);
 
         span = document.createElement('span');
- span.className = 'revinfo';
+ span.className = 'revinfo-rev';
         span.appendChild(doc​ument.createTextNode​('r' + action.rev));
         a.appendChild(span);
 
         span = document.createElement('span');
- span.className = 'revinfo';
+ span.className = 'revinfo-author';
         span.appendChild(doc​ument.createTextNode​(action.author));
         a.appendChild(span);
     }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /insurrection/src/ mksoft Michae Sinz 2005-10-05 15:12:27 PDT
Messages per page: