2021-09-17 04:49:12 +00:00
|
|
|
<table class="table table-hover table-striped projects-index personal-lab dt-responsive">
|
2021-04-20 09:28:21 +00:00
|
|
|
<caption><h3>{{widget-title}}</h3></caption>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="col-md-3">{{th_lab_title}}</th>
|
|
|
|
<th class="col-md-2">{{th_location}}</th>
|
|
|
|
<th class="col-md-3">{{th_member}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody data-level="0" data-list="labs">
|
|
|
|
<tr>
|
2022-01-21 05:34:37 +00:00
|
|
|
<td><a href="{{link_to_show}}">{{lab_title}}</td>
|
2021-04-20 09:28:21 +00:00
|
|
|
<td>{{location}}</td>
|
|
|
|
<td>{{member}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{pagination_goes_here}}
|
|
|
|
|
|
|
|
<script>
|
|
|
|
for ( var i = 0; i < $('thead th').length ; i++ ) {
|
|
|
|
if( $('thead th').length > 2 ) {
|
|
|
|
var th = $('thead th');
|
|
|
|
for ( var q = 3; q < th.length ; q++ ) {
|
|
|
|
th.eq(q).addClass('min-tablet-l');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-03 03:45:44 +00:00
|
|
|
$('table.personal-lab').each(function(){
|
|
|
|
if($(this).find('thead').length!=0 && $(this).find('td').length!=0 && !$(this).hasClass('dataTable')){
|
|
|
|
$(this).DataTable({
|
|
|
|
searching: false,
|
|
|
|
paging: false,
|
|
|
|
ordering: false,
|
|
|
|
info: false,
|
|
|
|
autoWidth: false
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});;
|
2021-04-20 09:28:21 +00:00
|
|
|
</script>
|