8 <& /page/page_title.mas, title => 'SecreTary SignalP TargetP Result Search' &>
10 <h3 style="text-align: center">Searched for "<% $query |h%>".</h3>
12 <&| /page/info_section.mas, title => 'Results', subtitle => @$data." results — ".qq|<a href="$csv_download">[Download spreadsheet]</a>| &>
15 % foreach my $row ( @$data ) {
16 % $row->[0] = link_identifier( $row->[0] ) || $row->[0];
17 % $row->[1] =~ s/^\s*\|\s*//;
18 <&| /page/info_section.mas, title => 'Hit: '.$row->[0], is_subsection => 1 &>
19 <% $table->( $row, [ 0,2,3 ] ) %>
20 <% $table->( $row, [ 1 ] ) %>
21 <% $table->( $row, [ 4,5,6 ] ) %>
22 <% $table->( $row, [ 7,8,9 ] ) %>
23 <% $table->( $row, [ 10 ] ) %>
24 <% $table->( $row, [ 11,12 ] ) %>
28 <h3 style="text-align: center">No results found matching "<% $query |h %>".</h3>
34 use List::MoreUtils qw/ mesh /;
35 use CXGN::Page::FormattingHelpers qw/ info_table_html /;
36 use CXGN::Tools::Identifiers qw/ link_identifier /;
39 my ( $row, $order, %other ) = @_;
41 my @row = @{$row}[ @$order ];
42 my @h = @{$headings}[ @$order ];
44 return info_table_html( mesh( @h, @row ), __multicol => 5, __border => 0, %other );