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-05-05 00:07:30 PDT
Message User: mksoft
Date: 2005/05/05 00:07:30

Modified:
   insurrection/src/admin.pl
   insurrection/src/bot​tom-left.gif
   insurrection/src/bot​tom-right.gif
   insurrection/src/bottom.gif
   insurrection/src/ins​urrection.xsl
   insurrection/src/left.gif
   insurrection/src/right.gif
   insurrection/src/styles.css
   insurrection/src/top-left.gif
   insurrection/src/top-right.gif
   insurrection/src/top.gif

Log:
 Adjusted the outside table to use 1x1 image spacers in the table rather than
 the default 15x15 size of blank.gif
 
 Updated the images to a nicer border set. The set is also smaller so it
 should really improve the look of the system and reduce the visual overhead.
 

File Changes:

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

File [changed]: admin.pl
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/admin.pl?r1=1.13​&r2=1.14
Delta lines: +11 -11
---------------------
--- admin.pl 5 May 2005 05:39:23 -0000 1.13
+++ admin.pl 5 May 2005 07:07:27 -0000 1.14
@@ -1,5 +1,5 @@
 #
-# $Id: admin.pl,v 1.13 2005/05/05 05:39:23 mksoft Exp $
+# $Id: admin.pl,v 1.14 2005/05/05 07:07:27 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This is some common code that all of the Perl code
@@ -213,12 +213,12 @@
        , '<body>'
        , '<table id="pagetable" cellpadding="0" cellspacing="0">'
        , '<tr>'
- , '<td id="top-left"><img src="' , $blankIcon , '"/></td>'
- , '<td id="top"><img src="' , $blankIcon , '"/></td>'
- , '<td id="top-right"><img src="' , $blankIcon , '"/></td>'
+ , '<td id="top-left"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
+ , '<td id="top"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
+ , '<td id="top-right"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
        , '</tr>'
        , '<tr>'
- , '<td id="left"><img src="' , $blankIcon , '"/></td>'
+ , '<td id="left"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
        , '<td id="content">'
        , $banner
        , '<div class="svn">' , "\n";
@@ -232,19 +232,19 @@
    my $version = shift;
 
    ## Use the version of this file if there was no version passed.
- $version = '$Id: admin.pl,v 1.13 2005/05/05 05:39:23 mksoft Exp $' if (!defined $version);
+ $version = '$Id: admin.pl,v 1.14 2005/05/05 07:07:27 mksoft Exp $' if (!defined $version);
 
    print '</div><div class="footer">' , $version;
    print '&nbsp;&nbsp​;--&nbsp;&nb​sp;'
        , 'You are logged on as: <b>' , $AuthUser , '</b>' if (defined $AuthUser);
    print '</div>'
        , '</td>'
- , '<td id="right"><img src="' , $blankIcon , '"/></td>'
+ , '<td id="right"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
        , '</tr>'
        , '<tr>'
- , '<td id="bottom-left"><img src="' , $blankIcon , '"/></td>'
- , '<td id="bottom"><img src="' , $blankIcon , '"/></td>'
- , '<td id="bottom-right"><img src="' , $blankIcon , '"/></td>'
+ , '<td id="bottom-left"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
+ , '<td id="bottom"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
+ , '<td id="bottom-right"><img width="1" height="1" src="' , $blankIcon , '"/></td>'
        , '</tr>'
        , '</table>'
        , '</body>'
@@ -317,7 +317,7 @@
           , 'requested. You may have supplied the wrong '
           , 'credentials or selected the wrong URL</p>';
 
- &svn_TRAILER('$Id: admin.pl,v 1.13 2005/05/05 05:39:23 mksoft Exp $');
+ &svn_TRAILER('$Id: admin.pl,v 1.14 2005/05/05 07:07:27 mksoft Exp $');
    }
    exit 0;
 }

File [changed]: bottom-left.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/bottom-left.gif?re​v=1.2&content-ty​pe=text/vnd.viewcvs-​markup
File [changed]: bottom-right.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/bottom-right.gif?r​ev=1.2&content-t​ype=text/vnd.viewcvs​-markup
File [changed]: bottom.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/bottom.gif?rev=1.2​&content-type=te​xt/vnd.viewcvs-marku​p
File [changed]: insurrection.xsl
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/insurrection.xsl?r​1=1.8&r2=1.9
Delta lines: +62 -123
----------------------
--- insurrection.xsl 5 May 2005 05:10:35 -0000 1.8
+++ insurrection.xsl 5 May 2005 07:07:27 -0000 1.9
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: insurrection.xsl,v 1.8 2005/05/05 05:10:35 mksoft Exp $ -->
+<!-- $Id: insurrection.xsl,v 1.9 2005/05/05 07:07:27 mksoft Exp $ -->
 <!-- Copyright 2004,2005 - Michael Sinz -->
 <!-- This is my magic Subversion index XSLT transform to HTML -->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/19​99/XSL/Transform" version="1.0">
@@ -60,6 +60,57 @@
   <xsl:template name="rssicon-path"​>/rss.gif</xsl:​template>
 
   <!-- ********************​********************​********************​********************​********************​*************** -->
+ <xsl:template name="blank">
+ <xsl:element name="img">
+ <xsl:attribute name="width">1​</xsl:attribute>
+ <xsl:attribute name="height">1​</xsl:attribute>​
+ <xsl:attribute name="src">
+ <xsl:call-template name="blankicon-path"/>
+ </xsl:attribute>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template name="top-side">
+ <tr>
+ <td id="top-left">
+ <xsl:call-template name="blank"/>
+ </td>
+ <td id="top">
+ <xsl:call-template name="blank"/>
+ </td>
+ <td id="top-right">
+ <xsl:call-template name="blank"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template name="left-side">
+ <td id="left">
+ <xsl:call-template name="blank"/>
+ </td>
+ </xsl:template>
+
+ <xsl:template name="right-side">
+ <td id="right">
+ <xsl:call-template name="blank"/>
+ </td>
+ </xsl:template>
+
+ <xsl:template name="bottom-side">
+ <tr>
+ <td id="bottom-left">
+ <xsl:call-template name="blank"/>
+ </td>
+ <td id="bottom">
+ <xsl:call-template name="blank"/>
+ </td>
+ <td id="bottom-right">
+ <xsl:call-template name="blank"/>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <!-- ********************​********************​********************​********************​********************​*************** -->
   <!-- This is the template for the SVN index browsing -->
   <xsl:template match="svn">
     <html>
@@ -121,37 +172,9 @@
 
         <!-- Now for the real page... -->
         <table id="pagetable" cellpadding="0" cellspacing="0">
+ <xsl:call-template name="top-side"/>
           <tr>
- <td id="top-left">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="top">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="top-right">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td id="left">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
+ <xsl:call-template name="left-side"/>
             <td id="content">
               <xsl:call-template name="banner"/>
 
@@ -172,40 +195,12 @@
               <div class="footer">
                 <xsl:text>Powered by Subversion </xsl:text>
                 <xsl:value-of select="@version"/>
- <xsl:text> -- $Id: insurrection.xsl,v 1.8 2005/05/05 05:10:35 mksoft Exp $</xsl:text>
+ <xsl:text> -- $Id: insurrection.xsl,v 1.9 2005/05/05 07:07:27 mksoft Exp $</xsl:text>
               </div>
             </td>
- <td id="right">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td id="bottom-left">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="bottom">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="bottom-right">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
+ <xsl:call-template name="right-side"/>
           </tr>
+ <xsl:call-template name="bottom-side"/>
         </table>
       </body>
     </html>
@@ -505,37 +500,9 @@
       </head>
       <body>
         <table id="pagetable" cellpadding="0" cellspacing="0">
+ <xsl:call-template name="top-side"/>
           <tr>
- <td id="top-left">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="top">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="top-right">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td id="left">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
+ <xsl:call-template name="left-side"/>
             <td id="content">
               <xsl:call-template name="banner"/>
               <table class="revision" width="100%" cellspacing="0">
@@ -593,40 +560,12 @@
               <xsl:apply-templates select="morelog"/>
 
               <div class="footer">
- <xsl:text>$Id: insurrection.xsl,v 1.8 2005/05/05 05:10:35 mksoft Exp $</xsl:text>
+ <xsl:text>$Id: insurrection.xsl,v 1.9 2005/05/05 07:07:27 mksoft Exp $</xsl:text>
               </div>
             </td>
- <td id="right">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- </tr>
- <tr>
- <td id="bottom-left">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="bottom">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td id="bottom-right">
- <xsl:element name="img">
- <xsl:attribute name="src">
- <xsl:call-template name="blankicon-path"/>
- </xsl:attribute>
- </xsl:element>
- </td>
+ <xsl:call-template name="right-side"/>
           </tr>
+ <xsl:call-template name="bottom-side"/>
         </table>
       </body>
     </html>

File [changed]: left.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/left.gif?rev=1.2​&content-type=text​/vnd.viewcvs-markup
File [changed]: right.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/right.gif?rev=1.2​&content-type=tex​t/vnd.viewcvs-markup​
File [changed]: styles.css
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/styles.css?r1=1.25​&r2=1.26
Delta lines: +14 -14
---------------------
--- styles.css 5 May 2005 05:10:35 -0000 1.25
+++ styles.css 5 May 2005 07:07:27 -0000 1.26
@@ -1,9 +1,9 @@
-/* $Id: styles.css,v 1.25 2005/05/05 05:10:35 mksoft Exp $ */
+/* $Id: styles.css,v 1.26 2005/05/05 07:07:27 mksoft Exp $ */
 
 BODY
 {
     color: black;
- background: #d4d5d6;
+ background: #7e7e7e;
     font-family: helvetica, ariel, sansserif;
     font-size: 10pt;
     text-align: center;
@@ -32,53 +32,53 @@
 #top-left
 {
     background: white url('/top-left.gif');
- width: 18px;
- height: 18px;
+ width: 15px;
+ height: 15px;
 }
 
 #top
 {
     background: white url('/top.gif') repeat-x;
- height: 18px;
+ height: 15px;
 }
 
 #top-right
 {
     background: white url('/top-right.gif');
- height: 18px;
- width: 18px;
+ height: 15px;
+ width: 15px;
 }
 
 #left
 {
     background: white url('/left.gif') repeat-y;
- width: 18px;
+ width: 15px;
 }
 
 #right
 {
     background: white url('/right.gif') repeat-y;
- width: 18px;
+ width: 15px;
 }
 
 #bottom-left
 {
     background: white url('/bottom-left.gif');
- width: 18px;
- height: 18px;
+ width: 15px;
+ height: 15px;
 }
 
 #bottom
 {
     background: white url('/bottom.gif') repeat-x;
- height: 18px;
+ height: 15px;
 }
 
 #bottom-right
 {
     background: white url('/bottom-right.gif');
- height: 18px;
- width: 18px;
+ height: 15px;
+ width: 15px;
 }
 
 #content

File [changed]: top-left.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/top-left.gif?rev=1​.2&content-type=​text/vnd.viewcvs-mar​kup
File [changed]: top-right.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/top-right.gif?rev=​1.2&content-type​=text/vnd.viewcvs-ma​rkup
File [changed]: top.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/top.gif?rev=1.2​&content-type=text/​vnd.viewcvs-markup

« 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-05-05 00:07:30 PDT
Messages per page: