summary refs log tree commit diff stats
path: root/rails/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'rails/app/views')
-rw-r--r--rails/app/views/lingo/scores/index.html.haml9
1 files changed, 7 insertions, 2 deletions
diff --git a/rails/app/views/lingo/scores/index.html.haml b/rails/app/views/lingo/scores/index.html.haml index f0f681d..afcd0c7 100644 --- a/rails/app/views/lingo/scores/index.html.haml +++ b/rails/app/views/lingo/scores/index.html.haml
@@ -1,7 +1,12 @@
1%h2 Bot Puzzles Scoreboard 1%h2 Bot Puzzles Scoreboard
2%table#scores 2%table#scores
3 - @scores.each do |score| 3 %tr.scores-header
4 %tr 4 %th
5 %th{colspan: 2} Player
6 %th Score
7 - @scores.each_with_index do |score,index|
8 %tr{class: cycle("even", "odd")}
9 %td.score-index #{index+1}.
5 %td.score-pfp 10 %td.score-pfp
6 - if !score.avatar_url.nil? 11 - if !score.avatar_url.nil?
7 = image_tag score.avatar_url 12 = image_tag score.avatar_url