32 lines
777 B
Plaintext
32 lines
777 B
Plaintext
<table class="table table-hover table-striped projects-index personal-book dt-responsive nowrap">
|
|
<caption><h3>{{widget-title}}</h3></caption>
|
|
<thead>
|
|
<tr data-level="0" data-list="headers">
|
|
<th class="">{{head-title}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody data-level="0" data-list="book_list">
|
|
<tr data-level="1" data-list="books">
|
|
<td>{{value}}</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');
|
|
}
|
|
}
|
|
}
|
|
|
|
$('table.personal-book').DataTable({
|
|
searching: false,
|
|
paging: false,
|
|
ordering: false,
|
|
info: false
|
|
});
|
|
</script> |