refactor buttons pt1
This commit is contained in:
parent
9fdbdc662a
commit
033aa1a885
75 changed files with 139 additions and 150 deletions
|
@ -8,5 +8,5 @@
|
|||
%div
|
||||
= f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm new password"
|
||||
%div
|
||||
= f.submit "Change my password", class: "btn primary"
|
||||
= f.submit "Change my password", class: "btn btn-primary"
|
||||
.right= render partial: "devise/shared/links"
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
<%= f.email_field :email, :placeholder => "Email", :class => "text" %>
|
||||
<br/>
|
||||
<br/>
|
||||
<%= f.submit "Reset password", :class => "primary btn" %>
|
||||
<%= f.submit "Reset password", :class => "btn-primary btn" %>
|
||||
<div class="right"> <%= link_to "Sign in", new_session_path(resource_name), :class => "btn" %><br /></div>
|
||||
<% end %>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
%div
|
||||
= f.password_field :password_confirmation, :class => "text bottom", :placeholder => "Confirm password", :required => true
|
||||
%div
|
||||
= f.submit "Sign up", :class => "primary btn wide"
|
||||
= f.submit "Sign up", :class => "btn-primary btn wide"
|
||||
%br
|
||||
%hr
|
||||
= link_to "Sign in", new_session_path(resource_name)
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
= text_field_tag :username, nil, {:class => "text top", :placeholder => "LDAP Login"}
|
||||
= password_field_tag :password, nil, {:class => "text bottom", :placeholder => "Password"}
|
||||
%br/
|
||||
= submit_tag "LDAP Sign in", :class => "primary btn"
|
||||
= submit_tag "LDAP Sign in", :class => "btn-primary btn"
|
||||
- if devise_mapping.omniauthable?
|
||||
- (resource_class.omniauth_providers - [:ldap]).each do |provider|
|
||||
%hr/
|
||||
= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider), :class => "btn primary"
|
||||
= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider), :class => "btn btn-primary"
|
||||
%br/
|
||||
%hr/
|
||||
%a#other_form_toggle{:href => "#", :onclick => "javascript:$('#new_user').toggle();"} Other Sign in
|
||||
|
@ -24,6 +24,6 @@
|
|||
= f.check_box :remember_me
|
||||
%span Remember me
|
||||
%br/
|
||||
= f.submit "Sign in", :class => "primary btn"
|
||||
= f.submit "Sign in", :class => "btn-primary btn"
|
||||
.right
|
||||
= render :partial => "devise/shared/links"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
= f.check_box :remember_me
|
||||
%span Remember me
|
||||
%br/
|
||||
= f.submit "Sign in", :class => "primary btn wide"
|
||||
= f.submit "Sign in", :class => "btn-primary btn wide"
|
||||
.right
|
||||
= link_to "Forgot your password?", new_password_path(resource_name), :class => "btn"
|
||||
%br/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue