From 4a6d70dd3122b15dd2446e7fc7ac2782f70f067f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 2 Sep 2009 23:49:16 +0100 Subject: [PATCH] Reverse colours of all stripey tables to have dark (different) first --- yarrg/web/lookup | 4 ++-- yarrg/web/routetrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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> }; -- 2.30.2