{literal}
<script id="item" type="text/html">
<div class="row margin-0">
    <div class="col-md-4 col-md-offset-4 text-left">
        <a href="{{item.poster}}" target="_blank" data-fancybox="images">
            <img src="{{item.poster}}" height='74px' onerror="this.src='/static/img/default_avatar.png'" />
        </a>
    </div>
</div>
<hr/>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>课名: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">[{{ item.id }}] - {{ item.title }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>分类: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">[{{ item.catalog.id }}] - {{ item.catalog.name }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>排序: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ item.rank_text }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>简介: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ item.subject }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>课件链接: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">
                <a target="_blank" href="{{ item.video }}">{{ item.video }}</a>
            </span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>创建时间: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ item.created_at }}</span>
        </p>
    </div>
</div>
</script>
{/literal}