Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /insurrection/src/, /insurrection/src/innerframe/, /insurrection/src/rewrite-test/

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/, /insurrection/src/innerframe/, /insurrection/src/rewrite-test/

Author mksoft
Full name Michae Sinz
Date 2005-06-12 11:05:49 PDT
Message User: mksoft
Date: 2005/06/12 11:05:49

Added:
   insurrection/src/tabs.js
   insurrection/src/inn​erframe/top-left-lig​ht.gif
   insurrection/src/inn​erframe/top-left-tab​.gif
   insurrection/src/inn​erframe/top-light-le​ft-tab.gif
   insurrection/src/inn​erframe/top-light-ri​ght-tab.gif
   insurrection/src/inn​erframe/top-light.gi​f
   insurrection/src/inn​erframe/top-right-li​ght.gif
   insurrection/src/inn​erframe/top-right-ta​b.gif

Modified:
   insurrection/src/admin.cgi
   insurrection/src/admin.pl
   insurrection/src/bandwidth.cgi
   insurrection/src/log.js
   insurrection/src/manage.cgi
   insurrection/src/inn​erframe/frame.css
   insurrection/src/rew​rite-test/index.html​

Log:
 IE does not listen to the white-space: nowrap style and I need to force the
 issue by using a non-breaking space in the "Repository Name" title.
 
 Limit the cookie setting for revision tagging to specific repositories.
 This way the user can have multiple repositories open and tag revisions
 in each one and remember the tags from page to page within each of the
 repositories.
 
 I cleaned up some of the way tables and frames are managed such
 that I can produce some visuals that I wanted to do.
 
 I added a client-side tabbed-page feature that works rather well. This
 comes from some of my bag-o-tricks. I have noticed some rendering problems
 in Opera (what are those white lines?) but all other browsers do render it
 correctly. I also noticed a layout quirk in Safari, but it is only a quirk
 and may only be noticeable to me :-)
 
 The tabbed page display now let me make a nicer main index page. This is
 just the first cut at that, but it does work. Since the index.template
 is a customization point, I will not worry too much about it.
 
 Lots of CSS changes to the innerframe/frame.css file to add in the tabbed
 features. I am sure this could have been done in a nicer manner but this
 works in all browsers (too bad IE has so many CSS limitations - that is
 where most of the problems are...)
 
 The bandwidth display code for admins now does even more regex tricks on
 the page in order to take advantage of the tabbed-page tricks. I think
 it looked so much better.
 
 Ok, when I talk about "better looking" that is within the context of my
 artistic abilities with GIMP. That is to say, it may not actually look
 better to others. But I have tried my best to not make it look worse. :-)
 

File Changes:

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

File [changed]: admin.cgi
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/admin.cgi?r1=1.26​&r2=1.27
Delta lines: +4 -4
-------------------
--- admin.cgi 9 Jun 2005 19:26:54 -0000 1.26
+++ admin.cgi 12 Jun 2005 18:05:46 -0000 1.27
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: admin.cgi,v 1.26 2005/06/09 19:26:54 mksoft Exp $
+# $Id: admin.cgi,v 1.27 2005/06/12 18:05:46 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This script handles the various administrative
@@ -263,7 +263,7 @@
 
 print '</center>';
 
-&svn_TRAILER('$Id: admin.cgi,v 1.26 2005/06/09 19:26:54 mksoft Exp $');
+&svn_TRAILER('$Id: admin.cgi,v 1.27 2005/06/12 18:05:46 mksoft Exp $');
 
 sub printAdminForms()
 {
@@ -371,7 +371,7 @@
                             ,$access,'style="padding-left: 1em; text-align: left;"');
    }
 
- print &doTableFrameRow('<input type="reset"/>','​align="left"',
+ print &doTableFrameLas​tRows('<input type="reset"/>','​align="left"',
                           '<input type="submit" name="update" value="Save Changes"/>','alig​n="right"');
 
    print &endTableFrame()

File [changed]: admin.pl
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/admin.pl?r1=1.39​&r2=1.40
Delta lines: +108 -78
----------------------
--- admin.pl 9 Jun 2005 19:26:54 -0000 1.39
+++ admin.pl 12 Jun 2005 18:05:46 -0000 1.40
@@ -1,5 +1,5 @@
 #
-# $Id: admin.pl,v 1.39 2005/06/09 19:26:54 mksoft Exp $
+# $Id: admin.pl,v 1.40 2005/06/12 18:05:46 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This is some common code that all of the Perl code
@@ -327,11 +327,10 @@
    ## Flag that we are not 4.01...
    $oldHTML = 1;
 
- ## We have &svn_HEADER_int as the function that does all
- ## of the work... This just is here to give an old doctype
+ ## We have &svn_HEADER as the function that does all
+ ## of the work... This just is here to give a non-valid HTML tag...
    &svn_HEADER($title,
- $expires,
- '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR​/html4/loose.dtd">');
+ $expires);
 }
 
 ####################​####################​####################​##################
@@ -344,7 +343,7 @@
    my $version = shift;
 
    ## Use the version of this file if there was no version passed.
- $version = '$Id: admin.pl,v 1.39 2005/06/09 19:26:54 mksoft Exp $' if (!defined $version);
+ $version = '$Id: admin.pl,v 1.40 2005/06/12 18:05:46 mksoft Exp $' if (!defined $version);
 
    print '</div>'
        , '<div class="footer">';
@@ -927,11 +926,21 @@
    $extra = '' if (!defined $extra);
 
    return('<table class="innerframe" cellspacing="0" cellpadding="0"' . $extra . '>'
+ . '<thead>'
          . '<tr>'
          . '<td class="innerframe-to​p-left">' . $blank . '</td>'
          . '<td class="innerframe-top">' . $title . '</td>'
          . '<td class="innerframe-to​p-right"></td​>'
          . '</tr>'
+ . '</thead>'
+ . '<tfoot>'
+ . '<tr>'
+ . '<td class="innerframe-bo​ttom-left"></t​d>'
+ . '<td class="innerframe-bo​ttom"></td>​'
+ . '<td class="innerframe-bo​ttom-right">' . $blank . '</td>'
+ . '</tr>'
+ . '</tfoot>'
+ . '<tbody>'
          . '<tr>'
          . '<td class="innerframe-le​ft"></td>'
          . '<td class="innerframe">');
@@ -947,11 +956,7 @@
    return( '</td>'
          . '<td class="innerframe-ri​ght"></td>'​
          . '</tr>'
- . '<tr>'
- . '<td class="innerframe-bo​ttom-left"></t​d>'
- . '<td class="innerframe-bo​ttom"></td>​'
- . '<td class="innerframe-bo​ttom-right">' . $blank . '</td>'
- . '</tr>'
+ . '</tbody>'
          .'</table>');
 }
 
@@ -969,11 +974,21 @@
    $extra = '' if (!defined $extra);
 
    return('<table class="boldframe" cellspacing="0" cellpadding="0"' . $extra . '>'
+ . '<thead>'
          . '<tr>'
          . '<td class="boldframe-top-left">' . $blank . '</td>'
          . '<td class="boldframe-top">' . $title . '</td>'
          . '<td class="boldframe-top​-right"></td​>'
          . '</tr>'
+ . '</thead>'
+ . '<tfoot>'
+ . '<tr>'
+ . '<td class="boldframe-bot​tom-left"></td​>'
+ . '<td class="boldframe-bot​tom"></td>'​
+ . '<td class="boldframe-bot​tom-right">' . $blank . '</td>'
+ . '</tr>'
+ . '</tfoot>'
+ . '<tbody>'
          . '<tr>'
          . '<td class="boldframe-lef​t"></td>'
          . '<td class="boldframe">');
@@ -989,16 +1004,11 @@
    return( '</td>'
          . '<td class="boldframe-rig​ht"></td>'
          . '</tr>'
- . '<tr>'
- . '<td class="boldframe-bot​tom-left"></td​>'
- . '<td class="boldframe-bot​tom"></td>'​
- . '<td class="boldframe-bot​tom-right">' . $blank . '</td>'
- . '</tr>'
+ . '</tbody>'
          .'</table>');
 }
 
-## Keep track of our table frame sizes...
-my @tableFrameSizes;
+## Keep track of our table frame row number for alternating backgrounds...
 my $tableFrameRow;
 
 ####################​####################​####################​##################
@@ -1015,24 +1025,28 @@
    my @titles = @_;
    @titles = ('&nbsp;',undef) if (@titles < 1);
 
- push(@tableFrameSize​s,scalar(@titles) / 2);
-
    my $result = '<table class="tableframe" cellspacing="0" cellpadding="0"' . $extra . '>'
- . '<tr><td class="tableframe-to​p-left">' . $blank . '</td>';
+ . '<thead><tr><td class="tableframe-to​p-left">' . $blank . '</td>';
 
    for (my $i=0; $i < @titles; $i += 2)
    {
       $result .= '<td class="tableframe-top"';
       $result .= ' ' . $titles[$i+1] if (defined $titles[$i+1]);
       $result .= '>' . $titles[$i] . '</td>';
+ $result .= '<td class="tableframe-top-div">' . $blank . '</td>' if (($i + 2) < @titles);
+ }
+
+ $result .= '<td class="tableframe-to​p-right"></td​></tr></t​head>'
+ . '<tfoot><tr><td class="tableframe-bo​ttom-left"></t​d>';
 
- if (($i + 2) < @titles)
+ for (my $i=0; $i < @titles; $i += 2)
       {
- $result .= '<td class="tableframe-top-div">' . $blank . '</td>';
- }
+ $result .= '<td class="tableframe-bo​ttom"></td>​';
+ $result .= '<td class="tableframe-bo​ttom-div"></td​>' if (($i + 2) < @titles);
    }
 
- $result .= '<td class="tableframe-to​p-right"></td​></tr>';
+ $result .= '<td class="tableframe-bo​ttom-right">' . $blank . '</td></tr​></tfoot>'
+ . '<tbody>';
 
    ## Set the row number to 0...
    $tableFrameRow = 0;
@@ -1046,8 +1060,16 @@
 # This also makes the rows alternate in colour (subtle grey variation)
 # The needed <tr> constructs have been done for you...
 #
-sub startTableFrameRow()
+# If the "plain" flag is "true" then the row will be plain (no odd/even)
+#
+sub startTableFrameRow($plain)
 {
+ if (shift)
+ {
+ return('<tr class="tableframe-ro​w-last"><td class="tableframe-le​ft"></td>')​;
+ }
+ else
+ {
    if ($tableFrameRow)
    {
       $tableFrameRow = 0;
@@ -1058,6 +1080,7 @@
       $tableFrameRow = 1;
       return('<tr class="tableframe-ro​w-even"><td class="tableframe-le​ft"></td>')​;
    }
+ }
 }
 
 ####################​####################​####################​##################
@@ -1072,12 +1095,12 @@
 
 ####################​####################​####################​##################
 #
-# This does the hard work of putting together a row of data for the table.
-# Note that it automatically adds the cell tags and that column dividers.
+# This does the actual work of making a table frame row based on the type of
+# row and the data for the row.
 #
-sub doTableFrameRow($ce​ll,$cellExtra,$cel​l,$cellExtra,...)
+sub doTableFrameRow1($p​lain,$cell,$cellEx​tra,$cell,$cellExt​ra,...)
 {
- my $result = &startTableFrameRow();
+ my $result = &startTableFrameRow(shift);
 
    my @cells = @_;
 
@@ -1100,25 +1123,33 @@
 
 ####################​####################​####################​##################
 #
-# End an inner frame - this must be called for each startTableframe call.
-# Frames can be nested.
+# This does the hard work of putting together a row of data for the table.
+# Note that it automatically adds the cell tags and that column dividers.
 #
-sub endTableFrame()
+sub doTableFrameRow($ce​ll,$cellExtra,$cel​l,$cellExtra,...)
 {
- my $result = '<tr><td class="tableframe-bo​ttom-left"></t​d>';
-
- my $cols = pop(@tableFrameSizes);
-
- while ($cols > 0)
- {
- $result .= '<td class="tableframe-bo​ttom"></td>​';
- $result .= '<td class="tableframe-bo​ttom-div"></td​>' if ($cols > 1);
- $cols--;
- }
+ return &doTableFrameRow1(0,@_);
+}
 
- $result .= '<td class="tableframe-bo​ttom-right">' . $blank . '</td></tr​></table>';
+###################​####################​####################​###################
+#
+# This makes a table frame row that is "plain" which we use for the end of
+# a sortable table for rows that we don't want sorted. (Such as rows with
+# buttons, etc)
+#
+sub doTableFrameLastRows​($cell,$cellExtra,​$cell,$cellExtra,.​..)
+{
+ return &doTableFrameRow1(1,@_);
+}
 
- return $result;
+###################​####################​####################​###################
+#
+# End an inner table frame - this must be called for each startTableframe.
+# Frames can be nested.
+#
+sub endTableFrame()
+{
+ return('</tbody​></table>');
 }
 
 ## This is used to flag the need for the login or password button
@@ -1183,10 +1214,6 @@
    $result .= &makeRepositoryTable(1);
    $result .= &makeRepositoryTable(0) if (defined $AuthUser);
 
- ## Combine the possible multiple tables into one table such that
- ## all of the columns line up
- $result =~ s:</table><​table[^>]*>::s​go;
-
    return $result;
 }
 
@@ -1222,8 +1249,11 @@
             ## Add the table elements for the result...
             if ($result eq '')
             {
+ ## Note that the width style is just to make the column as
+ ## narrow as possible to fit the data. We depend on the
+ ## fact that columns will automatically expand due to content.
                $result = &startTableFrame​('width="100%"'
- ,'Repository&nbs​p;','width="1%"'
+ ,'Repository&nbs​p;Name','style="widt​h: 1px; padding-right: 4px; text-align:left; white-space: nowrap;"'
                                          ,$loginButton . '(' . $accessTypes[$type] . ')',undef);
                $loginButton = '';
             }

File [changed]: bandwidth.cgi
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/bandwidth.cgi?r1=1​.5&r2=1.6
Delta lines: +63 -10
---------------------
--- bandwidth.cgi 9 Jun 2005 07:40:43 -0000 1.5
+++ bandwidth.cgi 12 Jun 2005 18:05:46 -0000 1.6
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: bandwidth.cgi,v 1.5 2005/06/09 07:40:43 mksoft Exp $
+# $Id: bandwidth.cgi,v 1.6 2005/06/12 18:05:46 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This script displays the bandwidth used for
@@ -59,8 +59,8 @@
       close(RAW);
 
       ## Rip out just we don't want
- $html =~ s|.*<BODY[^>]*>||sgo;
- $html =~ s|</BODY[^>]*>.*||sgo;
+ $html =~ s|^.*<BODY[^>]*>||sgo;
+ $html =~ s|</BODY[^>]*​>.*$||sgo;
       $html =~ s|<P>.<HR​>.<TABLE.*||sgo;​
 
       ## Make all of the references to URLs relative to the server...
@@ -71,21 +71,74 @@
       $html =~ s:(HREF=|SRC=)"(?!#)​(\./)?([^/"]+)":$1​"$3?Insurrection=ba​ndwidth":sgo;
 
       ## Some headers need changing...
- $html =~ s|<H2>(.*?)​</H2>|<div style="text-align: center; font-weight: bold; font-size: 20pt;">$1</div>|so;
- $html =~ s|<SMALL><S​TRONG>(.*?)</S​TRONG></SMALL​>|<div style="text-align: right; font-size: 10pt;">$1</div>|so;
+ $html =~ s|\s*<H2>\s*​(.*?)\s*</H2>​\s*|<div style="text-align: center; font-weight: bold; font-size: 20pt;">$1</div>|so;
+ $html =~ s|\s*<SMALL>​<STRONG>\s*(.*​?)\s*</STRONG​></SMALL>\s*|​<div style="margin-bottom: 2px; text-align: right; font-size: 10pt;">$1</div>|so;
 
       ## Oh, all of those bad blank rows with not enough columns - just throw them out
- $html =~ s:<TR><TH HEIGHT=\d+></​TH></TR>::s​go;
+ $html =~ s|\s*<TR>\s*<TH HEIGHT=\d+>\s*​</TH>\s*</T​R>\s*||sgo;
 
       ## Last bit of fixup...
- $html =~ s|<CENTER>.​<HR>(.*)</CENT​ER>|<div style="background: #EEEEEE; border: 1px black solid; margin-top: 2px; padding: 2px;"><CENTER​>$1</CENTER​></div>|so;
+ ## If this page has the stuff at the top for different sections,
+ ## lets use that and my nice tabs.js to get the whole thing into
+ ## a tab-like display. All client side tricks, which is nice too.
+ if ($html =~ m|<SMALL>\s*<A HREF="#.*?</SMALL>|so)
+ {
+ ## Trim away junk...
+ $html =~ s|\s*<CENTER>​\s*<HR>(?:\s​*<P>)?\s*(.*?​)\s*</CENTER>​\s*$|$1|so;
+
+ ## Build our tab-based page...
+ my @tabs = ($html =~ m|<A HREF="#([^"]+)">​[(.*?)\]</A>​|sgo);
+
+ my $insertText = '<script type="text/javascript" language="JavaScript" src="/tabs.js">​</script>'
+ . '<script type="text/javascript" language="JavaScript​"><!--' . "\n"
+ . 'startTabSet("bw",["Monthly"';
+
+ for (my $i=1; $i < @tabs; $i+=2)
+ {
+ ## Get rid of the "statistics" bit
+ $tabs[$i] =~ s/\s.*//;
+
+ $insertText .= ',"' . $tabs[$i] . '"';
+ }
+ $insertText .= ']);'
+ . 'startTabSetPage("bw",0);'
+ . '//--></script​><center>​<br/>';
+
+ $html =~ s|<SMALL>\s*<A HREF="#.*?</SMALL​>\s*<P>|$​insertText|s;
+
+ $insertText = '';
+ for (my $i=0; $i < @tabs; $i+=2)
+ {
+ my $findText = '<A NAME="' . $tabs[$i] . '"></A>';
+
+ $insertText .= '<br/><script type="text/javascript" language="JavaScript​"><!--' . "\n"
+ . 'startTabSetPage("bw");'
+ . '//--></script​><center>​<br/>';
+
+ ## If we find that section, clear out the insertText...
+ ## We need to keep track of non-used pages as they need to
+ ## be used in same order as the array used during init.
+ $insertText = '' if ($html =~ s/<P>\s*$fin​dText/$insertText/s​);
+ }
+
+ $html .= $insertText
+ . '<script type="text/javascript" language="JavaScript​"><!--' . "\n"
+ . 'endTabSet("bw");'
+ . '//--></script>';
+ }
+ else
+ {
+ $html =~ s|\s*<CENTER>​\s*<HR>(?:\s​*<P>)?\s*(.*?​)\s*(?:<P>\s​*)?</CENTER>\​s*$|<div style="background: #EEEEEE; border: 1px black solid; margin-top: 2px; padding: 0.5em;">$1</div>|so;
+ $html =~ s|</CENTER>​<PRE>|<PRE>​|sgo;
+ }
 
       &svn_HEADER_oldHTML('Raw Details: ' . $repo);
+
       print "\n<!-- Begin: HTML generated via legacy software -->\n";
       print $html;
- print "\n<!-- End: HTML generated via legacy software -->\n";
+ print "\n<!-- End: HTML generated via legacy software -->\n\n";
 
- &svn_TRAILER('$Id: bandwidth.cgi,v 1.5 2005/06/09 07:40:43 mksoft Exp $');
+ &svn_TRAILER('$Id: bandwidth.cgi,v 1.6 2005/06/12 18:05:46 mksoft Exp $');
       exit 0;
    }
    else
@@ -102,5 +155,5 @@
    exit 0;
 }
 
-&svn_TRAILER('$Id: bandwidth.cgi,v 1.5 2005/06/09 07:40:43 mksoft Exp $');
+&svn_TRAILER('$Id: bandwidth.cgi,v 1.6 2005/06/12 18:05:46 mksoft Exp $');
 

File [changed]: log.js
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/log.js?r1=1.12​&r2=1.13
Delta lines: +8 -5
-------------------
--- log.js 19 May 2005 21:53:15 -0000 1.12
+++ log.js 12 Jun 2005 18:05:46 -0000 1.13
@@ -1,5 +1,5 @@
 /*
- * $Id: log.js,v 1.12 2005/05/19 21:53:15 mksoft Exp $
+ * $Id: log.js,v 1.13 2005/06/12 18:05:46 mksoft Exp $
  * Copyright 2004,2005 - Michael Sinz
  *
  * Some JavaScript support routines for the svn log pages
@@ -214,8 +214,11 @@
 {
     diffPath = path;
     diffRev = rev;
- SetTempCookie('diffPath',path);
- SetTempCookie('diffRev',rev);
+
+ // Limit the revision cookie to this repository
+ cookiePath = Insurrection.SVN_URL + path.substring(0,pat​h.indexOf('/'));
+ SetTempCookie('diffP​ath',path,cookiePath​);
+ SetTempCookie('diffR​ev',rev,cookiePath);​
     setSelectMessage();
 }
 
@@ -554,9 +557,9 @@
  * Setting a cookie is just too easy... Too bad getting the
  * cookie is not as easy.
  */
-function SetTempCookie(name, value)
+function SetTempCookie(name, value, path)
 {
- document.cookie = name + '=' + escape(value) + '; path=/';
+ document.cookie = name + '=' + escape(value) + '; path=' + path;
 }
 
 /*

File [changed]: manage.cgi
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/manage.cgi?r1=1.4​&r2=1.5
Delta lines: +7 -7
-------------------
--- manage.cgi 9 Jun 2005 19:26:54 -0000 1.4
+++ manage.cgi 12 Jun 2005 18:05:46 -0000 1.5
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: manage.cgi,v 1.4 2005/06/09 19:26:54 mksoft Exp $
+# $Id: manage.cgi,v 1.5 2005/06/12 18:05:46 mksoft Exp $
 # Copyright 2004,2005 - Michael Sinz
 #
 # This script handles the management of the web/svn access
@@ -244,7 +244,7 @@
                          );
 }
 
-print &doTableFrameRow('<input type="reset"/>','​align="left"'
+print &doTableFrameLas​tRows('<input type="reset"/>','​align="left"'
                       ,'&nbsp;',undef
                       ,'&nbsp;',undef
                       ,'<input type="submit" name="update" value="Save Changes"/>','align="right"'
@@ -257,7 +257,7 @@
 
 print '</center>';
 
-&svn_TRAILER('$Id: manage.cgi,v 1.4 2005/06/09 19:26:54 mksoft Exp $');
+&svn_TRAILER('$Id: manage.cgi,v 1.5 2005/06/12 18:05:46 mksoft Exp $');
 
 ####################​####################​####################​##################
 #

File [added]: tabs.js
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/tabs.js?rev=1.1​&content-type=text/​vnd.viewcvs-markup
Added lines: 0
--------------

Directory: /insurrection/src/innerframe/
====================​====================​

File [changed]: frame.css
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/frame.c​ss?r1=1.4&r2=1.5​
Delta lines: +82 -16
---------------------
--- frame.css 5 Jun 2005 12:15:07 -0000 1.4
+++ frame.css 12 Jun 2005 18:05:47 -0000 1.5
@@ -1,9 +1,9 @@
 /*
- * $Id: frame.css,v 1.4 2005/06/05 12:15:07 mksoft Exp $
+ * $Id: frame.css,v 1.5 2005/06/12 18:05:47 mksoft Exp $
  * Copyright 2004,2005 - Michael Sinz
  */
 
-.innerframe
+.innerframe, .innerframe td, .innerframe img
 {
   margin: 0px;
   padding: 0px;
@@ -13,11 +13,9 @@
 td.innerframe
 {
   text-align: left;
- padding-top: 2px;
- padding-bottom: 2px;
 }
 
-.innerframe-top
+.innerframe-top, .innerframe-top-light
 {
   text-align: center;
   vertical-align: middle;
@@ -27,7 +25,30 @@
   color: black;
 }
 
-.innerframe-top-left, .innerframe-top, .innerframe-top-right, .innerframe-top-left img
+.innerframe-top-light-space
+{
+ width: 99%;
+}
+
+a.innerframe-tab, a.innerframe-tab:visited
+{
+ color: #999999;
+ text-decoration: none;
+}
+
+a.innerframe-tab:hover, a.innerframe-tab:active
+{
+ color: #006600;
+ text-decoration: underline;
+}
+
+.innerframe-top-left, .innerframe-top, .innerframe-top-right, .innerframe-top-left img,
+.innerframe-top-left-tab, .innerframe-top-left-tab img,
+.innerframe-top-right-tab, .innerframe-top-right-tab img,
+.innerframe-top-left-light, .innerframe-top-left-light img,
+.innerframe-top-right-light, .innerframe-top-light, .innerframe-top-light-space,
+.innerframe-top-lig​ht-left-tab, .innerframe-top-light-left-tab img,
+.innerframe-top-lig​ht-right-tab, .innerframe-top-light-right-tab img
 {
   height: 24px;
   min-height: 24px;
@@ -41,26 +62,29 @@
   max-height: 16px;
 }
 
-.innerframe-top-left, .innerframe-left, .innerframe-bottom-left, .innerframe-top-left img
-{
- width: 17px;
- min-width: 17px;
- max-width: 17px;
-}
-
-.innerframe-top-right, .innerframe-right, .innerframe-bottom-right, .innerframe-bottom-right img
+.innerframe-top-left, .innerframe-left, .innerframe-bottom-left, .innerframe-top-left img,
+.innerframe-top-left-tab, .innerframe-top-left-tab img,
+.innerframe-top-left-light, .innerframe-top-left-light img,
+.innerframe-top-lig​ht-left-tab, .innerframe-top-light-left-tab img,
+.innerframe-top-lig​ht-right-tab, .innerframe-top-light-right-tab img,
+.innerframe-top-right, .innerframe-right, .innerframe-bottom-right, .innerframe-bottom-right img,
+.innerframe-top-right-tab, .innerframe-top-right-tab img,
+.innerframe-top-right-light
 {
   width: 17px;
   min-width: 17px;
   max-width: 17px;
 }
 
-.innerframe-top-left, .innerframe-top-right, .innerframe-bottom-left, .innerframe-bottom-right
+.innerframe-top-left, .innerframe-top-right, .innerframe-bottom-left, .innerframe-bottom-right,
+.innerframe-top-left-tab, .innerframe-top-right-tab,
+.innerframe-top-lig​ht-left-tab, .innerframe-top-light-right-tab
 {
   background-repeat: no-repeat;
 }
 
-.innerframe-top, .innerframe-bottom
+.innerframe-top, .innerframe-bottom,
+.innerframe-top-light, .innerframe-top-light-space
 {
   background-repeat: repeat-x;
 }
@@ -116,5 +140,47 @@
 {
   background-image: url('./bottom-right.gif');
   background-position: top left;
+}
+
+.innerframe-top-left-light
+{
+ background-image: url('./top-left-light.gif');
+ background-position: bottom right;
+}
+
+.innerframe-top-light, .innerframe-top-light-space
+{
+ background-image: url('./top-light.gif');
+ background-position: bottom left;
+}
+
+.innerframe-top-right-light
+{
+ background-image: url('./top-right-light.gif');
+ background-position: bottom left;
+}
+
+.innerframe-top-light-left-tab
+{
+ background-image: url('./top-light-lef​t-tab.gif');
+ background-position: bottom right;
+}
+
+.innerframe-top-lig​ht-right-tab
+{
+ background-image: url('./top-light-rig​ht-tab.gif');
+ background-position: bottom left;
+}
+
+.innerframe-top-left-tab
+{
+ background-image: url('./top-left-tab.gif');
+ background-position: bottom right;
+}
+
+.innerframe-top-right-tab
+{
+ background-image: url('./top-right-tab.gif');
+ background-position: bottom left;
 }
 

File [added]: top-left-light.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-lef​t-light.gif?rev=1.1​&content-type=tex​t/vnd.viewcvs-markup​
File [added]: top-left-tab.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-lef​t-tab.gif?rev=1.1​&content-type=text/​vnd.viewcvs-markup
File [added]: top-light-left-tab.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-lig​ht-left-tab.gif?rev=​1.1&content-type​=text/vnd.viewcvs-ma​rkup
File [added]: top-light-right-tab.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-lig​ht-right-tab.gif?rev​=1.1&content-typ​e=text/vnd.viewcvs-m​arkup
File [added]: top-light.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-lig​ht.gif?rev=1.1&c​ontent-type=text/vnd​.viewcvs-markup
File [added]: top-right-light.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-rig​ht-light.gif?rev=1.1​&content-type=te​xt/vnd.viewcvs-marku​p
File [added]: top-right-tab.gif
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/innerframe/top-rig​ht-tab.gif?rev=1.1​&content-type=text​/vnd.viewcvs-markup
Directory: /insurrection/src/rewrite-test/
====================​====================​==

File [changed]: index.html
Url: http://insurrection.​tigris.org/source/br​owse/insurrection/sr​c/rewrite-test/index​.html?r1=1.4&r2=​1.5
Delta lines: +2 -2
-------------------
--- index.html 31 May 2005 05:24:00 -0000 1.4
+++ index.html 12 Jun 2005 18:05:47 -0000 1.5
@@ -17,7 +17,7 @@
 <h3>Apache 2.0.54 mod_rewrite problems</h3>
 <p>
   All of this was tested with the latest Apache, version 2.0.54, compiled on various Linux platforms.&nbsp;
- I have files bug report <a href="http://issues.apache​.org/bugzilla/show_b​ug.cgi?id=34602" target="_top">#34​602</a>
+ I have filed bug report <a href="http://issues.apache​.org/bugzilla/show_b​ug.cgi?id=34602" target="_top">#34​602</a>
   with the Apache project.
 </p>
 <p>
@@ -47,4 +47,4 @@
   <a href="http://svn.code-host​.net/svn/Insurrectio​n/trunk/rewrite-test​/">http://svn.code-host​.net/svn/Insurrectio​n/rewrite-test/</​a>.
 </p>
 </div>
-<div class="footer">$Id: index.html,v 1.4 2005/05/31 05:24:00 mksoft Exp $</div></td><td id="right"><img src="/blank.gif" alt=""></td​></tr><tr​><td id="bottom-left"><img src="/blank.gif" alt=""></td><td id="bottom"><img src="/blank.gif" alt=""></td><td id="bottom-right"><img src="/blank.gif" alt=""></td​></tr></tbo​dy></table>​</body></ht​ml>
+<div class="footer">$Id: index.html,v 1.5 2005/06/12 18:05:47 mksoft Exp $</div></td><td id="right"><img src="/blank.gif" alt=""></td​></tr><tr​><td id="bottom-left"><img src="/blank.gif" alt=""></td><td id="bottom"><img src="/blank.gif" alt=""></td><td id="bottom-right"><img src="/blank.gif" alt=""></td​></tr></tbo​dy></table>​</body></ht​ml>

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

Messages

Show all messages in topic

CVS update: /insurrection/src/, /insurrection/src/innerframe/, /insurrection/src/rewrite-test/ mksoft Michae Sinz 2005-06-12 11:05:49 PDT
Messages per page: