freeipa/install/ui/reset_password.html
Petr Vobornik 050431c4dd webui: adjust behavior of bounce url
- bounce url param was renamed from 'redirect' to 'url'
- support for 'delay' param added

Behavior:

- "Continue to next page" link is shown if 'url' is present
- page is no longer automatically redirected if 'url' is present
- automatic redirect is controlled by 'delay' param - it specifies
  number of seconds until redirection
- info message 'You will be redirected in Xs' is show to notify
  the user that something will happen. It's useful even if delay
  is 0 or negative because redirection might be slow.
- counter is decremented every second
- delay is ignored if parsed as NaN

https://fedorahosted.org/freeipa/ticket/4440

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
2014-09-08 12:32:16 +02:00

123 lines
4.6 KiB
HTML

<!DOCTYPE html>
<html class="login-pf">
<head>
<meta charset="utf-8">
<title>IPA: Identity Policy Audit</title>
<script type="text/javascript" src="js/libs/loader.js"></script>
<script type="text/javascript">
(function() {
var styles = [
'../ui/css/patternfly.css',
'../ui/css/ipa.css',
'../ui/ipa.css'
];
ipa_loader.styles(styles);
ipa_loader.scripts([
'js/libs/jquery.js',
'reset_password.js'
]);
})();
</script>
</head>
<body>
<div class="login-pf-body">
<span id="badge">
<img src="images/login-screen-logo.png" alt="" />
</span>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div id="brand">
<img src="images/product-name.png" alt="">
</div>
</div>
<div class="col-sm-7 col-md-6 col-lg-5 login">
<form class="form-horizontal" role="form" action="/ipa/session/change_password" method="post" id="reset_password">
<div class="form-group validation-summary-group">
<div class="col-sm-12 controls">
<div class="widget validation-summary">
<div class="alert alert-success" style="display:none;">
<span class="fa fa-check-circle-o"></span><p></p>
</div>
<div class="alert alert-danger" style="display:none;">
<span class="fa fa-exclamation-circle"></span><p></p>
</div>
<div class="alert alert-warning" style="display:none;">
<span class="fa fa-warning"></span><p></p>
</div>
<div class="alert alert-info" style="display:none;">
<span class="fa fa-info-circle"></span><p></p>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-4 control-label">
<label for="user">Username</label>
</div>
<div class="col-sm-8 controls">
<div class="widget text-widget">
<input type="text" class="form-control" name="user" id="user" title="Username" accesskey="u">
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-4 control-label">
<label for="old_password">Current Password</label>
</div>
<div class="col-sm-8 controls">
<div class="widget text-widget">
<input type="password" class="form-control" name="old_password" id="old_password" accesskey="p">
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-4 control-label">
<label for="otp">OTP</label>
</div>
<div class="col-sm-8 controls">
<div class="widget text-widget">
<input type="password" class="form-control" name="otp" id="otp" accesskey="o">
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-4 control-label">
<label for="new_password">New Password</label>
</div>
<div class="col-sm-8 controls">
<div class="widget text-widget">
<input type="password" class="form-control" name="new_password" id="new_password" accesskey="n">
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-4 control-label">
<label for="verify_password">Verify Password</label>
</div>
<div class="col-sm-8 controls">
<div class="widget text-widget">
<input type="password" class="form-control" id="verify_password" accesskey="v">
</div>
</div>
</div>
<div class="form-group">
<div class="col-xs-4 col-sm-offset-4 col-sm-8 submit">
<input name="submit" class="btn btn-primary btn-lg" value="Reset" type="submit" />
</div>
</div>
</form>
</div>
<div class="col-sm-5 col-md-6 col-lg-7 details">
</div>
</div>
</div>
</div>
</body>
</html>