Index.html 1.5 KB
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>

<div class="contentpanel">
    <div style="margin-bottom: 20px">
        <a class="btn btn-success" id="add-btn" ><i class="fa fa-plus"></i> 添加作者</a>
    </div>
    <div class="panel">
        <div class="panel-body nopadding">
            <div id="color-list" class="color dataTables_wrapper no-footer"></div>
        </div>
    </div>
</div>


<script type="text/template" id="template">
    <div class="form-group">
        <input type="hidden" name="" value="[[uid]]" id="uid" class="form-control" pattern="" title="">
        <label for="username" class="col-sm-2 control-label">作者名称:</label>
        <div class="col-sm-10">
            <input type="text" value="[[username]]" name="content" id="username" placeholder="作者名称" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="authorDesc" class="col-sm-2 control-label">作者描述:</label>
        <div class="col-sm-10">
            <input type="text" value="[[authorDesc]]" name="content" id="authorDesc" placeholder="作者描述" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="avatar" class="col-sm-2 control-label">作者头像:</label>
        <div class="col-sm-8" id="colorUrlBox">
            <input type="file" id="avatar" name="colorValue" value="[[avatar]]">
        </div>
    </div>
</script>