Skip to content

Commit c171cc5

Browse files
authored
Merge pull request #239 from coopdevs/feature/new-landing-page
New landing page styles
2 parents 1a68f29 + dbecd5f commit c171cc5

File tree

25 files changed

+1099
-503
lines changed

25 files changed

+1099
-503
lines changed

app/assets/images/checked.png

2.36 KB
Loading

app/assets/images/home_back.jpg

891 KB
Loading
592 KB
Loading

app/assets/javascripts/application.js.coffee

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@ angular.module "timeoverflow", ["ng-rails-csrf", 'ui.bootstrap']
99
$(document).on 'click', 'a[data-popup]', (event) ->
1010
window.open($(this).attr('href'), 'popup', 'width=600,height=600')
1111
event.preventDefault()
12+
13+
14+
$(document).on 'click', 'span.show-password', (event) ->
15+
if $(this).hasClass('checked')
16+
$(this).removeClass('checked');
17+
$(this).prev('input').attr('type', 'password');
18+
$(this).find('.material-icons').html("visibility")
19+
else
20+
$(this).addClass('checked');
21+
$(this).prev('input').attr('type', 'text');
22+
$(this).find('.material-icons').html("visibility_off")
23+
event.preventDefault()

0 commit comments

Comments
 (0)