{% extends "layout.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>标题</th>
            <th>作品描述</th>
            <th>得票数</th>
            <th>操作</th>
        </tr>
        {% for i in lPage %}
        <tr style="font-size: 13px;">
            <td>{{ i.title }}</td>
            <td>{{ i.desc |slice:"35" }}...</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 %}