<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <script th:replace="common/head"></script>
        <style type="text/css">
            .layui-upload-img{
                width: 92px;
                height: 92px;
                margin: 0 10px 10px 0;
            }
        </style>
    </head>
    <body>
        <!--/*@thymesVar id="onLineUser" type="com.sptg.permissions.api.entity.Account"*/-->
        <input type="hidden" id="user_org_id" th:value="${onLineUser.orgId}" />
        <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">


                                <!-- 原密码 -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>原密码</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input type="password" name="oldPwd" lay-verify="required" id="old_password" autocomplete="off" class="layui-input w350">
                                    </div>
                                </div>
                                <!-- 密码 loginPwd -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>密码</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input type="password" name="newPwd" lay-verify="password" id="new_password" autocomplete="off" class="layui-input w350">
                                    </div>
                                </div>
                                <!-- 确认密码 confirmLoginPwd -->
                                <div class="layui-form-item">
                                    <label class="layui-form-label">
                                        <span class="must">*</span>
                                        <span>确认密码</span>
                                    </label>
                                    <div class="layui-input-inline">
                                        <input type="password" name="confirmPwd" lay-verify="password|confirmPwd|passwordRe" autocomplete="off" class="layui-input w350">
                                    </div>
                                </div>

                                <!-- 按钮 -->
                                <div class="layui-form-item">
                                    <div class="layui-input-block">
                                        <button id="submit_btn" class="layui-btn" lay-submit lay-filter="entity_insert_filter">提交</button>
                                        <button type="reset" class="layui-btn layui-btn-primary">取消</button>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>


    <!-- javascript -->
    <script type="text/javascript" th:src="@{'/layui/layui.js'}"></script>
    <script type="text/javascript">
        layui.config({
            base: '/' //静态资源所在路径
        });
    </script>
    <script type="text/javascript" th:src="@{'/js/permissions/password-change.js'}"></script>
</html>