diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/Gemfile.lock | 48 | ||||
| -rw-r--r-- | web/views/index.haml | 2 |
2 files changed, 31 insertions, 19 deletions
| diff --git a/web/Gemfile.lock b/web/Gemfile.lock index 9869d49..d2bd8c7 100644 --- a/web/Gemfile.lock +++ b/web/Gemfile.lock | |||
| @@ -1,39 +1,51 @@ | |||
| 1 | GEM | 1 | GEM |
| 2 | remote: https://rubygems.org/ | 2 | remote: https://rubygems.org/ |
| 3 | specs: | 3 | specs: |
| 4 | bigdecimal (3.1.4) | 4 | base64 (0.3.0) |
| 5 | ffi (1.16.3) | 5 | bigdecimal (3.2.2) |
| 6 | haml (6.2.3) | 6 | ffi (1.17.2-x86_64-darwin) |
| 7 | ffi (1.17.2-x86_64-linux-gnu) | ||
| 8 | haml (6.3.0) | ||
| 7 | temple (>= 0.8.2) | 9 | temple (>= 0.8.2) |
| 8 | thor | 10 | thor |
| 9 | tilt | 11 | tilt |
| 10 | mustermann (3.0.0) | 12 | logger (1.7.0) |
| 13 | mustermann (3.0.4) | ||
| 11 | ruby2_keywords (~> 0.0.1) | 14 | ruby2_keywords (~> 0.0.1) |
| 12 | nio4r (2.6.1) | 15 | nio4r (2.7.4) |
| 13 | puma (6.4.0) | 16 | puma (6.6.1) |
| 14 | nio4r (~> 2.0) | 17 | nio4r (~> 2.0) |
| 15 | rack (2.2.8) | 18 | rack (3.2.0) |
| 16 | rack-cache (1.14.0) | 19 | rack-cache (1.17.0) |
| 17 | rack (>= 0.4) | 20 | rack (>= 0.4) |
| 18 | rack-protection (3.1.0) | 21 | rack-protection (4.1.1) |
| 19 | rack (~> 2.2, >= 2.2.4) | 22 | base64 (>= 0.1.0) |
| 23 | logger (>= 1.6.0) | ||
| 24 | rack (>= 3.0.0, < 4) | ||
| 25 | rack-session (2.1.1) | ||
| 26 | base64 (>= 0.1.0) | ||
| 27 | rack (>= 3.0.0) | ||
| 20 | ruby2_keywords (0.0.5) | 28 | ruby2_keywords (0.0.5) |
| 21 | sassc (2.4.0) | 29 | sassc (2.4.0) |
| 22 | ffi (~> 1.9) | 30 | ffi (~> 1.9) |
| 23 | sequel (5.74.0) | 31 | sequel (5.95.1) |
| 24 | bigdecimal | 32 | bigdecimal |
| 25 | sinatra (3.1.0) | 33 | sinatra (4.1.1) |
| 34 | logger (>= 1.6.0) | ||
| 26 | mustermann (~> 3.0) | 35 | mustermann (~> 3.0) |
| 27 | rack (~> 2.2, >= 2.2.4) | 36 | rack (>= 3.0.0, < 4) |
| 28 | rack-protection (= 3.1.0) | 37 | rack-protection (= 4.1.1) |
| 38 | rack-session (>= 2.0.0, < 3) | ||
| 29 | tilt (~> 2.0) | 39 | tilt (~> 2.0) |
| 30 | sqlite3 (1.6.9-x86_64-darwin) | 40 | sqlite3 (2.7.3-x86_64-darwin) |
| 31 | temple (0.10.3) | 41 | sqlite3 (2.7.3-x86_64-linux-gnu) |
| 32 | thor (1.3.0) | 42 | temple (0.10.4) |
| 33 | tilt (2.3.0) | 43 | thor (1.4.0) |
| 44 | tilt (2.6.1) | ||
| 34 | 45 | ||
| 35 | PLATFORMS | 46 | PLATFORMS |
| 36 | x86_64-darwin-22 | 47 | x86_64-darwin-22 |
| 48 | x86_64-linux | ||
| 37 | 49 | ||
| 38 | DEPENDENCIES | 50 | DEPENDENCIES |
| 39 | haml | 51 | haml |
| diff --git a/web/views/index.haml b/web/views/index.haml index 186dd40..e605548 100644 --- a/web/views/index.haml +++ b/web/views/index.haml | |||
| @@ -19,6 +19,6 @@ | |||
| 19 | %td.score-index #{index+1}. | 19 | %td.score-index #{index+1}. |
| 20 | %td.score-pfp | 20 | %td.score-pfp |
| 21 | - if !score.avatar_url.nil? | 21 | - if !score.avatar_url.nil? |
| 22 | %img{ src: score.avatar_url } | 22 | %img{ src: score.avatar_url, onerror: "this.style='display:none'" } |
| 23 | %td.score-name= score.username | 23 | %td.score-name= score.username |
| 24 | %td.score-value= score.score | 24 | %td.score-value= score.score |
