Index.html 2.53 KB
<%include '../../common/__ui/header'%>

<%include '../../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default" style="...">
        <div class="panel-heading">
            <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <select name="type" id="type-filter" tabindex="-1" title=""
                            class="form-control" required="required">
                        <option value="-1">类型</option>
                        <option value="1">拍摄类型</option>
                        <option value="2">拍摄风格</option>
                        <option value="3">模特类型</option>
                        <option value="4">道具类型</option>
                        <option value="5">滤镜效果</option>
                        <option value="6">摄影场景</option>
                        <option value="7">背景类型</option>
                    </select>
                </div>
                <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
            </div>
        </div>
    </div>
    <div id="content-list"></div>
</div>

<script type="text/template" id="template">
    <div class="rows" id="baseform" >
        <div class="form-group">
            <label class="col-sm-2 control-label" for="type">选择类别</label>
            <div class="col-sm-8">
                <select id="type" class="form-control observe" value="[[type]]"
                        data-field="type" placeholder="类别" required="required">
                    <option value="-1">请选择 </option>
                    <option value="1">拍摄类型 </option>
                    <option value="2">拍摄风格</option>
                    <option value="3">模特类型</option>
                    <option value="4">道具类型</option>
                    <option value="5">滤镜效果</option>
                    <option value="6">摄影场景</option>
                    <option value="7">背景类型</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="name">名称</label>
            <div class="col-sm-8">
                <input type="text" value="[[name]]" class="form-control observe" data-field="name" id="name" placeholder="名称" required="required"/>
            </div>
        </div>

    </div>
</script>