articleCategoryManager.html 2.76 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a href="">文章分类管理</a></li>
                <li>文章分类管理</li>
            </ul>

            <div>
                <div style="width: 30%;float: left;">
                    <h4>文章分类管理</h4>
                </div>
            </div>
        </div>
    </div>
</div>

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

        </div>
    </div>
</div>

<script type="text/template" id="template">
    <div class="form-group" id="maxsord">
        <label for="parentId" class="col-sm-2 control-label">一级分类名:</label>
        <div class="col-sm-10">
            <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title="">
            <select id="parentId" value="[[parentId]]" class="form-control">
                <option value="0">请选择分类</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label for="name" class="col-sm-2 control-label">分类名:</label>
        <div class="col-sm-10">
            <input type="text" value="[[name]]" name="content" id="name" placeholder="分类名" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="orderBy" class="col-sm-2 control-label">排序:</label>
        <div class="col-sm-10">
            <input type="number" value="[[orderBy||0]]" name="content" id="orderBy" placeholder="排序" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="advertCode" class="col-sm-2 control-label">广告码:</label>
        <div class="col-sm-10">
            <input type="text" value="[[advertCode]]" name="content" id="advertCode" placeholder="广告码" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="status" class="col-sm-2 control-label">是否启用:</label>
        <div class="radio">
            <label><input type="radio" value="1" name="status" kl_vkbd_parsed="true">开启</label>
            <label><input type="radio" value="0" name="status" kl_vkbd_parsed="true" checked>关闭</label>
        </div>
        <input id="status" type="hidden" value="[[status]]" for="radio"  kl_vkbd_parsed="true">
    </div>
</script>