Index.html 3.98 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-heading">
            <a href="/guang/article/contentAdd" class="btn btn-success"><i class="fa fa-plus"></i> 添加资讯</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <input type="text" id="articleTitle" class="form-control" placeholder="输入关键字"
                           style="height: 39px;"/>
                </div>

                <div class="panel-col">
                    <select id="articleGender" class="form-control">
                        <option value="-1">请选择性别</option>
                        <option value="1"></option>
                        <option value="2"></option>
                        <option value="3">通用</option>

                    </select>
                </div>

                <div class="panel-col">
                    <select id="authorId" class="form-control">
                        <option value="-1">请选择作者</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select id="maxSortId" class="form-control">
                        <option value="-1">请选择分类</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select id="status" class="form-control">
                        <option value="">请选择状态</option>
                        <option value="1">已发布</option>
                        <option value="0">未发布</option>
                        <option value="-1">已关闭</option>

                    </select>
                </div>

                <div class="panel-col">
                    <select id="orderBy" class="form-control">
                        <option value="-1">请选择时间方式</option>
                        <option value="create_time">添加时间</option>
                        <option value="publish_time">发布时间</option>
                    </select>
                </div>

                <div class="panel-col2">
                    <input type="text" id="starttime" class="form-control panel-input hasDatepicker" name="start_time"
                           placeholder="开始时间" value="" kl_vkbd_parsed="true">
                </div>

                <div class="panel-col2">
                    <input type="text" id="endtime" class="form-control panel-input hasDatepicker" name="end_time"
                           placeholder="结束时间" value="" kl_vkbd_parsed="true">
                </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 class="col-sm-3 control-label">标题</label>

        <div class="col-sm-9">
            <p id="title">[[articleTitle]]</p>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">定时发布时间</label>

        <div class="col-sm-9">
            <input type="text" readonly="true" class="form-control hasDatepicker" name="publish_time"
                   value="[[publishTime]]"
                   style="width:180px;" id="datepicker" required="required">
        </div>
    </div>
</script>