freeipa/install/ui/reset_password.html
Petr Vobornik 70c77e6a3c webui: support otp in reset_password.html
https://fedorahosted.org/freeipa/ticket/4262

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
2014-06-26 12:37:40 +02:00

120 lines
4.4 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>
</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>