{% 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/>
<div>{% include "common/paginator.html" %}</div>
<br />
<div>
    <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>
        </tr>
        {% for i in lPage %}
        <tr style="font-size: 13px;">
            <td>{{ i.uuid }}</td>
            <td>{{ i.title }}</td>
            <td>{{ i.author.user.username }}</td>
            <td>{{ i.author.user.nickname  }}</td>
            <td>{{ i.importid }}</td>
            <td>{{ i.score }}</td>
            <td class="host_buttom">
                <a class="btn btn-warning btn-xs"  href={% url "pwview" i.uuid %} target="_blank">查看</a>
            </td>
        </tr>
        {% endfor %}
    </table>
</div>
<div>{% include "common/paginator.html" %}</div>
{% endblock %}