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

<div class="contentpanel">
    <div style="margin-bottom: 20px">
        <a class="btn btn-success " id="add-platform"><i class="fa fa-plus"></i> 添加平台</a>
    </div>
    <div class="panel">
        <div class="panel-body nopadding">
            <div id="content-list"></div>
        </div>
    </div>
</div>

<script type="text/template" id="platform-template">
    <div class="panel-body" id="base-form">
        <div class="form-group">
            <label class="col-sm-3 control-label">平台名称 <span class="asterisk">*</span></label>
            <div class="col-sm-9">
                <input type="hidden" value="[[platformId]]", id="platformId" />
                <input type="text" name="platform_name" class="form-control" value="[[platformName]]" id="platformName" placeholder="请填写平台名称" required="required">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">平台标志</label>
            <div class="col-sm-9">
                <input type="text" name="platform_flag" value="[[platformFlag]]" id="platformFlag" class="form-control">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">状态 <span class="asterisk">*</span></label>
            <div class="col-sm-9">
                <div class="rdio rdio-primary">
                    <input type="radio" id="male" value="1" name="status">
                    <label for="male">开启</label>
                </div><!-- rdio -->
                <div class="rdio rdio-primary">
                    <input type="radio" value="0" id="female" name="status">
                    <label for="female">关闭</label>
                </div><!-- rdio -->
                <label id="genderError" class="error"></label>
            </div>
            <input type="hidden" value="[[status]]" id="status" for="radio" />
        </div><!-- form-group -->

    </div>
</script>