53 lines
2.7 KiB
PHP
53 lines
2.7 KiB
PHP
|
|
|
|
<div class="pageContent">
|
|
<div class="panelBar">
|
|
<ul class="toolBar">
|
|
<li><a class="add" href="{{ route('Admin.wechatRules.create') }}" mask="true" target="navTab" rel="navTab_{{ time() }}" title="添加微信配置"><span>添加微信配置</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<table class="table" width="100%" layoutH="112">
|
|
<thead>
|
|
<tr>
|
|
<th width="50" orderField="id" @if (Request::input('orderField') == 'id') class="{{ Request::input('orderDirection') }}" @endif>编号</th>
|
|
<th>配置标题</th>
|
|
<th width="140" orderField="created_at" @if (Request::input('orderField') == 'created_at') class="{{ Request::input('orderDirection') }}" @endif>创建时间</th>
|
|
<th width="80"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($wechatRules as $wechatRule)
|
|
<tr>
|
|
<td>{{ $wechatRule->id }}</td>
|
|
<td>{{ $wechatRule->title }}</td>
|
|
<td>{{ $wechatRule->created_at }}</td>
|
|
<td>
|
|
<a title="编辑" target="navTab" href="{{ route('Admin.wechatRules.edit', $wechatRule) }}" rel="navTab_{{ time() }}" class="btnEdit">编辑</a>
|
|
<a title="删除" target="ajaxDelete" href="{{ route('Admin.wechatRules.destroy', $wechatRule) }}" class="btnDel">删除</a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="panelBar">
|
|
<form id="pagerForm" method="post" action="#rel#">
|
|
<input type="hidden" name="page" value="{{ $wechatRules->currentPage() }}" />
|
|
<input type="hidden" name="numPerPage" value="{{ $wechatRules->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 ($wechatRules->perPage() == 30) selected @endif value="30">30</option>
|
|
<option @if ($wechatRules->perPage() == 100) selected @endif value="100">100</option>
|
|
<option @if ($wechatRules->perPage() == 200) selected @endif value="200">200</option>
|
|
</select>
|
|
<span>条,共 {{ $wechatRules->total() }} 条</span>
|
|
</div>
|
|
<div class="pagination" targetType="navTab" totalCount="{{ $wechatRules->total() }}" numPerPage="{{ $wechatRules->perPage() }}" pageNumShown="10" currentPage="{{ $wechatRules->currentPage() }}"></div>
|
|
</div>
|
|
</div>
|