mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
19 lines
818 B
Text
19 lines
818 B
Text
|
- var addedClass = style + (locked === true ? ' locked' : '')
|
||
|
.clearfix.achievement-body(class=addedClass)
|
||
|
.achievement-icon
|
||
|
.achievement-image
|
||
|
img(src=imgURL)
|
||
|
.achievement-content
|
||
|
.achievement-title= title
|
||
|
p.achievement-description= description
|
||
|
|
||
|
if popup
|
||
|
.progress-wrapper
|
||
|
span.user-level.badge= level
|
||
|
.progress-bar-wrapper
|
||
|
.progress
|
||
|
.progress-bar.xp-bar-old(style="width:#{oldXPWidth}%" data-toggle="tooltip" data-placement="top" title="#{currentXP} XP in total")
|
||
|
.progress-bar.xp-bar-new(style="width:#{newXPWidth}%" data-toggle="tooltip" title="#{newXP} XP earned")
|
||
|
.progress-bar.xp-bar-left(style="width:#{leftXPWidth}%" data-toggle="tooltip" title="#{leftXP} XP until level #{nextLevel}")
|
||
|
.progress-bar-border
|