5 /breeders_toolbox/cross/crossing_trial.mas - a mason component to display a crossing experiment detail page
18 $breeding_program_name
24 $planting_date => undef
25 $harvest_date => undef
26 $trial_description => undef
29 $locations_by_program_json
34 <& /util/import_javascript.mas, classes => [ 'jquery.iframe-post-form', 'CXGN.Trial', 'jstree/dist/jstree', 'CXGN.BreedersToolbox.HTMLSelect', 'moment_min', 'daterangepicker', 'CXGN.BreedersToolbox.Crosses'] &>
39 <& /page/page_title.mas, title=>"Details for ".$trial_name &>
41 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 0, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Crossing Experiment Details</h4>", info_section_subtitle => 'View and edit basic information about the experiment.', buttons_html => '<button class="btn btn-primary btn-sm" id="edit_crossingtrial_details" style="margin:3px">Edit Crossing Experiment Details</button>', icon_class => "glyphicon glyphicon-dashboard", info_section_id => "crossingtrial_details", trial_name => $trial_name, breeding_program_name => $breeding_program_name, breeding_program_id => $breeding_program_id, location_name => $location_name, country_name => $country_name, year => $year, planting_date => $planting_date, harvest_date => $harvest_date, trial_description => $trial_description, folder_name => $folder_name, folder_id => $folder_id, trial_owner => $trial_owner &>
42 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Target Numbers of Seeds/Progenies</h4>", info_section_subtitle => 'View target numbers of seeds/progenies and progress of crosses in this experiment.', buttons_html => '<button class="btn btn-sm btn-default" style="margin:3px" id ="target_numbers_usage_info">Usage Help <span class="glyphicon glyphicon-question-sign"></span></button><button class="btn btn-sm btn-primary" style="margin:3px" id="upload_target_numbers_link">Upload Target Numbers</button><button class="btn btn-sm btn-primary" style="margin:3px" id="record_target_numbers_using_lists">Using Lists to Record Target Numbers</button>', icon_class => "glyphicon glyphicon-record", info_section_id => "target_numbers_crossingtrial_section" &>
43 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Manage Intercross</h4>", info_section_subtitle => 'Download parents and wishlist files. Upload export file.', buttons_html => '<button class="btn btn-sm btn-default" style="margin:3px" id="download_intercross_parents">Download Parents File</button><button class="btn btn-sm btn-default" style="margin:3px" id="download_intercross_wishlist">Download Wishlist File</button><button class="btn btn-sm btn-primary" style="margin:3px" id="upload_intercross_file_link">Upload Intercross File</button>', icon_class => "glyphicon glyphicon-sort", info_section_id => "intercross_section" &>
44 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Crosses in this experiment</h4>", info_section_subtitle => 'View cross unique ids, cross combination, cross type, parents in this experiment.', buttons_html => '<button class="btn btn-sm btn-primary" style="margin:3px" id="crossing_experiment_barcode">Generate Barcode Labels</button>', icon_class => "glyphicon glyphicon-list-alt", info_section_id => "crosses_in_crossingtrial_section" &>
45 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Additional Parent Info</h4>", info_section_subtitle => 'View additional female and male parent info of crosses in this experiment.', buttons_html => '<button class="btn btn-sm btn-primary" style="margin:3px" id="upload_additional_info">Upload Additional Parent Info of Existing Crosses</button>', icon_class => "glyphicon glyphicon-pencil", info_section_id => "additional_info_crossingtrial_section" &>
46 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Field Crossing Data</h4>", info_section_subtitle => 'View crossing details (e.g., pollination date, number of flowers, number of seeds)', buttons_html => '<button class="btn btn-sm btn-primary" style="margin:3px" name="upload_cross_info">Upload Field Crossing Data of Existing Crosses</button>', icon_class => "glyphicon glyphicon-equalizer", info_section_id => "cross_properties_crossingtrial_section" &>
47 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, breeding_program_id => $breeding_program_id, breeding_program_name => $breeding_program_name, locations_by_program_json => $locations_by_program_json, info_section_title => "<h4 style='display:inline'>Seedlot Info</h4>", info_section_subtitle => 'View seedlots derived from this crossing experiment', buttons_html => '<button class="btn btn-sm btn-primary" style="margin:3px" id="upload_seedlots_from_crosses">Upload Seedlots Harvested From Crosses</button>', icon_class => "glyphicon glyphicon-retweet", info_section_id => "seedlots_from_crossingtrial_section" &>
48 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Progenies and Family Names</h4>", info_section_subtitle => 'View number of progenies and family names', icon_class => "glyphicon glyphicon-random", info_section_id => "progenies_in_crossingtrial_section" &>
49 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Trial Linkage</h4>", info_section_subtitle => 'View field trial(s) that are part of this crossing experiment', icon_class => "glyphicon glyphicon-link", info_section_id => "crossing_trial_from_field_trial_section" &>
50 <& /page/detail_page_2_col_section.mas, info_section_collapsed => 1, trial_id => $trial_id, info_section_title => "<h4 style='display:inline'>Delete Crossing Experiment or Crosses</h4>", info_section_subtitle => 'Delete crossing experiment or crosses in this experiment.', icon_class => "glyphicon glyphicon-trash", info_section_id => "crossing_experiment_deletion_section" &>
52 <& /breeders_toolbox/folder/folder_set.mas, project_type => 'crossing_experiment', breeding_program_id => $breeding_program_id, breeding_program_name =>$breeding_program_name, trial_id => $trial_id, trial_name =>$trial_name &>
53 <& /breeders_toolbox/folder/folder_new.mas, project_type => 'crossing_experiment',, breeding_program_id => $breeding_program_id, breeding_program_name =>$breeding_program_name &>
54 <& /breeders_toolbox/cross/edit_crossingtrial_details_dialog.mas, trial_name => $trial_name, breeding_program_id => $breeding_program_id, location_id => $location_id, year => $year, planting_date => $planting_date, harvest_date => $harvest_date, trial_description => $trial_description &>
55 <& /breeders_toolbox/cross/upload_update_crosses.mas &>
56 <& /breeders_toolbox/cross/upload_crossingtrial_seedlots_dialog.mas, breeding_program_id => $breeding_program_id, breeding_program_name => $breeding_program_name, locations_by_program_json => $locations_by_program_json&>
57 <& /breeders_toolbox/trial/generate_trial_barcode.mas, identifier => ''."$trial_id", trial_id=> "$trial_id", trial_name=> "$trial_name", trial_stock_type => '' &>
58 <& /breeders_toolbox/cross/upload_crosses_dialogs.mas, trial_id => $trial_id, trial_name => $trial_name &>
59 <& /breeders_toolbox/cross/intercross_file_upload.mas, trial_id => $trial_id, trial_name => $trial_name &>
60 <& /breeders_toolbox/cross/intercross_parents_download.mas, trial_id => $trial_id &>
61 <& /breeders_toolbox/cross/intercross_wishlist_download.mas, trial_id => $trial_id &>
62 <& /breeders_toolbox/cross/target_numbers_upload.mas, trial_id => $trial_id, trial_name => $trial_name &>
63 <& /breeders_toolbox/cross/target_numbers_using_lists.mas, trial_id => $trial_id, trial_name => $trial_name &>
64 <& /breeders_toolbox/cross/target_numbers_usage_info_dialog.mas &>
66 <div id="trialIDDiv" class="trialIDDivClass" style="display:none;">