AsiaV2_lite/modules/personal_create_design/index.html.erb

44 lines
1.0 KiB
Plaintext

<table class="table table-hover table-striped projects-index create_designs-index dt-responsive">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr>
<th class="col-md-1">{{th-design}}</th>
<th class="col-md-1">{{th-publish_date}}</th>
<th class="col-md-1">{{th-create_location}}</th>
<th class="col-md-1">{{th-member_profile}}</th>
</tr>
</thead>
<tbody data-level="0" data-list="create_designs">
<tr>
<td>{{design}}</td>
<td>{{publish_date}}</td>
<td>{{create_location}}</td>
<td>{{member_profile}}</td>
</tr>
</tbody>
</table>
{{pagination_goes_here}}
<script>
$('table.create_designs-index').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
});
}
});;
</script>