2018-03-27 11:52:37 +02:00
|
|
|
<table id="{{ $id }}" class="{{ $class }}">
|
2015-03-31 11:38:24 +02:00
|
|
|
<colgroup>
|
|
|
|
@for ($i = 0; $i < count($columns); $i++)
|
2018-03-27 11:52:37 +02:00
|
|
|
<col class="con{{ $i }}" />
|
2015-03-31 11:38:24 +02:00
|
|
|
@endfor
|
|
|
|
</colgroup>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
@foreach($columns as $i => $c)
|
2018-03-27 11:52:37 +02:00
|
|
|
<th align="center" valign="middle" class="head{{ $i }}">{{ $c }}</th>
|
2015-03-31 11:38:24 +02:00
|
|
|
@endforeach
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach($data as $d)
|
|
|
|
<tr>
|
|
|
|
@foreach($d as $dd)
|
2018-03-27 11:52:37 +02:00
|
|
|
<td>{{ $dd }}</td>
|
2015-03-31 11:38:24 +02:00
|
|
|
@endforeach
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
@if (!$noScript)
|
|
|
|
@include(Config::get('chumper.datatable.table.script_view'), array('id' => $id, 'options' => $options, 'callbacks' => $callbacks))
|
|
|
|
@endif
|