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>
38 <&| /page/info_section.mas, title => 'Accession Usage as Male Parent', collapsible=>1, collapsed=>1 &>
40 <table id="accession_usage_male" width="100%" class="table table-hover table-striped">
43 <th>Accession Name</th>
44 <th>Number of Progenies</th>
51 <&| /page/info_section.mas, title => 'Accession Phenotype Performace', collapsible=>1, collapsed=>0 &>
54 <div class="panel panel-default">
55 <div class="panel-body">
57 <table id="accession_usage_phenotypes" class='table table-bordered table-hover'>
61 <th>Observation Variable</th>
81 jQuery(document).ready(function(){
83 jQuery('#accession_usage_trials').DataTable({
86 'ajax':'ajax/accession_usage_trials'
90 jQuery('#accession_usage_female').DataTable({
93 'ajax':'ajax/accession_usage_female'
97 jQuery('#accession_usage_male').DataTable({
100 'ajax':'ajax/accession_usage_male'
103 var stock_table = jQuery('#accession_usage_phenotypes').DataTable({
109 'lengthMenu': [10,20,50,100,1000,5000],
110 'ajax': { 'url': '/ajax/accession_usage_phenotypes?display=plots_accession' }