created citrusgreening.css from nextgen-cassava for smaller font size
[sgn.git] / mason / stock / trials.mas
blobc4705ab012a3679f091b13f56587058e88bc5b71
2 <%args>
3 $stock_id
4 </%args>
6 <& /util/import_javascript.mas, classes => [ 'jquery', 'jquery.dataTables' ] &>
8 <table id="trial_summary_data" class="display">
9 <thead>
10   <tr>
11     <th>Trial name</th>
12     <th>Location</th>
13     <th>Details</th>
14   </tr>
15 </thead>
17 </table>
19 <link rel="stylesheet" type="text/css" href="/documents/inc/datatables/jquery.dataTables.css">
21 <script>
23   jQuery(document).ready(function () {
24   
25     jQuery('#trial_summary_data').DataTable( { 
26       'ajax': '/stock/'+ <% $stock_id %> + '/datatables/trials',
27     });
28   });
31 </script>