add addiitional refresh option for all views except genoview
[sgn.git] / mason / page / detail_page_2_col_section.mas
blob1971c36b79cfadfd12c25dd3e54c5a83fc9ed79a
1 <%args>
2 $trial_id => undef
3 $trial_name => undef
4 $stock_id => undef
5 $stock_uniquename => undef
6 $col1_width_class => "col-sm-1"
7 $col2_width_class => "col-sm-11"
8 $icon_class => "glyphicon glyphicon-th"
9 $info_section_collapsible => 1
10 $info_section_collapsed => 1
11 $info_section_id => "2col_id"
12 $info_section_title => "A title"
13 $info_section_subtitle => "A subtitle"
14 $buttons_html => undef
15 $locations_by_program_json => undef
17 #Specific to trial detail page
18 $has_plant_entries => undef
19 $has_subplot_entries => undef
20 $has_tissue_sample_entries => undef
21 $has_expression_atlas => undef
22 $expression_atlas_url => undef
23 $site_project_name => undef
24 $sgn_session_id => undef
25 $user_name => undef
26 $main_production_site_url => undef
27 $trial_phenotype_files => undef
28 $hidap_enabled => undef
29 $location_name => undef
30 $country_name => undef
31 $breeding_program_name => undef
32 $breeding_program_id => undef
33 $year => undef
34 $trial_type => undef
35 $design_name => undef
36 $planting_date => undef
37 $harvest_date => undef
38 $trial_description => undef
39 $folder_name => undef
40 $folder_id => undef
41 $plot_width => undef
42 $plot_length => undef
43 $field_size => undef
44 $field_trial_is_planned_to_be_genotyped => undef
45 $field_trial_is_planned_to_cross => undef
46 $identifier_prefix => undef
47 $genotyping_facility => undef
48 $management_factor_date => undef
49 $management_factor_type => undef
50 $trial_stock_type => undef
51 $trial_stock_count => undef
52 $trial_owner => undef
54 #Specific to stock detail page
55 $type_name => undef
56 $stockref => {}
57 $stockprops => undef
58 $edit_privs => undef
59 $editable_stock_props => undef
60 $editor_link => undef
61 $source_dbs => {}
62 $locus_add_uri => undef
63 $new_locus_link => undef
64 $allele_div => undef
65 $is_owner => undef
66 $map_html => undef
67 $has_pedigree => undef
68 $image_ids => undef
69 $related_image_ids => undef
70 $dbh => undef
71 $trait_ontology_db_name => undef
72 $pubs => undef
73 $cvterm_add_uri => undef
74 $referer => undef
76 #Specific to genotyping protocol detail page
77 $protocol_id => undef
78 $protocol_name => undef
79 $protocol_description => undef
80 $marker_names => []
81 $header_information_lines => []
82 $reference_genome_name => undef
83 $species_name => undef
84 $create_date => undef
85 $sample_observation_unit_type_name => undef
86 $marker_type => undef
88 #Specific to drone run detail page
89 $drone_run_date => undef
90 $id_extension => undef
92 #Specific to analysis detail page
93 $analysis_metadata => undef
94 $for_analysis_page => undef
95 $data_level => undef
97 $program_id => undef
98 $program_name => undef
100 #Specific to analysis model detail page
101 $model_id => undef
102 $model_name => undef
103 $model_description => undef
104 $model_properties => {}
105 $model_file_ids => {}
106 $model_type_name => undef
107 $model_files => {}
109 #Specific to manage nirs page
110 $nirs_files => undef
111 $deleted_nirs_files => undef
112 $all_nirs_files => undef
113 $all_deleted_nirs_files => undef
114 $locations => undef
115 $sampling_facilities => ()
117 #Specific to analytics detail page
118 $analytics_protocol_id => undef
119 $analytics_protocol_name => undef
120 $analytics_protocol_description => undef
121 $analytics_protocol_type_id => undef
122 $analytics_protocol_type_name => undef
123 $analytics_protocol_create_date => undef
124 $analytics_protocol_properties => {}
125 $analytics_protocol_result_summary => {}
127 </%args>
129 <& /util/import_javascript.mas,
130    classes => ["jquery", "jqueryui", "thickbox", "CXGN.Page.FormattingHelpers", "jquery.cookie", "CXGN.Stock", "d3.d3v4Min" ],
131   entries => ["sequenced_accessions"]
134 <div class="row">
135     <div class="col-sm-12">
136         <div class="well">
137             <div class="row">
138                 <div class="<% $col1_width_class %>">
139                     <span style="font-size:3.5em;" class="<% $icon_class %>"></span>
140                 </div>
141                 <div class="<% $col2_width_class %>">
143                     <&| /page/info_section.mas, id => $info_section_id, title => $info_section_title, collapsible=>$info_section_collapsible, collapsed => $info_section_collapsed, subtitle=> $info_section_subtitle &>
145 % if ($buttons_html){
146                         <div class="panel panel-default">
147                             <div class="panel-body">
148                                 <% $buttons_html %>
149                             </div>
150                         </div>
151 % }
153                         <div class="panel panel-default">
154                             <div class="panel-body">
156 % if ($info_section_id eq 'pheno_heatmap'){
157                                 <& /breeders_toolbox/trial/phenotype_heatmap.mas, trial_id => $trial_id, data_level => $data_level &>
158 % } #End pheno_heatmap
159 % if ($info_section_id eq 'trial_design_section'){
160                                 <& /breeders_toolbox/trial/design_section.mas, trial_id => $trial_id, trial_name => $trial_name, has_subplot_entries => $has_subplot_entries, has_plant_entries => $has_plant_entries, has_tissue_sample_entries => $has_tissue_sample_entries, design_name => $design_name, trial_stock_type => $trial_stock_type &>
161 % } #End trial_design_section
162 % if ($info_section_id eq 'trial_detail_traits_assayed'){
164 % if ($has_expression_atlas) {
165                                 <& /breeders_toolbox/trial/export_trial_to_expression_atlas.mas, trial_id => $trial_id, trial_name=>$trial_name, expression_atlas_url=>$expression_atlas_url, site_project_name=>$site_project_name, sgn_session_id=>$sgn_session_id, user_name=>$user_name, main_production_site_url=>$main_production_site_url &>
166 % }
168                                 <& /breeders_toolbox/trial/phenotype_summary.mas, trial_id => $trial_id, trial_stock_type => $trial_stock_type &>
170 % } #End trial_detail_traits_assayed
171 % if ($info_section_id eq 'compute_derived_traits'){
172                                 <& /breeders_toolbox/trial/derived_trait.mas, trial_id => $trial_id &>
173 % } #End compute_derived_traits
174 % if ($info_section_id eq 'trial_upload_files'){
175                                 <& /breeders_toolbox/trial/files_section.mas, trial_id => $trial_id, trial_phenotype_files => $trial_phenotype_files, trial_stock_type => $trial_stock_type, for_analysis_page => $for_analysis_page &>
176 % } #End trial_upload_files
177 % if ($info_section_id eq 'trial_analysis_tools'){
180                                 <!-- analysis tools on saved measurements -->
181                                <& /breeders_toolbox/trial/saved_measurement_analysis.mas,
182                                      trial_id => $trial_id
183                                 &>
184                                 <!-- Phenotypic correlation analysis -->
185                                 <& /solgs/tools/correlation/correlation.mas,
186                                     corre_pop_id => $trial_id
187                                 &>
189                                 <& /solgs/tools/anova/analysis.mas,
190                                     trial_id => $trial_id
191                                 &>
193                                  <!-- Population structure analysis PCA -->
194                                 <& /solgs/tools/pca/analysis.mas,
195                                     trial_id => $trial_id
196                                   &>
198                                 <!-- Clustering -->
199                                 <& /solgs/tools/cluster/analysis.mas,
200                                     trial_id => $trial_id
201                                   &>
203                                 <!-- kinship and inbreeding-->
204                                 <& /solgs/tools/kinship/analysis.mas,
205                                     trial_id => $trial_id
206                                 &>
209                                   <& /tools/heritability/heritability.mas,
210                                     trial_id => $trial_id
211                                 &>
213                                 <& /solgs/population/trait_acronyms.mas,
214                                   trial_id => $trial_id
215                               &>
217 % if ($c->req->base =~ /sweetpotatobase/) {
218                                 <& /tools/qualityControl/qualityControl.mas,
219                                     trial_id => $trial_id
220                                 &>
221 % }
223 % if ($hidap_enabled) {
224                                 <& /hidap/hidap_trial_link.mas, main_production_site_url=>$main_production_site_url, program => $breeding_program_name, folder => $folder_name, trial => $trial_name &>
225 % }
226 % } #End trial_analysis_tools
227 % if ($info_section_id eq 'trial_weather_data'){
228                                 <& /breeders_toolbox/trial/weather.mas, location => $location_name &>
229 % } #End trial_weather_data
230 % if ($info_section_id eq 'trial_jbrowse_data'){
231                                 <& /breeders_toolbox/trial/jbrowse_instance.mas, trial_id => $trial_id &>
232 %} #End trial_jbrowse_data
233 % if ($info_section_id eq 'trial_linkage_section'){
234                                 <&| /page/info_section.mas, title => 'Field Trial to Field Trial Linkage', id => 'field_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
235                                     <& /breeders_toolbox/trial/field_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => $trial_type, trial_name=>$trial_name &>
236                                 </&>
237                                 <&| /page/info_section.mas, title => 'Field Trial to Genotyping Plate Linkage', id => 'genotyping_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
238                                     <& /breeders_toolbox/trial/genotyping_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'field_trial' &>
239                                 </&>
240                                 <&| /page/info_section.mas, title => 'Field Trial to Crossing Experiment Linkage', id => 'crossing_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
241                                     <& /breeders_toolbox/trial/crossing_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'field_trial' &>
242                                 </&>
243 %} #End trial_linkage_section
244 % if ($info_section_id eq 'trial_deletion_section'){
245                                 <&| /page/info_section.mas, title=>'Delete trial data', subtitle=>'<font color="red" role="">Deletion cannot be undone</font>', collapsed=>1, collapsible=>1 &>
246                                     <& /breeders_toolbox/trial/trial_deletion.mas, trial_id => $trial_id  &>
247                                 </&>
248 %} #End trial_deletion_section
249 % if ($info_section_id eq 'trial_data_agreement_section'){
250                                 <& /breeders_toolbox/data_agreement.mas, trial_id => $trial_id &>
251 % } #End trial_data_agreement_section
253 % if ($info_section_id eq 'stock_additional_info_section'){
254                                 <& /stock/additional_info_section.mas, stock_id => $stock_id, type_name => $type_name, stockprops => $stockprops, edit_privs => $edit_privs, editable_stock_props => $editable_stock_props, editor_link => $editor_link, source_dbs => $source_dbs, locus_add_uri => $locus_add_uri, allele_div => $allele_div, is_owner => $is_owner &>
255 % } #End stock_additional_info_section
256 % if ($info_section_id eq 'stock_trials_section'){
257                                 <& /stock/trials.mas, stock_id => $stock_id &>
258 % } #End stock_trials_section
259 % if ($info_section_id eq 'stock_traits_section'){
260                                 <& /stock/traits.mas, stock_id => $stock_id &>
261 % } #End stock_traits_section
262 % if ($info_section_id eq 'stock_genotypes_section'){
263                                 <& /stock/direct_genotypes.mas, stock_id => $stock_id, map_html => $map_html &>
264 % } #End stock_genotypes_section
265 % if ($info_section_id eq 'stock_pedigree_section'){
266                                 <&| /page/info_section.mas, title=>"Pedigree and Descendants" , collapsible=> 1, collapsed=>0 &>
267                                     <& /pedigree/stock_pedigree.mas, stock_id => $stock_id, has_pedigree => $has_pedigree &>
268                                 </&>
270                                 <& /pedigree/stock_pedigree_string.mas, stock_id => $stock_id &>
271 % } #End stock_pedigree_section
272 % if ($info_section_id eq 'stock_related_stock_section'){
273                                 <& /stock/related_stock.mas, stock_id => $stock_id, stock_uniquename => $stock_uniquename, stock_type => $type_name &>
274 % } #End stock_related_stock_section
275 % if ($info_section_id eq 'stock_images_section'){
276                                 <& /image/compare_images.mas, stock_id => $stock_id &>
278                                 <&| /page/info_section.mas, title=>"Images of This Stock(" .  scalar(@$image_ids)  . ")", collapsible=>1, collapsed=>0 &>
279                                     <& /image/print_images.mas , images=>$image_ids , dbh=>$dbh, additional_image_button_id=>'stock_images' &>
280                                 </&>
282                                 <&| /page/info_section.mas, title=>"Images of Related Stock(s) (" .  scalar(@$related_image_ids)  . ")", collapsible=>1, collapsed=>0 &>
283                                     <& /image/print_images.mas , images=>$related_image_ids , dbh=>$dbh, additional_image_button_id=>'related_stock_images' &>
284                                 </&>
285 % } #End stock_images_section
286 % if ($info_section_id eq 'stock_sequencing_status_section'){
287                                 <& /stock/sequencing_status.mas, stock_id => $stock_id &>
288 % } #End stock requencing status section
289 % if ($info_section_id eq 'stock_literature_annotation_section'){
290                                 <&| /page/info_section.mas, title=>"Literature annotation (".scalar( @$pubs ).")" , id=>"publications" , collapsible=>1, collapsed=>1 &>
293 % foreach my $publication ( @$pubs  ) {
294   <& /chado/publication.mas, pub=>$publication &>
295     <br >
296 % }
298                                 </&>
300                                 <&| /page/info_section.mas, id   => 'stock_ontology', title=>"Ontology annotation (" . $stockref->{ontology_count} . ")" &>
301                                     <& /ontology/associate_ontology.mas,
302                                     trait_db_name => $trait_ontology_db_name,
303                                     object_id     => $stock_id ,
304                                     object_name   => "stock",
305                                     cvterm_add_uri=> $cvterm_add_uri,
306                                     ontology_url  => "/stock/$stock_id/ontologies/",
307                                     reference_uri => "/stock/$stock_id/references/",
308                                     evidence_with_uri => "/stock/$stock_id/evidences/",
309                                     show_form     => $is_owner  &>
310                                 </&>
311 % } #End stock_literature_annotation_section
312 % if ($info_section_id eq 'stock_jbrowse_section'){
313                                 <p id="jbrowse_check">[loading...]</p>
314 % } #End stock_jbrowse_section
315 % if ($info_section_id eq 'stock_comments_section'){
316                                 <& /page/comments.mas, object_type=>'stock', object_id=>$stock_id, referer=>$referer &>
317 % } #End stock_comments_section
318 % if ($info_section_id eq 'stock_delete_section'){
319                                 <& /stock/delete.mas, stock_id=>$stock_id &>
320 % } #End stock_delete_section
323 % if ($info_section_id eq 'manage_tissue_samples_field_trials'){
324                                 <& /breeders_toolbox/tissue_samples/field_trials_with_tissue_samples.mas &>
325 % } #End manage_tissue_samples_field_trials
326 % if ($info_section_id eq 'manage_tissue_samples_genotyping_trials'){
327                                 <& /breeders_toolbox/tissue_samples/genotyping_trials.mas &>
328 % } #End manage_tissue_samples_genotyping_trials
329 % if ($info_section_id eq 'manage_tissue_samples_sampling_trials'){
330                                 <& /breeders_toolbox/tissue_samples/sampling_trials.mas &>
331 % } #End manage_tissue_samples_sampling_trials
332 % if ($info_section_id eq 'trial_details'){
333                                 <& /breeders_toolbox/trial/trial_details.mas, trial_id=>$trial_id, 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, trial_type=>$trial_type, planting_date=>$planting_date, harvest_date=>$harvest_date, trial_description=>$trial_description, folder_name=>$folder_name, folder_id=>$folder_id, identifier_prefix=>$identifier_prefix, plot_width=>$plot_width, plot_length=>$plot_length, field_size=>$field_size, field_trial_is_planned_to_be_genotyped=>$field_trial_is_planned_to_be_genotyped, field_trial_is_planned_to_cross=>$field_trial_is_planned_to_cross, trial_stock_type => $trial_stock_type, trial_stock_count => $trial_stock_count, trial_owner => $trial_owner &>
334 % } #End trial_details
335 % if ($info_section_id eq 'stocks_search_graphical_filtering'){
336                                 <& /search/stocks_graphicalfiltering.mas &>
337 % } #End stocks_search_graphical_filtering
338 % if ($info_section_id eq 'genotyping_data_project_details'){
339                                 <& /breeders_toolbox/genotyping_data_project/details.mas, trial_id=>$trial_id, trial_name=>$trial_name, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, location_name=>$location_name, year=>$year, trial_description=>$trial_description, identifier_prefix=>$identifier_prefix, genotyping_facility => $genotyping_facility &>
340 % } #End genotyping_data_project_details
341 % if ($info_section_id eq 'genotyping_data_project_protocols'){
342                                 <& /breeders_toolbox/genotyping_data_project/protocols.mas, trial_id=>$trial_id &>
343 % } #End genotyping_data_project_protocols
344 % if ($info_section_id eq 'genotyping_data_project_data'){
345                                 <& /breeders_toolbox/genotyping_data_project/genotype_data.mas, trial_id=>$trial_id &>
346 % } #End genotyping_data_project_data
347 % if ($info_section_id eq 'identifier_generation_list'){
348                                 <& /breeders_toolbox/identifier_generation/list_identifier_generation.mas &>
349 % } #End identifier_generation_list
350 % if ($info_section_id eq 'management_factor_details'){
351                                 <& /breeders_toolbox/trial/management_factor_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, trial_description=>$trial_description, year=>$year, management_factor_type=>$management_factor_type, management_factor_date=>$management_factor_date &>
352 % } #End management_factor_details
353 % if ($info_section_id eq 'management_factor_design'){
354                                 <& /breeders_toolbox/trial/design_section_management_factor.mas, trial_id => $trial_id, trial_name => $trial_name, has_subplot_entries => $has_subplot_entries, has_plant_entries => $has_plant_entries, has_tissue_sample_entries => $has_tissue_sample_entries, design_name => $design_name &>
355 % } #End management_factor_design
357 % if ($info_section_id eq 'genotyping_protocol_details'){
358                                 <& /breeders_toolbox/genotyping_protocol/details.mas, protocol_id => $protocol_id, protocol_name => $protocol_name, protocol_description => $protocol_description, marker_names => $marker_names, header_information_lines => $header_information_lines, reference_genome_name => $reference_genome_name, species_name => $species_name, create_date => $create_date, sample_observation_unit_type_name => $sample_observation_unit_type_name, marker_type => $marker_type &>
359 % } #End genotyping_protocol_details
360 % if ($info_section_id eq 'genotyping_protocol_markers'){
361                                 <& /breeders_toolbox/genotyping_protocol/markers.mas, protocol_id => $protocol_id &>
362 % } #End genotyping_protocol_markers
363 % if ($info_section_id eq 'genotyping_protocol_genotype_data'){
364                                 <& /breeders_toolbox/genotyping_protocol/genotype_data.mas, protocol_id => $protocol_id &>
365 % } #End genotyping_protocol_genotype_data
366 % if ($info_section_id eq 'genotyping_protocol_delete_genotype_data') {
367                                 <& /breeders_toolbox/genotyping_protocol/delete_genotype_data.mas, protocol_id => $protocol_id &>
368 % }
369 % if ($info_section_id eq 'pcr_based_genotyping_markers'){
370                                 <& /breeders_toolbox/genotyping_protocol/pcr_markers.mas, protocol_id => $protocol_id &>
371 % } #End pcr_based_genotyping_markers
372 % if ($info_section_id eq 'pcr_genotyping_protocol_genotype_data'){
373                                 <& /breeders_toolbox/genotyping_protocol/pcr_genotype_data.mas, protocol_id => $protocol_id, marker_names => $marker_names &>
374 % } #End pcr_genotyping_protocol_genotype_data
378 % if ($info_section_id eq 'crossingtrial_details'){
379                                 <& /breeders_toolbox/cross/crossingtrial_details.mas, trial_id=>$trial_id, 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, identifier_prefix=>$identifier_prefix &>
380 % } #End crossingtrial_details
382 % if ($info_section_id eq 'crosses_in_crossingtrial_section'){
383                                 <& /breeders_toolbox/cross/crosses_in_crossingtrial.mas, trial_id=>$trial_id &>
384 % } #End crosses_in_crossingtrial_section
386 % if ($info_section_id eq 'additional_info_crossingtrial_section'){
387                                 <& /breeders_toolbox/cross/cross_additional_info_crossingtrial.mas, trial_id=>$trial_id &>
388 % } #End additional_info_crossingtrial_section
390 % if ($info_section_id eq 'cross_properties_crossingtrial_section'){
391                                 <& /breeders_toolbox/cross/cross_properties_crossingtrial.mas, trial_id=>$trial_id &>
392 % } #End cross_properties_crossingtrial_section
394 % if ($info_section_id eq 'progenies_in_crossingtrial_section'){
395                                 <& /breeders_toolbox/cross/progenies_in_crossingtrial.mas, trial_id=>$trial_id &>
396 % } #End progenies_in_crossingtrial_section
398 % if ($info_section_id eq 'seedlots_from_crossingtrial_section'){
399                                 <& /breeders_toolbox/cross/seedlots_from_crossingtrial.mas, trial_id=>$trial_id, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, locations_by_program_json=>$locations_by_program_json &>
400 % } #End seedlots_from_crossingtrial_section
402 % if ($info_section_id eq 'crossing_trial_from_field_trial_section'){
403                                 <& /breeders_toolbox/trial/crossing_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'crossing_trial' &>
404 % } #End crossing_trial_from_field_trial_section
406 % if ($info_section_id eq 'marker_set_summary_section'){
407                                 <& /breeders_toolbox/markers/marker_set_summary.mas &>
408 % } #End marker_set_summary_section
410 % if ($info_section_id eq 'crossing_experiment_deletion_section'){
411                                 <& /breeders_toolbox/cross/crossing_experiment_deletion.mas, trial_id => $trial_id  &>
412 %} #End crossing_experiment_deletion_section
414 % if ($info_section_id eq 'intercross_section'){
415                                 <& /breeders_toolbox/cross/intercross_file_info.mas, trial_id => $trial_id  &>
416 %} #End intercross_section
418 % if ($info_section_id eq 'progeny_search_section'){
419                                 <& /search/cross/progeny_search_section.mas &>
420 %} #End progeny_search_section
422 % if ($info_section_id eq 'cross_search_section'){
423                                 <& /search/cross/cross_search_section.mas &>
424 %} #End cross_search_section
426 % if ($info_section_id eq 'manage_nirs_main'){
427                                 <& /tools/nirs/manage_nirs_main.mas, nirs_files => $nirs_files, deleted_nirs_files => $deleted_nirs_files, all_nirs_files => $all_nirs_files, all_deleted_nirs_files => $all_deleted_nirs_files, locations => $locations, sampling_facilities=>$sampling_facilities &>
428 % } #End manage_nirs_main
430 % if ($info_section_id eq 'manage_sequence_metadata'){
431     <& /tools/sequence_metadata/manage_sequence_metadata_main.mas &>
432 % } #End manage_smd_main
434 % if ($info_section_id eq 'manage_drone_imagery_main'){
435                                 <& /breeders_toolbox/drone_imagery/raw_image_section.mas &>
436 % } #End manage_drone_imagery_main
438 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_section'){
439                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_section.mas, id_extension=>$id_extension &>
440 % } #End manage_drone_imagery_generate_plot_polygons_section
441 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section'){
442                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_raw_images_section.mas, id_extension=>$id_extension &>
443 % } #End manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section
444 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section_ground_control_points'){
445                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_raw_images_section_ground_control_points.mas &>
446 % } #End manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section_ground_control_points
447 % if ($info_section_id eq 'manage_drone_imagery_standard_process_generate_plot_polygons_section'){
448                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_section.mas &>
449 % } #End manage_drone_imagery_standard_process_generate_plot_polygons_section
450 % if ($info_section_id eq 'drone_run_project_details'){
451                                 <& /breeders_toolbox/drone_imagery/drone_run_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, trial_description=>$trial_description, identifier_prefix=>$identifier_prefix, drone_run_date=>$drone_run_date &>
452 % } #End trial_details
453 % if ($info_section_id eq 'analysis_details'){
454                                 <& /analyses/analysis_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, trial_description=>$trial_description, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, year=>$year, identifier_prefix=>$identifier_prefix, trial_stock_type => $trial_stock_type, analysis_metadata=>$analysis_metadata &>
455 % } #End analysis_details
456 % if ($info_section_id eq 'analysis_page_analysis_tools'){
457                                 <& /breeders_toolbox/trial/correlation_workflow.mas, trial_id => $trial_id, is_analysis => 1 &>
459                                 <& /breeders_toolbox/trial/time_series_accessions_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
461                                 <& /breeders_toolbox/trial/accession_rank_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
463                                 <& /breeders_toolbox/trial/genotype_comparison_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
464 % }
465 % if ($info_section_id eq 'model_details'){
466                                 <& /analyses/model_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, analysis_metadata=>$analysis_metadata &>
467 % } #End analysis_details
468 % if ($info_section_id eq 'analysis_model_details'){
469                                 <& /analyses/model_detail_page_section.mas, model_id => $model_id, model_name => $model_name, model_description => $model_description, model_properties => $model_properties, model_file_ids => $model_file_ids, model_type_name => $model_type_name, model_files => $model_files, identifier_prefix => $identifier_prefix &>
470 % } #End analysis_model_details
471 % if ($info_section_id eq 'model_analyses'){
472                                 <& /analyses/model_detail_page_analyses_section.mas, model_id => $model_id &>
473 % } #End model_analyses
474 % if ($info_section_id eq 'analytics_protocol_details'){
475                                 <& /analytics_protocols/analytics_protocols_details.mas, analytics_protocol_id=>$analytics_protocol_id, analytics_protocol_name=>$analytics_protocol_name, analytics_protocol_description=>$analytics_protocol_description, analytics_protocol_type_id=>$analytics_protocol_type_id, analytics_protocol_type_name=>$analytics_protocol_type_name, analytics_protocol_create_date=>$analytics_protocol_create_date, analytics_protocol_properties=>$analytics_protocol_properties, analytics_protocol_result_summary=>$analytics_protocol_result_summary &>
476 % } #End analytics_protocol_details
477 % if ($info_section_id eq 'analytics_protocol_result_files'){
478                                 <& /analytics_protocols/analytics_protocols_result_files.mas, analytics_protocol_id=>$analytics_protocol_id, analytics_protocol_name=>$analytics_protocol_name &>
479 % } #End analytics_protocol_result_files
480 % if ($info_section_id eq 'model_deletion_section'){
481                                 <&| /page/info_section.mas, title=>'Delete model', subtitle=>'<font color="red" role="">Deletion cannot be undone</font>', collapsed=>1, collapsible=>1 &>
482                                     <& /analyses/model_deletion.mas, model_id => $model_id  &>
483                                 </&>
484 % } #End model_deletion_section
485 % if ($info_section_id eq 'manage_file_share_dump'){
486                                 <& /breeders_toolbox/file_share/file_dump_share_files.mas &>
487 % } #End manage_file_share_dump
489 % if ($info_section_id eq 'program_location_section'){
490                                 <& /breeders_toolbox/program/program_locations.mas, program_id => $program_id &>
491 % } #End program_location_section
492 % if ($info_section_id eq 'program_project_section'){
493                                 <& /breeders_toolbox/program/program_project_section.mas, program_id => $program_id &>
494 % } #End program_project_section
495 % if ($info_section_id eq 'program_stock_section'){
496                                 <& /breeders_toolbox/program/program_stock_section.mas, program_id => $program_id &>
497 % } #End program_stock_section
498 % if ($info_section_id eq 'program_phenotype_section'){
499                                 <& /breeders_toolbox/program/traits.mas, program_id => $program_id, collapse_phenotypes_section => 0 &>
500 % } #End program_phenotype_section
501 % if ($info_section_id eq 'program_product_profile_section'){
502                                 <& /breeders_toolbox/program/product_profile.mas, program_id => $program_id, collapse_phenotypes_section => 0 &>
503 % } #End program_product_profile_section
505 % if (!$info_section_id){
506                                 <p>No section specified! Main content goes here!</p>
507 % }
509                             </div>
510                         </div>
511                     </&>
512                 </div>
513             </div>
514         </div>
515     </div>
516 </div>