-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (40 loc) · 1.8 KB
/
index.html
File metadata and controls
57 lines (40 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<title>BootStrength</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/boot_strength.css" type="text/css">
<script src="https://code.jquery.com/jquery-2.1.4.min.js" type="text/javascript"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<script src="js/boot_strength.js" type="text/javascript"></script>
</head>
<body>
<div class="container" style="width: 500px;">
<h2 class="form-signin-heading">BootStrength</h2>
<form role="form">
<div class="form-group boot_strength">
<label for="password">Please enter a new password</label>
<input type="password" class="form-control" id="password" name="password" value=''>
</div>
<div class="form-group boot_strength">
<label for="password2">Please repeat your password</label>
<input type="password" class="form-control" id="password2" name="password2" value=''>
</div>
<br/>
<button class="btn btn-lg btn-primary btn-block" type="submit" id="submit_button">Submit</button>
</form>
</div><!-- end container -->
</body>
<script>
$(function(){
$('#password').boot_strength({
strength_minlength: 10,
strength_required_special:3
});
$('#password2').boot_strength({
strength_minlength: 9,
});
}); // end document.ready
</script>
</html>