chiark / gitweb /
Reverse colours of all stripey tables to have dark (different) first
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 2 Sep 2009 22:49:16 +0000 (23:49 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 2 Sep 2009 22:49:16 +0000 (23:49 +0100)
yarrg/web/lookup
yarrg/web/routetrade

index 3fd854f99d253d7c22d8f9431acc657b42caf8db..39da2e9699bc4a599e6360ca63f774d27df3cef3 100755 (executable)
@@ -124,8 +124,8 @@ body {
   color: #000000;
   background: #ffffff;
 }
-tr.datarow0 { background: #ffffff; }
-tr.datarow1 { background: #e3e3e3; }
+tr.datarow0 { background: #e3e3e3; }
+tr.datarow1 { background: #ffffff; }
 </style>
 <&| script &>
   function register_onload(f) {
index 7f7d27f45d26d51a25c20b42ff66003e60d6848a..5db4c5852ec7716e7fa65f6972cb03330eb62f51 100644 (file)
@@ -643,7 +643,7 @@ $addcols->({ Total => 0, DoReverse => 1 }, qw(
      }
 
      my $total;
-     my $dline= 1;
+     my $dline= 0;
      my $show_flows= sub {
        my ($od,$arbitrage,$collectdeliver) = @_;
 </%perl>
@@ -699,7 +699,7 @@ $addcols->({ Total => 0, DoReverse => 1 }, qw(
 %              $total_total += $sign * $total;
 %      }
 %      $total= undef;
-%      $dline= 1;
+%      $dline= 0;
 <%perl>
      };