diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-07 21:14:52 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-07 21:14:52 +0000 |
commit | 295dd1906a98913275145c5b9cc403f1e76cfd33 (patch) | |
tree | f45d7721c9a138b743ada905a12596f050a7473d /rails/app/views | |
parent | 460edd4191229635e86c0e3781a361126c140ca9 (diff) | |
parent | a37605e3d7d17e322a9cf2a497768f6fd8b5d0a3 (diff) | |
download | lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.tar.gz lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.tar.bz2 lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.zip |
Merge branch 'main' of /srv/git/lingo into main
Diffstat (limited to 'rails/app/views')
-rw-r--r-- | rails/app/views/layouts/lingo/application.html.haml | 9 | ||||
-rw-r--r-- | rails/app/views/lingo/scores/index.html.haml | 14 |
2 files changed, 0 insertions, 23 deletions
diff --git a/rails/app/views/layouts/lingo/application.html.haml b/rails/app/views/layouts/lingo/application.html.haml deleted file mode 100644 index 6731e5a..0000000 --- a/rails/app/views/layouts/lingo/application.html.haml +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
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 deleted file mode 100644 index afcd0c7..0000000 --- a/rails/app/views/lingo/scores/index.html.haml +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | %h2 Bot Puzzles Scoreboard | ||
2 | %table#scores | ||
3 | %tr.scores-header | ||
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}. | ||
10 | %td.score-pfp | ||
11 | - if !score.avatar_url.nil? | ||
12 | = image_tag score.avatar_url | ||
13 | %td.score-name= score.username | ||
14 | %td.score-value= score.score | ||