49 lines
2.1 KiB
PHP
49 lines
2.1 KiB
PHP
<div class="pageContent">
|
|
<table class="table" width="100%" layoutH="85">
|
|
<thead>
|
|
<tr>
|
|
<th width="150">用户</th>
|
|
<th width="150">宝宝姓名</th>
|
|
<th width="150">宝宝年龄</th>
|
|
<th width="150">手机号</th>
|
|
<th width="150">课程</th>
|
|
<th width="150">报名时间</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($logs as $log)
|
|
<tr>
|
|
<td>{{ $log->user->info->nickname }}</td>
|
|
<td>{{ $log->name }}</td>
|
|
<td>{{ $log->age }}</td>
|
|
<td>{{ $log->mobile }}</td>
|
|
<td>{{ $log->lesson->title }}</td>
|
|
<td>{{ $log->created_at }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="panelBar">
|
|
<form id="pagerForm" method="post" action="{{ url()->current() }}">
|
|
<input type="hidden" name="page" value="{{ $logs->currentPage() }}" />
|
|
<input type="hidden" name="numPerPage" value="{{ $logs->perPage() }}" />
|
|
<input type="hidden" name="orderField" value="{{ Request::input('orderField') }}" />
|
|
<input type="hidden" name="orderDirection" value="{{ Request::input('orderDirection') }}" />
|
|
</form>
|
|
<div class="pages">
|
|
<span>显示</span>
|
|
<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
|
|
<option @if ($logs->perPage() == 30) selected @endif value="30">30</option>
|
|
<option @if ($logs->perPage() == 100) selected @endif value="100">100</option>
|
|
<option @if ($logs->perPage() == 200) selected @endif value="200">200</option>
|
|
</select>
|
|
<span>条,共 {{ $logs->total() }} 条</span>
|
|
</div>
|
|
<div class="pagination" targetType="navTab" totalCount="{{ $logs->total() }}" numPerPage="{{ $logs->perPage() }}" pageNumShown="10" currentPage="{{ $logs->currentPage() }}"></div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
//点击导出
|
|
</script>
|