graphical filtering of accession search
[sgn.git] / mason / breeders_toolbox / genotyping_trials / trials.mas
blob7603d385ca9a8eb76f8a66523b3e4cb20c6149f4
2 <%args>
3 $trials_by_breeding_project => ()
4 @locations => ()
5 @roles => ()
6 @breeding_programs
7 </%args>
9 % print STDERR "Rendering trials page...\n";
11 <& /util/import_javascript.mas, classes => [ 'jquery', 'jqueryui', 'jquery.iframe-post-form','CXGN.List','CXGN.BreedersToolbox.AddTrial','CXGN.BreedersToolbox.UploadTrial','CXGN.BreedersToolbox.GenotypingTrial', 'CXGN.List', 'CXGN.BreedersToolbox.HTMLSelect' ] &>
13  <style>
14   /* IE has layout issues when sorting (see #5413) */
15   .group { zoom: 1 }
16   .genotyping_trial_list_table  {border-spacing:7px;}
17   </style>
20 <div id="new_submission_process_explanation">
21 <b>Instructions:</b><br />Please note the changes to the submission process for the Cornell genotyping facility (all database users). 
22 <ol><li>Go to <a href=" https://slims.biotech.cornell.edu">slims.biotech.cornell.edu</a> to get a tab delimited spreadsheet file containing information on the genotyping trial name and where to insert the blank.</li>
23 <li>Use the "Create IGD Genotyping Trial" link on this page to upload the file, together with a list of accessions.</li>
24 <li>Use the link on the trial detail page to create the file to proceed with the submission.</li>
25 </ol>
26 </div>
28 <div id="genotyping_trials_accordion">
29   <%perl>
30   foreach my $p (sort keys %$trials_by_breeding_project){
31     print '<div class="group">';
32     print '<h3 class="ui-accordion-header">'.$p.'</h3>'."\n";
33     print '<div>';
34     print '<p>';
35     print '<table class="genotyping_trial_list_table">';
36     #print "<tr><td colspan=\"3\"><h4>$p</h4></td></tr>\n";
37     foreach my $t (@{$trials_by_breeding_project->{$p}}) {
38       print "<tr><td colspan=\"3\"><a href=\"/breeders_toolbox/trial/$t->[0]\">$t->[1]</td><td>$t->[2]</td></tr>\n";
39     }
40     print '</table>';
41     print '</p>';
42     print '</div>';
43     print '</div>';
44   }
45   </%perl>
47 </div>
49 <& /breeders_toolbox/genotyping_trials/create_genotyping_trial_dialogs.mas &>