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/layouts/lingo/application.html.haml9
-rw-r--r--rails/app/views/lingo/scores/index.html.haml9
2 files changed, 18 insertions, 0 deletions
diff --git a/rails/app/views/layouts/lingo/application.html.haml b/rails/app/views/layouts/lingo/application.html.haml new file mode 100644 index 0000000..6731e5a --- /dev/null +++ b/rails/app/views/layouts/lingo/application.html.haml
@@ -0,0 +1,9 @@
1!!! 5
2%html
3 %head
4 %title LINGO Bot Scoreboard
5 = stylesheet_link_tag "lingo/application", media: "all"
6 = csrf_meta_tags
7 %body
8 #header= image_tag "lingo/header.png"
9 #content= yield
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