Merge pull request #2754 from solgenomics/topic/fix_homepage_add_accessions_dialog
[sgn.git] / mason / breeders_toolbox / manage_nirs.mas
blob75e69c244a04ba6ff62d34e486e8ea32354ca60e
2 <%args>
3 $nirs_files => undef
4 $deleted_nirs_files => undef
5 $locations => undef
6 </%args>
8 <& /util/import_javascript.mas, classes => [ 'CXGN.BreedersToolbox.Trial','CXGN.BreedersToolbox.FieldBook','CXGN.BreedersToolbox.UploadPhenotype', 'CXGN.BreederSearch', 'CXGN.Trial' ] &>
10 <& /page/page_title.mas, title=>"Manage NIRS Data" &>
12 <div class="container-fluid">
14 <!--button class="btn btn-info" onclick=location.href="/search/stocks">Phenotype Search</button><br /><br /-->
16 <& /breeders_toolbox/upload_nirs_spreadsheet.mas &>
18 <div class="well">
20 <&| /page/info_section.mas, title=>'Your Uploaded Files', is_subsection=>1, subtitle=>'[<a id="upload_spreadsheet_phenotypes_link" >Upload NIRS Spreadsheet</a>]' &>
21   <br/>
22   <& /breeders_toolbox/file_list.mas, files=>$nirs_files, allow_delete=>1 &>
24 </&>
26 </div>
27 <div class="well">
29 <&| /page/info_section.mas, title=>'Your Obsoleted Files', subtitle=>'These files will not be shown anywhere else on the website', is_subsection=>1 &>
31   <& /breeders_toolbox/file_list.mas, files=>$deleted_nirs_files, allow_delete=>0 &>
33 </&>
35 </div>
37 </div>