<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <script th:replace="common/head"></script>
    </head>
    <body>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-form" lay-filter="entity_form">

                                <!-- 开门密码 -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>开门密码:</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input name="openDoorPwd" type="text" lay-verify="password" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <!-- 管理密码 -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>管理密码:</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input name="adminPwd" type="text" lay-verify="password" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <!-- 人脸识别度 -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>识别度达:</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input name="faceResolution" type="number" placeholder="请输入" value="80" class="layui-input" lay-verify="number" />
                                    </div>
                                    <div class="layui-form-mid layui-word-aux">%,时可进行开门</div>
                                </div>
                                <!-- 开门时长 -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>开门时长:</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input name="delay" type="number" lay-verify="required" value="5" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <!-- 是否启用时间策略 -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span>启用策略:</span>
                                    </label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="timeStrategyIsEnable" value="1" title="是" checked>
                                        <input type="radio" name="timeStrategyIsEnable" value="2" title="否">
                                    </div>
                                </div>

                                <!-- 按钮 -->
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <button class="layui-btn" lay-submit lay-filter="entity_submit_event">提交</button>
                                        <button type="reset" class="layui-btn layui-btn-primary">取消</button>
                                    </div>
                                </div>
                                <!--/*@thymesVar id="item" type="java.lang.Long"*/-->
                                <input th:each="item : ${idList}" type="hidden" name="idList" th:value="${item}" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>

    <!-- javascript -->
    <script type="text/javascript" th:src="@{'/layui/layui.js'}" charset="utf-8"></script>
    <script type="text/javascript">
        layui.config({
            base: '/' //静态资源所在路径
        });
    </script>
    <script type="text/javascript" th:src="@{'/js/device/device-batch-edit.js'}" charset="utf-8"></script>

</html>