forked from HelloWorld521/Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresetPassword.html
More file actions
79 lines (71 loc) · 1.94 KB
/
resetPassword.html
File metadata and controls
79 lines (71 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>重置密码</title>
<style type="text/css">
body{
font-family: 'Lucida Grande','Trebuchet MS','Hiragino Sans GB','Segoe UI Light','Segoe UI','Microsoft Jhenghei','微软雅黑',sans-serif;
color: #666666;
}
.title{
font-size: 60px;
text-align: center;
margin-top: 150px;
}
.conter{
text-align:center;
}
.man{
margin-left: 80%;
font-size: 10px
}
.form{
position:relative;
}
.login{
margin-top: 10px;
padding: 2px 15px;
font-size: 20px;
color:rgb(95,100,233);
-webkit-transition: background 250ms ease-in, color 250ms ease-in;
border-radius: 6px;
text-decoration: none;
}
.register{
font-size:15px;
color:rgb(95,100,200);
}
</style>
<script language="javascript">
function on_submit()
{
if (form1.pass1.value.length<6)
{
alert("请输入六位以上的密码");
form1.pass1.focus();
return false;
}
if (form1.pass1.value != form1.pass2.value)
{
alert("密码与确认密码不同");
form1.pass1.focus();
return false;
}
}
</script>
</head>
<body background="images/fg.jpg">
<div class="center" align="center">
<div class="title">重置密码</div>
<form action="resetPassword.jsp" method="post" class="form" name="form1" onsubmit="return on_submit()">
<table align="center">
<!-- <tr><td>账 号:</td><td><input type="text" name="user" size=25 required="required"></td></tr> -->
<tr><td>密 码:</td><td><input type="password" name="pass1" size=25 required="required"></td></tr>
<tr><td>再次输入:</td><td><input type="password" name="pass2" size=25 required="required"></td></tr>
<tr><td align="center" colspan="3"><input type="submit" value="确定" class="login"></td></tr>
</table>
</form>
</div>
</body>
</html>