[前端-后台]统一各列表显示项目的大致顺序,为题目列表增添可见筛选,统一对列表中boolen值的显示,是/否[CI SKIP]

This commit is contained in:
esp
2015-08-27 15:18:31 +08:00
parent 09e30832f9
commit f3b88e85fc
5 changed files with 23 additions and 10 deletions

View File

@@ -17,6 +17,7 @@
<th>题目</th>
<th>创建时间</th>
<th>作者</th>
<td>可见</td>
<td>通过次数/提交总数</td>
<td></td>
</tr>
@@ -25,6 +26,7 @@
<td>{{ el.title }}</td>
<td>{{ el.create_time|date("yyyy-MM-dd HH:mm:ss")}}</td>
<td>{{ el.created_by.username }}</td>
<td>{{ getYesOrNo(el.visible) }}</td>
<td>{{ el.total_accepted_number }}/{{ el.total_submit_number }}</td>
<td>
<button class="btn-sm btn-info" ms-click="showEditProblemPage(el.id)">编辑</button>
@@ -32,6 +34,9 @@
</td>
</tr>
</table>
<div class="form-group">
<label>仅显示可见 <input ms-duplex-checked="showVisibleOnly" type="checkbox"/></label>
</div>
<div class="text-right">
页数:{{ page }}/{{ totalPage }}&nbsp;&nbsp;
<button ms-attr-class="getBtnClass('pre')" ms-click="getPrevious">上一页</button>