autogenerated name metadata table
[sgn.git] / mason / transformation / inactive_transformation_ids_in_project.mas
blob0eac2674cdd40105b08c269e15f28ff69583faa5
1 <%args>
2 $trial_id
3 </%args>
5 <& /util/import_javascript.mas, classes => [ 'jquery', 'jquery.dataTables', 'CXGN.List', 'jquery.iframe-post-form' ] &>
6 <& /util/import_css.mas, paths => ['/documents/inc/datatables/jquery.dataTables.css'] &>
8 <div style="overflow:scroll">
9     <table class="table table-hover table-bordered" id="inactive_transformation_ids_in_project_table">
10         <thead>
11             <tr>
12                 <th>Transformation ID</th>
13                 <th>Status</th>
14                 <th>Plant Material</th>
15                 <th>Vector Construct</th>
16                 <th>Notes</th>
17                 <th>No of Transformants (Accessions)</th>
18             </tr>
19         </thead>
20     </table>
21 </div>
24 <script>
26 jQuery(document).ready(function(){
27     var project_id = "<% $trial_id %>";
29     var transformation_table = jQuery('#inactive_transformation_ids_in_project_table').DataTable({
30         'ajax': '/ajax/transformation/inactive_transformation_ids_in_project/'+project_id,
31         'autoWidth': false,
32     });
35 });
37 </script>