Changed trials-in-common page to use a single database query to get analyses. Changed...
[sgn.git] / mason / breeders_toolbox / tissue_samples / genotyping_trials.mas
blobf1c003059adf3cfc97ec6e56a789b07b3083fdf2
2 <%args>
3 </%args>
5 <& /util/import_javascript.mas, classes => [ 'jquery', 'jquery.dataTables' ] &>
7 <h4>Genotyping Plates</h4>
9 <div class="well well-sm">
10     <div class="panel panel-default">
11         <div class="panel-body">
12             <table id="tissue_sample_genotyping_trial_search_results" class="table table-hover table-striped">
13                 <thead>
14                     <tr>
15                         <th>Trial name</th>
16                         <th>Description</th>
17                         <th>Breeding program</th>
18                         <th>Folder</th>
19                         <th>Year</th>
20                         <th>Location</th>
21                         <th>Genotyping Facility</th>
22                         <th>Format</th>
23                         <th>Sample Type</th>
24                         <th>Download</th>
25                     </tr>
26                 </thead>
27             </table>
28         </div>
29     </div>
30 </div>
32 <script>
34 jQuery(document).ready(function () {
36    var geno_trial_table = jQuery('#tissue_sample_genotyping_trial_search_results').DataTable( {
37        'ajax': '/ajax/tissue_samples/genotyping_trials',
38    });
40 });
42 </script>