/[Frey]/trunk/lib/Frey/Run.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Run.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 988 by dpavlin, Wed Jan 7 19:41:48 2009 UTC revision 989 by dpavlin, Sat Jan 10 23:28:43 2009 UTC
# Line 122  sub html { Line 122  sub html {
122                                          $body .= '<tr><th>' . join('</th><th>', @{$data->{NAME}} ) . '</th></tr>';                                          $body .= '<tr><th>' . join('</th><th>', @{$data->{NAME}} ) . '</th></tr>';
123                                          $body .= '<tr><td>' . join('</td><td>', @$_ ) . '</td></tr>' foreach @{ $data->{rows} };                                          $body .= '<tr><td>' . join('</td><td>', @$_ ) . '</td></tr>' foreach @{ $data->{rows} };
124                                          $body .= '</table>';                                          $body .= '</table>';
125                                            
126                                            $self->add_css(qq|
127                                                    tr:nth-child(even) {
128                                                            background-color: #eee;
129                                                    }
130                                            |);
131    
132                                          delete( $data->{rows} ); # too much dumplication                                          delete( $data->{rows} ); # too much dumplication
133                                          $body .= Frey::View::Dumper->new( data => $data )->as_markup if $data;                                          $body .= Frey::View::Dumper->new( data => $data )->as_markup if $data;
134                                  }                                  }

Legend:
Removed from v.988  
changed lines
  Added in v.989

  ViewVC Help
Powered by ViewVC 1.1.26