8 use CXGN::Page::FormattingHelpers qw/ columnar_table_html /;
9 use SGN::View::Feature qw/feature_link/;
11 <& /page/page_title.mas, title => 'Feature Search' &>
12 <& /util/import_javascript.mas,
13 classes => [qw(jquery CXGN.Effects)]
16 <!-- This CSS should probably go somewhere better -->
18 #feature_search_form .select span span {
23 #feature_search_form div label, #feature_search_form legend {
26 #feature_search_form div.text label {
40 % my $pager = $results->pager;
42 <&| /page/info_section.mas, title => 'Search Results',
43 subtitle => 'results '
46 .' of '.Number::Format->new->format_number($pager->total_entries)
48 % if( $results->count ) {
49 <% columnar_table_html(
50 headings => ['Feature Name','Feature Type'],
51 data => [ map [feature_link($_),$_->type->name], $results->all ],
55 <h3 style="text-align: center">no matching results found</h3>
59 <& /page/pagination_control.mas, pager => $pager, link_maker => $pagination_link_maker &>
61 <&| /page/info_section.mas, title => 'Search' &>