mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
commit
1314695382
1 changed files with 1 additions and 1 deletions
|
@ -70,6 +70,6 @@ block content
|
|||
span.spl - #{stats.diplomats.join(', ')}
|
||||
.progress
|
||||
.progress-bar(style='width: ' + (100 * stats.completion) + '%')
|
||||
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= (100 * stats.completion).toFixed(1) + '%'
|
||||
span(style=stats.completion < 0.06 ? 'color: black; text-shadow: 0px 1px 0px white' : '')= Math.min(100, (100 * stats.completion).toFixed(1)) + '%'
|
||||
|
||||
div.clearfix
|
||||
|
|
Loading…
Reference in a new issue