33 lines
843 B
Plaintext
33 lines
843 B
Plaintext
<table class="table table-hover table-striped projects-index personal-projects dt-responsive nowrap">
|
|
<caption><h3>{{widget-title}}</h3></caption>
|
|
<thead>
|
|
<tr data-level="0" data-list="headers">
|
|
<th class="{{head-title}}">{{head-title}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody data-level="0" data-list="projects">
|
|
<tr data-level="1" data-list="project">
|
|
<td>{{value}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{{pagination_goes_here}}
|
|
|
|
<script>
|
|
$('.計畫類別').addClass('min-tablet');
|
|
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-projects').DataTable({
|
|
searching: false,
|
|
paging: false,
|
|
ordering: false,
|
|
info: false
|
|
});
|
|
</script> |