6 <& /util/import_javascript.mas, classes => [ 'jquery', 'jquery.dataTables' ] &>
7 <& /util/import_css.mas, paths => ['/documents/inc/datatables/jquery.dataTables.css'] &>
9 <& /page/page_title.mas, title=>'Accession Usage' &>
11 <&| /page/info_section.mas, title => 'Accession Usage for Trials', collapsible=>1, collapsed=>1 &>
13 <table id="accession_usage_trials" width="100%" class="table table-hover table-striped">
16 <th>Accession Name</th>
17 <th>Number of Trials</th>
18 <th>Total Number of Plots</th>
25 <&| /page/info_section.mas, title => 'Accession Usage as Female Parent', collapsible=>1, collapsed=>1 &>
27 <table id="accession_usage_female" width="100%" class="table table-hover table-striped">
30 <th>Accession Name</th>
31 <th>Number of Progenies</th>
35 <a href="/search/download_parents_and_numbers_of_progenies?parent_type=female_parent" class="btn btn-sm btn-default">Download</a>
39 <&| /page/info_section.mas, title => 'Accession Usage as Male Parent', collapsible=>1, collapsed=>1 &>
41 <table id="accession_usage_male" width="100%" class="table table-hover table-striped">
44 <th>Accession Name</th>
45 <th>Number of Progenies</th>
49 <a href="/search/download_parents_and_numbers_of_progenies?parent_type=male_parent" class="btn btn-sm btn-default">Download</a>
53 <&| /page/info_section.mas, title => 'Accession Phenotype Performace', collapsible=>1, collapsed=>0 &>
56 <div class="panel panel-default">
57 <div class="panel-body">
59 <table id="accession_usage_phenotypes" class='table table-bordered table-hover'>
63 <th>Observation Variable</th>
83 jQuery(document).ready(function(){
85 jQuery('#accession_usage_trials').DataTable({
88 'ajax':'ajax/accession_usage_trials'
92 jQuery('#accession_usage_female').DataTable({
95 'ajax':'ajax/accession_usage_female'
99 jQuery('#accession_usage_male').DataTable({
102 'ajax':'ajax/accession_usage_male'
105 var stock_table = jQuery('#accession_usage_phenotypes').DataTable({
111 'lengthMenu': [10,20,50,100,1000,5000],
112 'ajax': { 'url': '/ajax/accession_usage_phenotypes?display=plots_accession' }