Merge pull request #1992 from AndreasK79/forgotten_password_tweak
[Forgotten password] Tweaked layout to be the same as login
这个提交包含在:
当前提交
623840cd70
共有 1 个文件被更改,包括 51 次插入 和 27 次删除
|
|
@ -1,14 +1,41 @@
|
||||||
<div id="container" class="container mx-auto pt-5" style="max-width:400px">
|
<style>
|
||||||
<div class="row">
|
html,
|
||||||
<div class="col-12">
|
body {
|
||||||
<div class="panel panel-default">
|
height: 100%;
|
||||||
<div class="panel-body">
|
}
|
||||||
<div class="text-center">
|
|
||||||
<h3><i class="fa fa-lock fa-4x"></i></h3>
|
body {
|
||||||
<h2 class="text-center">Forgot Password?</h2>
|
display: flex;
|
||||||
<p>You can reset your password here.</p>
|
align-items: center;
|
||||||
<div class="panel-body">
|
padding-top: 40px;
|
||||||
|
padding-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-forgot {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 430px;
|
||||||
|
padding: 15px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="email"] {
|
||||||
|
margin-bottom: -1px;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<main class="form-forgot">
|
||||||
|
<img src="<?php echo base_url()?>/CloudLog_logo.png" class="mx-auto d-block" alt=""
|
||||||
|
style="width:100px;height:100px;">
|
||||||
|
<div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="text-center">
|
||||||
|
<h3><i class="fa fa-lock fa-4x"></i></h3>
|
||||||
|
<h2 class="text-center">Forgot Password?</h2>
|
||||||
|
<p>You can reset your password here.</p>
|
||||||
|
<div class="panel-body">
|
||||||
|
|
||||||
<?php if(validation_errors() != ''): ?>
|
<?php if(validation_errors() != ''): ?>
|
||||||
<div class="alert alert-danger" role="alert">
|
<div class="alert alert-danger" role="alert">
|
||||||
<?php echo validation_errors(); ?>
|
<?php echo validation_errors(); ?>
|
||||||
|
|
@ -16,23 +43,20 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<form id="register-form" role="form" autocomplete="off" class="form" method="post" action="<?php echo site_url('user/forgot_password'); ?>">
|
<form id="register-form" role="form" autocomplete="off" class="form" method="post" action="<?php echo site_url('user/forgot_password'); ?>">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope color-blue"></i></span>
|
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope color-blue"></i></span>
|
||||||
<input id="email" name="email" placeholder="email address" class="form-control" type="email">
|
<input id="email" name="email" placeholder="email address" class="form-control" type="email">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-group">
|
||||||
<div class="form-group">
|
<input name="recover-submit" class="w-100 btn btn-primary btn-block" value="Reset Password" type="submit">
|
||||||
<input name="recover-submit" class="btn btn-lg btn-primary btn-block" value="Reset Password" type="submit">
|
</div>
|
||||||
</div>
|
<input type="hidden" class="hide" name="token" id="token" value="">
|
||||||
|
|
||||||
<input type="hidden" class="hide" name="token" id="token" value="">
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</main>
|
||||||
正在加载…
在新工单中引用