5 /solgs/tools/select_menu.mas - analysis select menu of datasets or lists of trials or plots or accessions with phenotype data or genotype data
9 Isaak Y Tecle (iyt2@cornell.edu)
17 $wizard_link_txt => ''
18 $breeder_search_params =>''
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;
26 <& /util/import_css.mas, paths => ['/static/css/solgs/solgs.css'] &>
27 <& /util/import_javascript.mas, classes => [ "solGS.Dataset", "CXGN.List", "solGS.selectMenu"] &>
29 <div id="select_menu" style="padding-top: 20px;">
30 <div class="select_menu_block" id="<% $analysis_type %>_pops_label">
31 <label for="<% $analysis_abbr %>_pops_label">Select a population</label>
33 <div class="select_menu_block" id="<% $analysis_abbr %>_pops_select_div"></div>
34 <div class="select_menu_block go_btn" id="<% $analysis_abbr %>_pop_go_btn">
35 <input type="button" value="View" />
37 <div class="select_menu_block" >
38 <i class="glyphicon-plus"></i>
39 <a href="/solgs/breeder_search/<% $breeder_search_params %>" style="color:#ffffff"><%
40 $wizard_link_txt %></a>
45 <!-- The container for the list of populations selected for analysis -->
46 <div class="sub_infosectioncontent" id="<% $analysis_abbr %>_pops_selected" style="display:none"></div>