Skip to content

Commit

Permalink
Change flash position on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
mlainez committed Apr 4, 2011
1 parent eb75945 commit c0cf6c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
13 changes: 6 additions & 7 deletions app/views/user_sessions/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@
= f.check_box :remember_me, :class => 'checkbox'
= f.submit "login", :class => 'submit'
#revision= FULL_VERSION
- if flash[:notice]
#flash
= flash[:notice]
:javascript
Effect.Pulsate('flash', { pulses: 3, duration: 1});


#about-right
- if flash[:notice]
#flash
= flash[:notice]
:javascript
Effect.Pulsate('flash', { pulses: 3, duration: 1});

/= image_tag'login/request-membership.png', :alt => 'Request Membership', :style => "cursor: pointer; position: relative; top: 10px;", :onClick => "alert('Beta Memberships are not available right now... keep in touch (oleee)');"
.screenshot= image_tag 'login/screenshot-0.png', :alt => 'Taskboard Screenshot'
.screenshot= image_tag 'login/screenshot-1.png', :alt => 'Backlog Screenshot'
Expand Down
19 changes: 10 additions & 9 deletions public/stylesheets/sass/login.sass
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,16 @@ img
color: white
.fieldWithErrors
display: inline
#flash
+rounded(5px)
padding: 5px
background: red
color: white
font-weight: bold
position: absolute
right: -105px
top: 9px
#flash
+rounded(5px)
padding: 5px
background: red
color: white
font-weight: bold
//position: absolute
right: -105px
top: 9px
margin-bottom: 10px
#revision
font-size: 10px
position: absolute
Expand Down

0 comments on commit c0cf6c3

Please sign in to comment.