12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- {% extends "base.html" %}
- {% block title %}
- 投票记录列表
- {% endblock %}
- {% block content %}
- <div class="section section-breadcrumbs section-breadcrumbs-backend">
- <div class="container">
- <div class="row">
- <div class="col-md-12">
- <h1>投票记录列表</h1>
- </div>
- </div>
- </div>
- </div>
- <hr/>
- {{FilterHTML|safe}}
- <table class="table table-hover table-striped table-bordered table-condensed">
- <tr>
- <th>作品ID</th>
- <th>作品标题</th>
- <th>投票者账号</th>
- <th>投票者姓名</th>
- <th>参赛者账号</th>
- <th>参赛者姓名</th>
- <th>投票理由</th>
- <th>投票时间</th>
- </tr>
- {% for i in lPage %}
- <tr style="font-size: 13px;">
- <td>{{ i.target.uuid }}</td>
- <td>{{ i.target.title }}</td>
- <td>{{ i.voter.username }}</td>
- <td>{{ i.voter.nickname }}</td>
- <td>{{ i.target.author.user.username }}</td>
- <td>{{ i.target.author.user.nickname }}</td>
- <td>
- {{ i.comment |slice:"20" }}...
- <span id="cmt_{{i.id}}" style="display:none">{{i.comment}}</span>
- <button class="btn btn-xs btn-primary" onclick="alert($('#cmt_{{i.id}}').html());">详细</button>
- </td>
- <td>{{ i.time | date:"Y-m-d H:i:s" }}</td>
- </tr>
- {% endfor %}
- </table>
- {% include "common/paginator.html" %}
- {% endblock %}
|