/* Login Page */
body.login-page{
- background: #EEE;
+ background: #474D57;
.container .content { padding-top: 5%; }
}
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: "login-box" }) do |f|
- = image_tag "login-logo.png", width: "304", height: "66", class: "login-logo", alt: "Login Logo"
%h3 Change your password
= devise_error_messages!
= f.hidden_field :reset_password_token
+++ /dev/null
-<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: "login-box", method: :post }) do |f| %>
- <%= image_tag "login-logo.png", width: "304", height: "66", class: "login-logo", alt: "Login Logo" %>
- <%= devise_error_messages! %>
- <%= f.email_field :email, placeholder: "Email", class: "text" %>
- <br/>
- <br/>
- <%= f.submit "Reset password", class: "btn-primary btn" %>
- <div class="pull-right"> <%= link_to "Sign in", new_session_path(resource_name), class: "btn" %><br /></div>
-<% end %>
--- /dev/null
+= 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/
+ %br/
+ = f.submit "Reset password", class: "btn-primary btn"
+ .pull-right
+ = link_to "Sign in", new_session_path(resource_name), class: "btn"
+ %br/
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f|
- = image_tag "login-logo.png", width: "304", height: "66", class: "login-logo", alt: "Login Logo"
+ %h3.page_title Sign Up
+ %br
= devise_error_messages!
%div
= f.text_field :name, class: "text top", placeholder: "Name", required: true
.login-box
- = image_tag "login-logo.png", width: "304", height: "66", class: "login-logo", alt: "Login Logo"
-
+ %h3.page_title Sing in
+ %br
- if ldap_enabled?
%ul.nav.nav-tabs
%li.active
= render "layouts/flash"
.container
.content
+ %center
+ = image_tag image_path "login-logo.png"
= yield