style Reset Password

This commit is contained in:
Felix Niklas 2014-07-04 12:29:52 +02:00
parent 2fe0e54111
commit 37ae82bd05
4 changed files with 27 additions and 21 deletions

View file

@ -1,5 +1,5 @@
class Index extends App.ControllerContent class Index extends App.ControllerContent
className: 'container' className: 'reset_password fit'
events: events:
'submit form': 'submit' 'submit form': 'submit'

View file

@ -1,14 +1,18 @@
<div class="hero-unit"> <div class="fullHeight vertical center justified">
<% if @sent: %> <div class="hero-unit">
<h2><%- @T('We\'ve sent password reset instructions to your email address.') %><small></small></h2> <% if @sent: %>
<p><%- @T('If you don\'t receive instructions within a minute or two, check your email\'s spam and junk filters, or try resending your request.') %></p> <h2><%- @T('We\'ve sent password reset instructions to your email address.') %><small></small></h2>
<a href="#" class="retry">&raquo; <%- @T('again') %> &laquo;</a> <p><%- @T('If you don\'t receive instructions within a minute or two, check your email\'s spam and junk filters, or try resending your request.') %></p>
<% end %> <a href="#" class="subtle retry">&raquo; <%- @T('again') %> &laquo;</a>
<div id="form-password"> <% end %>
<h2><%- @T( 'Forgot your password?' ) %><small></small></h2> <div id="form-password">
<form id="form-password-item" class="form-normal"> <h2><%- @T( 'Forgot your password?' ) %><small></small></h2>
<a href="#/" class="btn btn-default cancel"><%- @T( 'Cancel' ) %></a> <form id="form-password-item">
<button class="btn btn-primary submit"><%- @T( 'Submit' ) %></button> <div class="form-controls">
</form> <a class="subtle-link standalone pull-left cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
<button class="btn btn-primary submit pull-right"><%- @T( 'Submit' ) %></button>
</div>
</form>
</div>
</div> </div>
</div> </div>

View file

@ -1,7 +1,8 @@
<div class="hero-unit"> <div class="fullHeight vertical center justified">
<h2><%- @T( 'Choose your new password.' ) %><small></small></h2> <div class="hero-unit">
<form class="form-normal"> <h2><%- @T( 'Choose your new password.' ) %><small></small></h2>
<p id="form-password-change"></p> <form id="form-password-change">
<button class="btn btn-primary submit"><%- @T( 'Submit' ) %></button> <button class="btn btn-primary submit"><%- @T( 'Submit' ) %></button>
</form> </form>
</div>
</div> </div>

View file

@ -395,6 +395,7 @@ h1 {
} }
h2 { h2 {
font-size: 19px; font-size: 19px;
line-height: 25px;
color: rgba(0,8,14,.73); color: rgba(0,8,14,.73);
} }
h3 { h3 {
@ -444,7 +445,6 @@ label {
.help-inline { .help-inline {
color: red; color: red;
padding: 0 2px;
font-size: 13px; font-size: 13px;
} }
@ -590,7 +590,8 @@ label {
0 6px 20px 0 rgba(0, 0, 0, 0.19); 0 6px 20px 0 rgba(0, 0, 0, 0.19);
} }
.hero-unit h1 { .hero-unit h1,
.hero-unit h2 {
margin-top: 0; margin-top: 0;
} }