Commit 7984d3ca authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Minor UI fixes for login page

parent 083990c7
......@@ -193,19 +193,6 @@ li.note {
}
}
.remember_me {
text-align: left;
input {
margin: 0;
}
span {
padding-left: 5px;
}
}
.rss-icon {
img {
width: 24px;
......@@ -217,7 +204,6 @@ li.note {
}
}
.supp_diff_link,
.show-all-commits {
cursor: pointer;
......
/* Login Page */
body.login-page{
background: #474D57;
.container .content { padding-top: 5%; }
.container .content { padding-top: 4%; }
}
.login-box{
......@@ -37,3 +37,11 @@ body.login-page{
}
.login-box a.forgot{float: right; padding-top: 6px}
.remember_me {
text-align: left;
input {
margin: 2px;
}
}
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: "login-box", method: :post }) do |f|
%h3.page-title Reset password
%br
= devise_error_messages!
= f.email_field :email, placeholder: "Email", class: "text"
%br/
......
......@@ -2,10 +2,11 @@
= f.text_field :login, class: "text top", placeholder: "Username or Email", autofocus: "autofocus"
= f.password_field :password, class: "text bottom", placeholder: "Password"
- if devise_mapping.rememberable?
.clearfix.inputs-list
.clearfix.append-bottom-10
%label.checkbox.remember_me{for: "user_remember_me"}
= f.check_box :remember_me
%span Remember me
%div
= f.submit "Sign in", class: "btn-create btn"
.pull-right
= link_to "Forgot your password?", new_password_path(resource_name), class: "btn"
......
.login-box
%h3.page-title Sign in
%br
- if ldap_enabled?
%ul.nav.nav-tabs
%li.active
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment