<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html >
<html lang="zh-CN">
<head>
    <title>短信配置</title>
    <link rel="stylesheet" href="${ctx}/css/plugin/bootstrap/bootstrap.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/datatables/datatables.bootstrap.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/datatables/buttons.dataTables.min.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/fontawesome/font-awesome.min.css">
    <link rel="stylesheet" href="${ctx}/css/basic.css">
    <link rel="stylesheet" href="${ctx}/js/plugin/layui/css/layui.css">
    <style>
        .layui-form-label {
            padding: 5px 3px;
            height: 28px;
            font-weight:600;
            width: 100px;
        }
        .layui-elem-quote {
            height: 30px;
            line-height: 2px;
            font-weight: 700;
        }
        .layui-form {
            padding: 20px 30px;
            border-style: groove;
            border-radius: 5px;
        }

        .layui-form-checked[lay-skin=primary] i {
            color: #fff;
            background-color: var(--primarycolor);
            border-color: var(--primarycolor);
        }
        .layui-form-checked span,.layui-form-checked:hover span {
            background-color: var(--primarycolor);
            border-color: var(--primarycolor);
        }
        .styleD {
            width: 120px;
            height: 28px;
            border-radius: 3px
        }

    </style>
</head>
<body class="bg-white">

<div style="padding: 3% 3%">
    <form class="layui-form" action="">
        <blockquote class="layui-elem-quote" >短信基本配置</blockquote>
            <div class="layui-form-item" style="margin-left: 110px">
                <label class="layui-form-label" >短信发送功能</label>
                <div class="layui-input-inline" style="margin-left: 5px">
                    <select class="styleD"  type="text" id="isSend" name="isSend" lay-ignore lay-verify="required">
                        <option value="0">关闭</option>
                        <option value="1">启用</option>
                    </select>
                </div>

                <label class="layui-form-label" >事件扫描间隔</label>
                <div class="layui-input-inline" style="margin-left: 5px">
                    <select class="styleD" type="text" id="timeInterval" name="timeInterval" lay-ignore lay-verify="required" placeholder="请选择间隔时间"
                            autocomplete="off" >
                        <option value="2">2分钟</option>
                        <option value="3">3分钟</option>
                        <option value="5">5分钟</option>
                        <option value="10">10分钟</option>
                        <option value="30">30分钟</option>
                    </select>
                </div>

                <label class="layui-form-label" >离线数据时间</label>
                <div class="layui-input-inline" style="margin-left: 5px">
                    <select class="styleD" type="text" id="offDay" name="offDay" lay-verify="required" lay-ignore placeholder="请选择离线天数"
                            autocomplete="off" >
                        <option value="1">1天</option>
                        <option value="2">2天</option>
                        <option value="3">3天</option>
                        <option value="4">4天</option>
                        <option value="5">5天</option>
                        <option value="6">6天</option>
                        <option value="7">7天</option>
                    </select>
                </div>

            </div>

        <div class="layui-form-item" >
            <blockquote class="layui-elem-quote">短信发送时间段设置</blockquote>
            <div class="layui-input-block"  id="content_time" ></div>
        </div>
        <div class="layui-form-item" >
            <blockquote class="layui-elem-quote">类型设置</blockquote>
            <div class="layui-input-block" id="content_type" ></div>
        </div>
        <div class="layui-form-item" style="text-align: center">
            <button id="updateBase" lay-submit lay-filter="updateBase" type="button" style="height: 30px;line-height: 15px" class="btn btn-primary">设置</button>
        </div>
    </form>
</div>
<input type="hidden" id="username" value="${username}">
<script src="${ctx}/js/plugin/jquery/jquery.min.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap.min.js"></script>
<script src="${ctx}/js/plugin/jquery/jquery.dataTables.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="${ctx}/js/plugin/datatables/datatables.bootstrap.js"></script>
<script src="${ctx}/js/plugin/bootstrap-table/bootstrap-table.js"></script>
<script src="${ctx}/js/plugin/datatables/dataTables.buttons.min.js"></script>
<script src="${ctx}/js/plugin/datatables/buttons.html5.min.js"></script>
<script src="${ctx}/js/plugin/bootstrap-table/locales/bootstrap-table-zh-CN.js"></script>
<script src="${ctx}/js/plugin/layui/layui.js"></script>
<script src="${ctx}/js/basic.js"></script>
<script src="${ctx}/js/plugin/xss/xss.js"></script>
<script src="${ctx}/jspJS/utils/loading.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/js/plugin/xss/aes.js"></script>
<script src="${ctx}/jspJS/sm2.js"></script>
<script src="${ctx}/jspJS/sm3.js"></script>
<script src="${ctx}/js/plugin/xss/security.js"></script>
<script src="${ctx}/jspJS/confirmIndentity.js"></script>
<script src="${ctx}/jspJS/message/messageConfig.js"></script>
</body>
</html>
