fix: reset_code.tpl card block expanding to bottom of container
parent
472fbd85b8
commit
2792d77104
@ -1,42 +1,42 @@
|
|||||||
<!-- IMPORT partials/breadcrumbs.tpl -->
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
||||||
|
|
||||||
{{{ if valid }}}
|
<div class="row col-12 col-sm-6 offset-sm-3">
|
||||||
<div class="card card-body bg-light">
|
{{{ if valid }}}
|
||||||
{{{ if displayExpiryNotice }}}
|
<div class="card card-body bg-light">
|
||||||
<div class="alert alert-warning">
|
{{{ if displayExpiryNotice }}}
|
||||||
[[reset_password:password_expired]]
|
<div class="alert alert-warning">
|
||||||
</div>
|
[[reset_password:password_expired]]
|
||||||
{{{ end }}}
|
|
||||||
<div class="alert alert-success alert-dismissible hidden" id="success">
|
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
||||||
<strong>[[reset_password:password_changed.title]]</strong>
|
|
||||||
<p>[[reset_password:password_changed.message]]</p>
|
|
||||||
</div>
|
|
||||||
<div class="alert alert-warning hidden" id="notice">
|
|
||||||
<strong></strong>
|
|
||||||
<p></p>
|
|
||||||
</div>
|
|
||||||
<form onsubmit="return false;" id="reset-form" class="row">
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<label class="form-label" for="password">[[reset_password:new_password]]</label>
|
|
||||||
<input class="form-control" type="password" placeholder="[[reset_password:new_password]]" id="password" /><br />
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
{{{ end }}}
|
||||||
<label class="form-label" for="repeat">[[reset_password:repeat_password]]</label>
|
<div class="alert alert-success alert-dismissible hidden" id="success">
|
||||||
<input class="form-control" type="password" placeholder="[[reset_password:repeat_password]]" id="repeat" /><br />
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
||||||
|
<strong>[[reset_password:password_changed.title]]</strong>
|
||||||
|
<p>[[reset_password:password_changed.message]]</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="alert alert-warning hidden" id="notice">
|
||||||
|
<strong></strong>
|
||||||
|
<p></p>
|
||||||
|
</div>
|
||||||
|
<form onsubmit="return false;" id="reset-form">
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label" for="password">[[reset_password:new_password]]</label>
|
||||||
|
<input class="form-control" type="password" placeholder="[[reset_password:new_password]]" id="password" /><br />
|
||||||
|
</div>
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label" for="repeat">[[reset_password:repeat_password]]</label>
|
||||||
|
<input class="form-control" type="password" placeholder="[[reset_password:repeat_password]]" id="repeat" /><br />
|
||||||
|
</div>
|
||||||
<button class="btn btn-primary btn-block" id="reset" type="submit">[[reset_password:reset_password]]</button>
|
<button class="btn btn-primary btn-block" id="reset" type="submit">[[reset_password:reset_password]]</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{{{ else }}}
|
||||||
|
<div class="card text-bg-danger">
|
||||||
|
<h5 class="card-header">
|
||||||
|
[[reset_password:wrong_reset_code.title]]
|
||||||
|
</h5>
|
||||||
|
<div class="card-body">
|
||||||
|
<p>[[reset_password:wrong_reset_code.message]]</p>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{{{ else }}}
|
|
||||||
<div class="card text-bg-danger">
|
|
||||||
<h5 class="card-header">
|
|
||||||
[[reset_password:wrong_reset_code.title]]
|
|
||||||
</h5>
|
|
||||||
<div class="card-body">
|
|
||||||
<p>[[reset_password:wrong_reset_code.message]]</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{{ end }}}
|
||||||
{{{ end }}}
|
</div>
|
Loading…
Reference in New Issue