2021-09-17 04:49:18 +00:00
|
|
|
<table class="table table-hover table-striped projects-index personal-honor dt-responsive">
|
2020-04-09 10:46:42 +00:00
|
|
|
<caption><h3>{{widget-title}}</h3></caption>
|
|
|
|
<thead>
|
|
|
|
<tr data-level="0" data-list="headers">
|
|
|
|
<th class="col-md-{{col}}">{{head-title}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody data-level="0" data-list="honors">
|
|
|
|
<tr data-level="1" data-list="personal_honors">
|
|
|
|
<td>{{value}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{{pagination_goes_here}}
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$('thead th.col-md-2:nth-child(2)').addClass('min-tablet-l');
|
|
|
|
$('thead th.col-md-2:nth-child(5)').addClass('min-tablet');
|
2021-09-03 03:45:44 +00:00
|
|
|
$('table.personal-honor').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
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});;
|
2020-04-09 10:46:42 +00:00
|
|
|
</script>
|