Content.html 4.38 KB
<%include '../common/__ui/header'%>
<%include '../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default">
        <div class="panel-body" style="padding-bottom: 0">
            <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 value="{categoryId}" name="categoryId" id="help-categoryId" tabindex="-1" title=""
                            class="select2-offscreen brandBtn-group">
                        <option value="-1">选择分类</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select name="platform" id="help-platform" tabindex="-1" title=""
                            class="select2-offscreen brandBtn-group">
                        <option value="" selected="">选择显示平台</option>
                        <option value="iphone">IOS手机</option>
                        <option value="ipad">IOS Pad</option>
                        <option value="android">安卓手机</option>
                        <option value="androidpad">安卓Pad</option>
                        <option value="h5">手机网站</option>
                        <option value="web">网站</option>
                        <option value="platform">平台</option>
                    </select>
                </div>
                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                    <a id="filter-all" href="/operations/helpcontent/index" class="btn btn-info">全部</a>
                </div>
            </div>
        </div>
    </div>

    <div class="panel">
        <div class="panel-body nopadding">
            <div class="dataTables_wrapper no-footer" id="content-list"></div>
        </div>
    </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="title">标题:</label>
            <input type="hidden" value="{id}" id="id"/>
            <div class="col-sm-10">
                <input type="text" style="width: 280px;" value="{title}" class="form-control" id="title" required="required"/>
                <label style="color: #ff0000; margin-top: 5px">注:标题必填</label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="content">帮助内容:</label>
            <div class="col-sm-10">
                <input type="text" style="width: 280px;" value="{content}" class="form-control" id="content" required="required"/>
                <label style="color: #ff0000; margin-top: 5px">注:帮助内容必填</label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="categoryId">分类:</label>
            <div class="col-sm-10">
                <select id="categoryId" style="width: 280px;" value="{categoryId}">
                    <option value="{categoryId}">请选择分类</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">显示平台:</label>
            <div class="col-sm-10">
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="iphone">IOS手机</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="ipad">IOS Pad</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="android">安卓手机</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="androidpad">安卓Pad</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="h5">手机网站</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="web">网站</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="platform">平台</label>
            </div>
            <input type="hidden" id="platform" value="{platform}" for="checkbox">
        </div>
    </div>
</script>

<%include '../common/__ui/footer'%>F