add event relations to time ontology and related code
[sgn.git] / mason / breeders_toolbox / manage_accessions.mas
bloba961726559444d731bb88cf669ed0a1e2002064e
2 <%args>
3 $accessions
4 $preferred_species => ""
5 $list_id => undef
6 $editable_stock_props => {}
7 </%args>
9 <& /util/import_javascript.mas, classes => [ 'bootstrap_min.js', 'jquery.iframe-post-form','CXGN.List','CXGN.BreedersToolbox.Accessions', 'CXGN.BreedersToolbox.UploadPedigrees' ] &>
12 <& /page/page_title.mas, title=>"Manage Accessions" &>
14 <div class="container-fluid">
16 <div class="well">
17 <&| /page/info_section.mas, title=>'Accessions', collapsible=>1, collapsed=>0, subtitle=>'[<a name="add_accessions_link">Add Accessions Or Upload Accession Info</a>] [<a id="upload_pedigrees_link">Upload Pedigree File</a>]' &>
19 <& /breeders_toolbox/accessions.mas, accessions=>$accessions &>
20 <& /breeders_toolbox/add_accessions_dialogs.mas, preferred_species=>$preferred_species, editable_stock_props=>$editable_stock_props &>
21 <& /breeders_toolbox/upload_pedigrees_dialogs.mas &>
22 <& /breeders_toolbox/manage_populations_dialogs.mas &>
24 <div>
25   </br>
26   <a href="/search/stocks">Search Accessions</a>
27 </div>
29 </&>
30 </div><!-- closes well -->
32 <div class="well">
33 <&| /page/info_section.mas, title=>'Find Trials in Common', collapsible=>1, collapsed=>0, subtitle=>'<i>Use a list of accessions to search for trials that contain them all</i>'&>
35 <& /breeders_toolbox/accessions/find_trials_by_accessions.mas &>
37 </&>
38 </div><!-- closes well -->
40 <div class="well">
41 <&| /page/info_section.mas, title=>"Populations", id=> "manage_accessions_populations", collapsible=>1, collapsed=>1, subtitle=>"<a id='manage_accessions_populations_new'>[Create Population]</a>"&>
42 <div class="panel-group" id="accordion"></div>
43 </&>
44 </div><!-- closes well -->
46 </div>
48 <style>
49   div.left {
50     float: left;
51     clear: both;
52   }
53 .ui-autocomplete {
54   max-height: 100px;
55   overflow-y: auto;
56   /* prevent horizontal scrollbar */
57   overflow-x: hidden;
60 /* IE 6 doesn't support max-height
61 * we use height instead, but this forces the menu to always be this tall
63 * html .ui-autocomplete {
64   height: 100px;
66 </style>
68 <script>
69 jQuery(document).ready(function (){
70 %  if ($list_id){
71     verify_accession_list(<% $list_id %>);
72 %  }
73 });
74 </script>