<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${ctx}/js/plugin/layui/css/layui.css"
          media="all">
    <link rel="stylesheet"
          href="${ctx}/css/plugin/bootstrap/bootstrap.min.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/basic.css">
    <style type="text/css">
        html {
            overflow: hidden;
        }

        .layui-form-label {
            padding: 5px 3px;
            height: 28px;
            font-weight: 400;
            width: 70px;
        }

        .layui-input-block {
            margin-left: 80px;
        }

        .styleD {
            width: 180px;
            height: 28px;
            border-radius: 3px
        }


    </style>
</head>
<body>
<form class="layui-form" style="padding: 20px 2px 0px 2px " action="">
    <div class="layui-form-item">
        <label class="layui-form-label">类型名称</label>
        <div class="layui-input-block">
            <input type="text" name="msg_name" lay-verify="required|clength" autocomplete="off" lay-ignore
                   placeholder="请输入名称"
                   class="layui-input styleD">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">临界最小值</label>
        <div class="layui-input-block">
            <input type="text" name="value1" lay-verify="required|number" autocomplete="off" lay-ignore
                   placeholder="请输入最小值"
                   class="layui-input styleD">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">临界最大值</label>
        <div class="layui-input-block">
            <input type="text" name="value2" lay-verify="required|number" autocomplete="off" lay-ignore
                   placeholder="请输入最大值"
                   class="layui-input styleD">
        </div>
    </div>
    </div>


    <div class="layui-form-item" style="text-align: center;margin-top: 30px">
            <button type="button" class="btn btn-sm btn-primary"
                    lay-submit lay-filter="addType">提交
            </button>
    </div>
</form>

<input type="hidden" id="configIndex" value="${configIndex}">
<script src="${ctx}/js/plugin/jquery/jquery.min.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/layui/layui.js"></script>
<script src="${ctx}/js/basic.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/js/plugin/xss/xss.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/addTypeTemplate.js"></script>
</body>
</html>
