forked from georgesung/tennis-match
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreset_pw.html
66 lines (55 loc) · 2.5 KB
/
reset_pw.html
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Include jQuery & form validation -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.15.0/jquery.validate.min.js"></script>
<!-- Include AngularJS -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script>
<!-- Using Bootstrap CDN to include Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- Google reCAPTCHA -->
<script src='https://www.google.com/recaptcha/api.js'></script>
<!-- My own css -->
<link rel="stylesheet" type="text/css" href="/css/style.css">
<title>Reset Password</title>
</head>
<body ng-app="reset-pw">
<div class="container" id="resetPw" ng-controller="ResetPwCtrl as rpw">
<div class="row">
<div class="col-md-12">
<h4>Reset Password</h4>
<p>Please enter a new password</p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<form id="resetPwForm" name="resetPwForm" ng-submit="rpw.submitForm()">
<fieldset class="form-group">
<label>Password</label>
<input type="password" class="form-control" id="password" name="password" ng-model="fpw.password" placeholder="Password" required>
</fieldset>
<fieldset class="form-group">
<label>Confirm Password</label>
<input type="password" class="form-control" id="confPassword" name="confPassword" placeholder="Confirm Password" required>
</fieldset>
<div><em id="status"></em></div>
<button type="submit" class="btn btn-primary" id="reset">Reset Password</button>
</form>
</div>
</div>
</div>
<script src="/js/settings.js"></script>
<script src="/js/reset_pw.js"></script>
<!-- Google App Engine API -->
<script>
function init() {
gapi.client.load('tennis', 'v1', null, '//' + window.location.host + '/_ah/api');
};
</script>
<script src="https://apis.google.com/js/client.js?onload=init"></script>
</body>
</html>