codecombat/app/templates/achievement_notify.jade
Ruben Vereecken b065a524c1 Got down the basic layout for achievement overview
Achievement style is now compatible between overview and popup
2014-07-09 15:06:47 +02:00

19 lines
840 B
Text

div
.clearfix.achievement-body
.achievement-icon.achievement-border-silver(class=locked === true ? "locked" : "")
.achievement-image(data-notify-html="image")
if imgURL
img(src=imgURL)
.achievement-content
.achievement-title(data-notify-html="title") #{title}
p.achievement-description(data-notify-html="description") #{description}
if popup
.achievement-progress
.achievement-message(data-notify-html="message")
.progress-wrapper
//.earned-exp(data-notify-html="earnedExp")
span.achievement-level.badge(data-notify-html="level")
.progress-bar-wrapper(data-notify-html="progressBar")
.progress-bar-border(data-notify-html="barBorder")
//img(src='/images/achievements/bar_border.png' width='100%')