diff --git a/app/styles/play/ladder/team.sass b/app/styles/play/ladder/team.sass index 2368ebce0..ca4cc9676 100644 --- a/app/styles/play/ladder/team.sass +++ b/app/styles/play/ladder/team.sass @@ -5,3 +5,8 @@ #competitors-column .well font-size: 18px padding: 7px + + #your-score + margin-top: 20px + text-align: center + font-size: 20px \ No newline at end of file diff --git a/app/templates/play/ladder/team.jade b/app/templates/play/ladder/team.jade index 8b478371e..22bfd5404 100644 --- a/app/templates/play/ladder/team.jade +++ b/app/templates/play/ladder/team.jade @@ -15,7 +15,14 @@ block content p | After your first submission, your code will also continuously run against other players as they rank themselves. - + + if matches.length + p#your-score + span Your Current Score: + span + strong= score + + div#columns.row div#matches-column.col-md-6 h3.pull-left Ranked Games diff --git a/app/views/play/ladder/team_view.coffee b/app/views/play/ladder/team_view.coffee index 138f62c19..32adcbc24 100644 --- a/app/views/play/ladder/team_view.coffee +++ b/app/views/play/ladder/team_view.coffee @@ -90,6 +90,7 @@ module.exports = class LadderTeamView extends RootView ctx.matches = (convertMatch(match) for match in @session.get('matches') or []) ctx.matches.reverse() + ctx.score = (@session.get('totalScore') or 10).toFixed(2) ctx afterRender: ->