orbit_bootstrap2.1/modules/personal_patent/index.html.erb

32 lines
785 B
Plaintext

<table class="table table-hover table-striped projects-index personal-patent 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="patents">
<tr data-level="1" data-list="patent_list">
<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 = 4; q < th.length ; q++ ) {
th.eq(q).addClass('min-tablet-l');
}
}
}
$('table.personal-patent').DataTable({
searching: false,
paging: false,
ordering: false,
info: false
});
</script>