Improve tabbing usability for sign in page
This commit is contained in:
parent
caaa4597a0
commit
8751491b8d
|
@ -4,6 +4,7 @@ v 8.13.0 (unreleased)
|
|||
- Improve Merge When Build Succeeds triggers and execute on pipeline success. (!6675)
|
||||
- Respond with 404 Not Found for non-existent tags (Linus Thiel)
|
||||
- Truncate long labels with ellipsis in labels page
|
||||
- Improve tabbing usability for sign in page (ClemMakesApps)
|
||||
- Adding members no longer silently fails when there is extra whitespace
|
||||
- Update runner version only when updating contacted_at
|
||||
- Add link from system note to compare with previous version
|
||||
|
|
|
@ -48,6 +48,16 @@
|
|||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.new_user {
|
||||
position: relative;
|
||||
padding-bottom: 35px;
|
||||
}
|
||||
|
||||
.sign-in {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.login-footer {
|
||||
margin-top: 10px;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
= f.text_field :login, class: "form-control top", placeholder: "Username or Email", autofocus: "autofocus", autocapitalize: "off", autocorrect: "off"
|
||||
= f.password_field :password, class: "form-control bottom", placeholder: "Password"
|
||||
.sign-in
|
||||
= f.submit "Sign in", class: "btn btn-save"
|
||||
- if devise_mapping.rememberable?
|
||||
.remember-me.checkbox
|
||||
%label{for: "user_remember_me"}
|
||||
|
@ -8,5 +10,3 @@
|
|||
%span Remember me
|
||||
.pull-right
|
||||
= link_to "Forgot your password?", new_password_path(resource_name)
|
||||
%div
|
||||
= f.submit "Sign in", class: "btn btn-save"
|
||||
|
|
Loading…
Reference in New Issue