Fixed targeting on employers CSS

This commit is contained in:
Michael Schmatz 2014-07-07 20:01:59 -07:00
parent 318b72d965
commit 9313541f9f
3 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,6 @@
#employers-view #employers-view
button .employer-button
background: #fce232 /* Old browsers */ background: #fce232 /* Old browsers */
background: -moz-linear-gradient(top, #fce232 0%, #ea8e2b 100%) background: -moz-linear-gradient(top, #fce232 0%, #ea8e2b 100%)
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fce232), color-stop(100%,#ea8e2b)) background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fce232), color-stop(100%,#ea8e2b))
@ -42,13 +42,13 @@
#filter-button, #create-alert-button #filter-button, #create-alert-button
float: right float: right
#login-link, #logout-button #login-link, #logout-link
float: right float: right
color: #333333 color: #333333
display: inline-block display: inline-block
:visited :visited
color: #333333 color: #333333
#logout-button:hover #logout-link:hover
cursor: pointer cursor: pointer
#tagline, .hiring-call-to-action #tagline, .hiring-call-to-action

View file

@ -7,10 +7,10 @@ block content
if !isEmployer && !me.isAdmin() if !isEmployer && !me.isAdmin()
#tagline #tagline
h1(data-i18n="employers.hire_developers_not_credentials") Hire developers, not credentials. h1(data-i18n="employers.hire_developers_not_credentials") Hire developers, not credentials.
button.btn.get-started-button Get started button.btn.get-started-button.employer-button Get started
else else
if !me.get('anonymous') if !me.get('anonymous')
a#logout-button(data-i18n="login.log_out") Logout a#logout-link(data-i18n="login.log_out") Logout
br br
#filter #filter
.panel-group#filter_panel .panel-group#filter_panel
@ -83,7 +83,7 @@ block content
//input#select_all_checkbox(type="checkbox" name="select_all" checked) //input#select_all_checkbox(type="checkbox" name="select_all" checked)
//| Select all //| Select all
button.btn#filter-button Filter button.btn.employer-button#filter-button Filter
p#results #{numberOfCandidates} results p#results #{numberOfCandidates} results
//button.btn#create-alert-button Create Alert //button.btn#create-alert-button Create Alert
if candidates.length if candidates.length
@ -131,7 +131,7 @@ block content
div#info_wrapper div#info_wrapper
span.hiring-call-to-action span.hiring-call-to-action
h2#start-hiring(data-i18n="employers.start_hiring") Start hiring. h2#start-hiring(data-i18n="employers.start_hiring") Start hiring.
button.btn.get-started-button Get started button.btn.get-started-button.employer-button Get started
h2#hiring-reasons.hiring-call-to-action(data-i18n="employers.reasons") 3 reasons you should hire through us: h2#hiring-reasons.hiring-call-to-action(data-i18n="employers.reasons") 3 reasons you should hire through us:
.reasons#top_row .reasons#top_row
@ -153,7 +153,7 @@ block content
p(data-i18n="employers.pass_screen_blurb") All of these developers have ranked in our programming competitions. One employer found that 5x as many of our devs passed their technical screen than hiring from Hacker News. p(data-i18n="employers.pass_screen_blurb") All of these developers have ranked in our programming competitions. One employer found that 5x as many of our devs passed their technical screen than hiring from Hacker News.
span.hiring-call-to-action span.hiring-call-to-action
h2(data-i18n="employers.make_hiring_easier") Make my hiring easier, please. h2(data-i18n="employers.make_hiring_easier") Make my hiring easier, please.
button.btn.get-started-button Get started button.btn.get-started-button.employer-button Get started
.reasons#bottom_row .reasons#bottom_row
.reason_long .reason_long
img.employer_icon(src="/images/pages/employer/employer_icon1.png") img.employer_icon(src="/images/pages/employer/employer_icon1.png")

View file

@ -21,6 +21,7 @@ module.exports = class EmployersView extends View
events: events:
'click tbody tr': 'onCandidateClicked' 'click tbody tr': 'onCandidateClicked'
'click #logout-link': 'logoutAccount'
'change #filters input': 'onFilterChanged' 'change #filters input': 'onFilterChanged'
'click #filter-button': 'applyFilters' 'click #filter-button': 'applyFilters'
'change #select_all_checkbox': 'handleSelectAllChange' 'change #select_all_checkbox': 'handleSelectAllChange'