You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.6 KiB
37 lines
1.6 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>修改密码</title>
|
|
</head>
|
|
<body>
|
|
<div class="Add">
|
|
<form id="userForm" name="userForm" method="post" action="">
|
|
<input type="hidden" name="method" value="savepwd"> <!--隐藏域-->
|
|
<div class="info">message</div> <!--这里的message利用后端响应回来-->
|
|
<div class="">
|
|
<label for="oldPassword">旧密码:</label> <!--利用ajax通过session进行密码校验-->
|
|
<input type="password" name="oldpassword" id="oldpassword" value="">
|
|
<font color="red"></font>
|
|
</div>
|
|
<div>
|
|
<label for="newPassword">新密码:</label>
|
|
<input type="password" name="newpassword" id="newpassword" value="" required>
|
|
<font color="red"></font>
|
|
</div>
|
|
<div>
|
|
<label for="rnewPassword">确认新密码:</label>
|
|
<input type="password" name="rnewpassword" id="rnewpassword" value="" required>
|
|
<font color="red"></font>
|
|
</div>
|
|
<div class="AddBtn">
|
|
<input type="button" name="save" id="save" value="保存" class="input-button">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css"/>
|
|
<script src="../static/js/jquery-3.6.0.js"></script>
|
|
<script src="../static/bootstrap/js/bootstrap.min.js"></script>
|
|
</body>
|
|
</html>
|
|
<script type="text/javascript" src="../static/js/pwdmodify.js"></script> |