BigW Consortium Gitlab

Commit 5a211152 by Dmitriy Zaporozhets

New logo/color for login screen

parent c54d07b9
app/assets/images/login-logo.png

1.4 KB | W: | H:

app/assets/images/login-logo.png

9.97 KB | W: | H:

app/assets/images/login-logo.png
app/assets/images/login-logo.png
app/assets/images/login-logo.png
app/assets/images/login-logo.png
  • 2-up
  • Swipe
  • Onion skin
/* 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
......
<%= 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 %>
= 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
......
......@@ -5,4 +5,6 @@
= render "layouts/flash"
.container
.content
%center
= image_tag image_path "login-logo.png"
= yield
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