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

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-body">
            <a id="add-btn" href="javascript:;" class="btn btn-info">添加分类</a>
        </div>
        <div class="panel-body">

            <div class="row">

                <div class="panel-col">
                    <select id="g-status" class="form-control">
                        <option value="-1">选择状态</option>
                        <option value="0">关闭</option>
                        <option value="1">开启</option>

                    </select>
                </div>

                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                    <a id="all-btn" href="" class="btn btn-info">全部</a>
                </div>

            </div>
        </div>
    </div>
    <div class="panel panel-primary-head">
        <div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
            <div class="dataTables_length" id="basicTable">
            </div>
            <nav>
                <ul id="pagination" class="pagination pagination-lg"></ul>
            </nav>
        </div>
    </div>
</div>


<script type="text/template" id="template">



    <div class="form-group">
        <label for="categoryName" class="col-sm-2 control-label">分类名称</label>
        <div class="col-sm-10">
            <input type="text" name="" id="id" value="[[id]]" hidden="true"/>
            <input type="text" name="" id="status" value="[[status]]" hidden="true"/>
            <input type="text" value="[[categoryName]]" name="content" id="categoryName" placeholder="分类名称" required="required" class="form-control">
            <p style="color:gray;">注:分类名称必填</p>
        </div>

    </div>

    <div class="form-group">
        <label for="contentCode" class="col-sm-2 control-label">资源位码(head)</label>
        <div class="col-sm-10">
            <input value="[[contentCode]]" name="contentCode" id="contentCode" placeholder="资源位码(head)" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="contentCodeFoot" class="col-sm-2 control-label">资源位码(foot)</label>
        <div class="col-sm-10">
            <input value="[[contentCodeFoot]]" name="contentCodeFoot" id="contentCodeFoot" placeholder="资源位码(foot)" required="required" class="form-control">
        </div>
    </div>


</script>