-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (66 loc) · 2.73 KB
/
index.html
File metadata and controls
79 lines (66 loc) · 2.73 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 lang="en">
<head>
<meta charset="utf-8">
<title>The Password Simulator</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"
id="bootstrap-css">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>
<script src="password.js"></script>
</head>
<body>
<div class="container">
<div class="card" style="width: 30rem;">
<div class="card-body">
<h3 class="card-title">
The Secure Password Simulator
</h3>
This page simulates a typical user account registration.
<div class="note">
The usernames and passwords are not recorded or stored in any way.
</div>
</div>
</div>
<div class="card" style="width: 30rem;" id="login-card">
<div class="card-body">
<form onsubmit="registerUser();return false">
<h4 class="card-title">
Register your user account
</h4>
Username
<div>
<label for="uname">
<i class="fa fa-user"></i>
</label>
<input id="user-name" name="uname" type="text">
</div>
Password
<div>
<label for="upassword">
<i class="fa fa-lock"></i>
</label>
<input id="password" name="upassword" type="password">
</div>
Confirm password
<div>
<label for="upassword2">
<i class="fa fa-lock"></i>
</label>
<input id="password2" name="upassword2" type="password">
</div>
<div id="error-msg" class="alert alert-danger no-show" role="alert">
Bad password
</div>
<div>
<button class="btn btn-primary" id="register-button" type="submit">Register</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>