From 7c008f06c32e24417e15a926fd1cc5a5a1a7f888 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 11 Mar 2012 19:38:33 +0100 Subject: [PATCH] Unused functions. --- dashboard.pl | 45 --------------------------------------------- 1 file changed, 45 deletions(-) diff --git a/dashboard.pl b/dashboard.pl index d92bc50..4ea2d87 100755 --- a/dashboard.pl +++ b/dashboard.pl @@ -6,51 +6,6 @@ my ($list, @list, %list, $item, @item, %item, $result, %platforms, %components, my (%list_perf); -sub table2($$$) { - my ($perf, $list, $components) = @_; - my ($item, $class, %list, $result); - - %list = %$list; - print qq( - - -); - foreach my $p (sort keys %platforms) { - print " \n"; - } - print " \n"; - foreach my $c (sort keys %{$components}) { - print " \n \n"; - foreach my $p (sort keys %platforms) { - $item=$list{$c}{$p}; - if (defined $item) { - if ($perf) { - $class = 'cert'; - $result = $item->{result2}; - #$result =~ s/ //g; - } else { - $result = $item->{result}; - if ($item->{result} eq '0') { $class='OK'; } - else { $class='FAIL'; } - } - print " \n"; - } else { - print " \n" - } - } - print " \n"; - } - print "
$p
$c$item->{date}
{dir}/\">$result
\n"; -} - - -sub table($) { - my ($list) = @_; - - table2(0, $list, \%components); -} - - $list=`ls -1 | egrep '^(gridsite|lb|px|canl)'`; @list=split /\n/, $list; -- 1.8.2.3