3 $trials_by_breeding_project => ()
9 <& /util/import_javascript.mas, classes => [ 'jquery', 'jqueryui', 'jquery.iframe-post-form','CXGN.List','CXGN.BreedersToolbox.AddTrial','CXGN.BreedersToolbox.UploadTrial','CXGN.BreedersToolbox.Trial'] &>
12 /* IE has layout issues when sorting (see #5413) */
14 .trial_list_table {border-spacing:7px;}
17 <div id="trials_accordion">
19 foreach my $p (sort keys %$trials_by_breeding_project){
20 print '<div class="group">';
21 print '<h3 class="ui-accordion-header">'.$p.'</h3>'."\n";
24 print '<table class="trial_list_table">';
25 #print "<tr><td colspan=\"3\"><h4>$p</h4></td></tr>\n";
26 foreach my $t (@{$trials_by_breeding_project->{$p}}) {
27 print "<tr><td colspan=\"3\"><a href=\"/breeders_toolbox/trial/$t->[0]\">$t->[1]</td><td>$t->[2]</td></tr>\n";
37 <& /breeders_toolbox/trial/trial_create_dialogs.mas, locations => \@locations, breeding_programs => $breeding_programs &>
38 <& /breeders_toolbox/trial/trial_upload_dialogs.mas, locations => \@locations, breeding_programs => $breeding_programs &>