diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/app/views/lingo | |
parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip |
Added Rails engine for scoreboard
refs #13
Diffstat (limited to 'rails/app/views/lingo')
-rw-r--r-- | rails/app/views/lingo/scores/index.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rails/app/views/lingo/scores/index.html.haml b/rails/app/views/lingo/scores/index.html.haml new file mode 100644 index 0000000..f0f681d --- /dev/null +++ b/rails/app/views/lingo/scores/index.html.haml | |||
@@ -0,0 +1,9 @@ | |||
1 | %h2 Bot Puzzles Scoreboard | ||
2 | %table#scores | ||
3 | - @scores.each do |score| | ||
4 | %tr | ||
5 | %td.score-pfp | ||
6 | - if !score.avatar_url.nil? | ||
7 | = image_tag score.avatar_url | ||
8 | %td.score-name= score.username | ||
9 | %td.score-value= score.score | ||