Add login link and rounded corners for pics

This commit is contained in:
Michael Schmatz 2014-07-03 15:10:09 -07:00
parent 3f1547488c
commit 52ddb8db62
3 changed files with 10 additions and 7 deletions

View file

@ -119,6 +119,8 @@
tr
.candidate-picture
height: 50px
border-radius: 5px
.candidate-description
width: 100%
vertical-align: bottom

View file

@ -1,15 +1,15 @@
extends /templates/recruitment_base
block content
if me.get('anonymous')
a#login-link Login
br
if !isEmployer && !me.isAdmin()
#tagline
h1(data-i18n="employers.hire_developers_not_credentials") Hire developers, not credentials.
button.btn.get-started-button Get started
else
if me.get('anonymous')
a#login-link(href="/account") Login
br
else
if !me.get('anonymous')
a#logout-button(data-i18n="login.log_out") Logout
br
#filter
@ -92,8 +92,8 @@ block content
br
input(type="checkbox" name="seniorityFilter" value="Management" checked)
| Management
input#select_all_checkbox(type="checkbox" name="select_all" checked)
| Select all
//input#select_all_checkbox(type="checkbox" name="select_all" checked)
//| Select all
button.btn#filter-button Filter
//button.btn#create-alert-button Create Alert
if candidates.length

View file

@ -26,6 +26,7 @@ module.exports = class EmployersView extends View
'change #select_all_checkbox': 'handleSelectAllChange'
'click .get-started-button': 'openSignupModal'
'click .navbar-brand': 'restoreBodyColor'
'click #login-link': 'onClickAuthbutton'
constructor: (options) ->
super options
@ -276,7 +277,7 @@ module.exports = class EmployersView extends View
onCandidateClicked: (e) ->
id = $(e.target).closest('tr').data('candidate-id')
if id
if id and (@isEmployer() or me.isAdmin())
if window.history
oldState = _.cloneDeep window.history.state ? {}
oldState["lastViewedCandidateID"] = id