模态框

<div class="modal fade" id="serverBatchModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog" style="width: 600px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    批量操作
                </h4>
            </div>
            <div class="modal-body">
                <div class="form-group" style="margin-bottom: 0px;">
                    <div class="col-sm-4" style="padding-top: 10px;padding-left: 20px;">
                        <strong>告警开关</strong></div>
                    <div class="col-sm-8" style="padding-left: 0px">
                        <div id="monitor_div" class="dropdown-sin-1" placeholder="请选择">
                            <select id="monitorval" name="monitorval">
                                <option value="1">开启</option>
                                <option value="0">关闭</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div style="margin-top: 20px;">&nbsp;</div>
            <div class="modal-footer">
                <!--data-dismiss="modal" 在点击后模态框消失-->
                <button type="button" class="btn btn-default right15" data-dismiss="modal">关闭</button>
                <button id="alarm_monitor_button"  type="button" data-dismiss="modal" class="btn btn-primary">确定</button>
            </div>
        </div>
    </div>
</div>    

posted on 2020-01-02 13:53  小胖子方法  阅读(120)  评论(0编辑  收藏  举报

导航