check file name
[sgn.git] / mason / solgs / tools / datatable_display.mas
blobb039dd11041c01c2b70fedc8b137829d08f2ebfe
1 <%doc>
3 =head1 NAME
5 /solgs/tools/datatable_display.mas -  displays datasets or lists of trials or plots or accessions with phenotype data or genotype data
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
15 <%args>
16 $analysis_type => $analysis_type
17 $wizard_link_txt => undef
18 $breeder_search_params =>''
19 </%args>
20 <%perl>
21 my $label = $analysis_type =~ s/_/ /gr;
22 my $analysis_abbr = $analysis_type =~ /correlation/ ? 'corr' : $analysis_type;
23 $wizard_link_txt = 'Create a new list or dataset' if !$wizard_link_txt;
24 </%perl>
26 <& /util/import_javascript.mas, classes => [ "solGS.Dataset", "CXGN.List"] &>
28 <div id="lists_datasets_canvas">
30     <div id="lists_datasets_message" class="message" style="display:none;">Retrieving lists and datasets...please wait...it may take minutes.
31     </div>
32     <div id="lists_datasets_progress">
33     <& /solgs/spinner/spinner.mas &>
34     </div>
36 <!-- The container for the list of populations selected for analysis -->
37 <div class="sub_infosectioncontent" id="<% $analysis_abbr %>_pops_data_div" style="display:none; margin-top:25px"></div>
38 <br>
41 <div id="add_new_pops" class="pull-right margin-bottom-lg" style="display:none;">
42     <a type="button" class="btn btn-success" href="/solgs/breeder_search/<% $breeder_search_params %>" style="color:#ffffff"><%
43     $wizard_link_txt %></a>
44 </div>
46 </div>