-
Notifications
You must be signed in to change notification settings - Fork 328
/
forgot.php
96 lines (70 loc) · 2.81 KB
/
forgot.php
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
include 'app.php'; // import php files
?>
<!DOCTYPE html>
<html>
<head>
<title>Forgot Password</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- include styles -->
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link type="text/css" href="css/app.css" rel="stylesheet">
<link type="text/css" href="css/messages.css" rel="stylesheet">
<link type="text/css" href="css/login.css" rel="stylesheet">
<link type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.min.css" rel="stylesheet">
</head>
<body id="forgot" class="external default">
<p id="message">
<span></span>
<a class="close" href="#"></a>
</p>
<!-- begin content -->
<div class="content">
<h1>Respond</h1>
<fieldset class="forgot" data-bind="visible:hasToken()==false">
<p>
Type your email address and we will send you a link to reset your password.
</p>
<div class="control-group">
<label for="email">Email:</label>
<input id="email" type="text" value="" placeholder="you@yourlogin.com">
</div>
<span class="actions">
<button type="submit" class="primary-button" data-bind="click:forgot">Send Email</button>
</span>
</fieldset>
<!-- /.forgot -->
<fieldset class="reset" data-bind="visible:hasToken()==true">
<p>
Welcome back <?php print $p->Email; ?>. Type a new password for your account.
</p>
<div class="control-group">
<label for="password">Password:</label>
<input id="password" type="password" placeholder="New Password">
</div>
<div class="control-group">
<label for="retype">Retype Password:</label>
<input id="retype" type="password" placeholder="Retype New Password">
</div>
<span class="actions">
<button type="submit" class="primary-button" data-bind="click:reset">Change Password</button>
</span>
</fieldset>
<!-- /.reset -->
<p class="return">
<a href="/">Return to Login</a>
</p>
<small>Version 2.0. Made by <a href="http://matthewsmith.com">Matthew Smith</a> in Manchester, MO</small>
</div>
<!-- /.content -->
</body>
<!-- include js -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/helper/knockout-2.2.0.js"></script>
<script type="text/javascript" src="js/helper/moment.min.js"></script>
<script type="text/javascript" src="js/global.js"></script>
<script type="text/javascript" src="js/messages.js"></script>
<script type="text/javascript" src="js/viewModels/forgotModel.js"></script>
</html>