Index.html 4.19 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">
            <div class="form-inline">

                <div class="form-group">
                    <select id="sel-type" class="form-control" style="width:120px">
                        <option value="">选择类型</option>
                        <option value="1">频道</option>
                        <option value="2">专题</option>
                        <option value="3">邮件</option>
                        <option value="4">推广</option>
                    </select>
                </div>

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

                <div class="form-group">
                    <input type="text" id="endTime" class="form-control panel-input" name="end_time"
                           placeholder="结束时间" value="" kl_vkbd_parsed="true">
                </div>

                <button type="submit" id="filter" class="btn btn-info">查询</button>
                <a type="submit" href="" id="all" class="btn btn-info">全部</a>
                <button type="submit" id="add" class="btn btn-info">新增</button>
            </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">

    <input type="text" hidden="true" id="id" value="[[id]]"/>
    [[if !modifyFlag]]
    <div class="form-group">
        <label class="col-sm-2 control-label">上传文件</label>
        <div class="col-sm-10">
            <input type="hidden" name="zip" id="zip" class="form-control" required prompt="图片包">
            <input id="uploadBox" name="图片包" type="file"
                   style="position: absolute; top: 0;left: 0;z-index: -999">
            <div id="chooseFile" class="file-name btn btn-success">上传图片包</div>
        </div>
    </div>
    [[/if]]
    <div class="form-group">
        <label for="fileType" class="col-sm-2 control-label">静态文件类型:</label>

        <div class="col-sm-8">
            <select class="form-control" value="[[fileType]]" id="fileType">
                <option value="">选择类型</option>
                <option value="1">频道</option>
                <option value="2">专题</option>
                <option value="3">邮件</option>
                <option value="4">推广</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label for="pageTitle" class="col-sm-2 control-label">页面标题:</label>
        <div class="col-sm-10">
            <input type="text" value="[[pageTitle]]" name="pageTitle" id="pageTitle" placeholder="页面标题" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="keyWord" class="col-sm-2 control-label">页面关键词:</label>
        <div class="col-sm-10">
            <input type="text" value="[[keyWord]]" name="keyWord" id="keyWord" placeholder="页面关键词" required="required" class="form-control">
        </div>
    </div>

    <div class="form-group">
        <label for="pageDesc" class="col-sm-2 control-label">页面介绍:</label>
        <div class="col-sm-10">
            <input type="text" value="[[pageDesc]]" name="pageDesc" id="pageDesc" placeholder="页面介绍" required="required" class="form-control">
        </div>
    </div>

    <div class="rows" [[if modifyFlag==0]]hidden="hidden"[[/if]]>
        <label for="content" class="col-sm-2 control-label">内容:</label>
        <script id="content" style="width: 100%;" name="content" type="text/plain"/>
    </div>


</script>