diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-06-08 16:38:17 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-06-21 12:46:59 +0200 |
commit | 1eab43d29244f6e0b8d6f3146317624715d84af7 (patch) | |
tree | 3c5d8a1c981d569e92b439684a53409ab3d5acbd /install/ui/reset_password.html | |
parent | f298a20d27701cf617c5b146a2d22c9c94d85bc3 (diff) | |
download | freeipa-1eab43d29244f6e0b8d6f3146317624715d84af7.tar.gz freeipa-1eab43d29244f6e0b8d6f3146317624715d84af7.tar.xz freeipa-1eab43d29244f6e0b8d6f3146317624715d84af7.zip |
Separate reset password page
This patch adds separate reset password page. It is a complement to separate login page. It differentiate from reset password capabilities in Web UI's anauthorized dialog by not performing login. This is useful for users who wants only to reset the password and not to use Web UI. And also for users who are using the separate login page.
https://fedorahosted.org/freeipa/ticket/2755
Diffstat (limited to 'install/ui/reset_password.html')
-rw-r--r-- | install/ui/reset_password.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/install/ui/reset_password.html b/install/ui/reset_password.html new file mode 100644 index 000000000..423d8e8b2 --- /dev/null +++ b/install/ui/reset_password.html @@ -0,0 +1,66 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <title>IPA: Identity Policy Audit</title> + + <link rel="stylesheet" type="text/css" href="ipa.css" /> + + <script type="text/javascript" src="json2.js"></script> + <script type="text/javascript" src="jquery.js"></script> + <script type="text/javascript" src="reset_password.js"></script> +</head> + +<body class="info-page login-page"> + + <div class="container_1"> + + <div class="header-logo"> + <img src="images/ipa-logo.png" /><img src="images/ipa-banner.png" /> + </div> + + <div id="formwindow"> + <h2>Reset password</h2> + + <div id="invalid" class="error-box" style="display:none"> + <p id="error-msg"></p> + </div> + + <div id="success" class="success-box" style="display:none"> + <p>Password reset was successful. + <a id="login-link" href="login.html">Return to login page.</a></p> + </div> + + <form id="login"> + <ul> + <li> + <label for="username">Username:</label> + <input type="text" id="username" name="username" accesskey="u" /> + </li> + <li> + <label for="password">Current Password:</label> + <input type="password" id="password" name="password" accesskey="p" /> + </li> + <li> + <label for="new_password">New Password:</label> + <input type="password" id="new_password" name="new_password" accesskey="n" /> + </li> + <li> + <label for="verify_password">Verify Password:</label> + <input type="password" id="verify_password" name="verify_password" accesskey="v" /> + </li> + </ul> + + <div class="formbutton"> + <input name="submit" value="Reset" type="submit" /> + </div> + </form> + <div style="display:none" class="form-box" id="reset_pwd_link"> + <p><a href="#">Reset password again</a></p> + </div> + </div> + </div> + +</body> + +</html> |