diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-03-12 21:50:00 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-03-12 21:50:00 -0400 |
| commit | 7789e2138fc0479846c20bc68d68973636a4a760 (patch) | |
| tree | ef14af7a0a6e0de8f086a2b2db877840eb48904c /app/views/games | |
| parent | 7a2d945f581c8ce9e322883ec597366143fe10cb (diff) | |
| download | thoughts-7789e2138fc0479846c20bc68d68973636a4a760.tar.gz thoughts-7789e2138fc0479846c20bc68d68973636a4a760.tar.bz2 thoughts-7789e2138fc0479846c20bc68d68973636a4a760.zip | |
Started game tracker
Diffstat (limited to 'app/views/games')
| -rw-r--r-- | app/views/games/index.html.haml | 14 |
1 files changed, 14 insertions, 0 deletions
| diff --git a/app/views/games/index.html.haml b/app/views/games/index.html.haml new file mode 100644 index 0000000..64fbfd9 --- /dev/null +++ b/app/views/games/index.html.haml | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | - title "Games" | ||
| 2 | %h2 Games | ||
| 3 | %table#games-table | ||
| 4 | %tr | ||
| 5 | %th Title | ||
| 6 | %th Status | ||
| 7 | %th Score | ||
| 8 | %th Progress | ||
| 9 | - @games.each do |game| | ||
| 10 | %tr{ class: cycle("even", "odd") } | ||
| 11 | %td= game.title | ||
| 12 | %td= game.status | ||
| 13 | %td= game.score | ||
| 14 | %td.game-progress= simple_format game.progress | ||
