From: Ian Jackson Date: Wed, 2 Sep 2009 22:49:16 +0000 (+0100) Subject: Reverse colours of all stripey tables to have dark (different) first X-Git-Tag: 3.4~18 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=4a6d70dd3122b15dd2446e7fc7ac2782f70f067f Reverse colours of all stripey tables to have dark (different) first --- diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 3fd854f..39da2e9 100755 --- a/yarrg/web/lookup +++ b/yarrg/web/lookup @@ -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; } <&| script &> function register_onload(f) { diff --git a/yarrg/web/routetrade b/yarrg/web/routetrade index 7f7d27f..5db4c58 100644 --- a/yarrg/web/routetrade +++ b/yarrg/web/routetrade @@ -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) = @_; @@ -699,7 +699,7 @@ $addcols->({ Total => 0, DoReverse => 1 }, qw( % $total_total += $sign * $total; % } % $total= undef; -% $dline= 1; +% $dline= 0; <%perl> };