mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 15:50:11 -04:00
Add login link and rounded corners for pics
This commit is contained in:
parent
3f1547488c
commit
52ddb8db62
3 changed files with 10 additions and 7 deletions
app
|
@ -119,6 +119,8 @@
|
|||
tr
|
||||
.candidate-picture
|
||||
height: 50px
|
||||
border-radius: 5px
|
||||
|
||||
.candidate-description
|
||||
width: 100%
|
||||
vertical-align: bottom
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue