mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Update /courses?_ppc= logged out instructions
This commit is contained in:
parent
66650452b2
commit
eda10a55ec
2 changed files with 23 additions and 1 deletions
|
@ -1,5 +1,25 @@
|
|||
#courses-view
|
||||
|
||||
.logged_out
|
||||
font-size: 24px
|
||||
|
||||
.signup-button
|
||||
background: red
|
||||
color: white
|
||||
font-size: 18px
|
||||
font-variant: small-caps
|
||||
line-height: 27px
|
||||
text-transform: uppercase
|
||||
margin-right: 20px
|
||||
|
||||
.login-button
|
||||
background: white
|
||||
color: black
|
||||
font-size: 18px
|
||||
font-variant: small-caps
|
||||
line-height: 27px
|
||||
text-transform: uppercase
|
||||
|
||||
.center
|
||||
text-align: center
|
||||
|
||||
|
|
|
@ -10,7 +10,9 @@ block content
|
|||
if state === 'enrolling'
|
||||
.alert.alert-info Enrolling in course..
|
||||
else if state === 'ppc_logged_out'
|
||||
.alert.alert-success Log in or create an account to join this course.
|
||||
.alert.alert-danger.logged_out Create account or log in to join this course.
|
||||
button.btn.btn-sm.btn-primary.header-font.signup-button(data-i18n="login.sign_up")
|
||||
button.btn.btn-sm.btn-default.header-font.login-button(data-i18n="login.log_in")
|
||||
else
|
||||
if state === 'unknown_error'
|
||||
.alert.alert-danger.alert-dismissible= stateMessage
|
||||
|
|
Loading…
Reference in a new issue