Support green login page flash message for password change success
This commit is contained in:
parent
049efae1a6
commit
43d6acd868
2 changed files with 7 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
= image_tag('logo_caps.png', :id => 'logo', :width => 98, :height => 14)
|
= image_tag('logo_caps.png', :id => 'logo', :width => 98, :height => 14)
|
||||||
|
|
||||||
- flash.each do |name, msg|
|
- flash.each do |name, msg|
|
||||||
= content_tag :p, msg, :class => "login_error"
|
%p{:class => "login_#{name}"}= msg
|
||||||
|
|
||||||
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
|
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,10 +97,15 @@ form
|
||||||
:text
|
:text
|
||||||
:shadow 0 1px #C66
|
:shadow 0 1px #C66
|
||||||
|
|
||||||
.login_error
|
.login_error,
|
||||||
|
.login_alert
|
||||||
:color rgb(208,49,43)
|
:color rgb(208,49,43)
|
||||||
:text-shadow 1px 1px 20px rgb(208,49,43)
|
:text-shadow 1px 1px 20px rgb(208,49,43)
|
||||||
|
|
||||||
|
.login_notice
|
||||||
|
:color rgb(10,150,10)
|
||||||
|
:text-shadow 1px 1px 20px rgb(126,240,77)
|
||||||
|
|
||||||
.fieldWithErrors
|
.fieldWithErrors
|
||||||
:display inline
|
:display inline
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue