From 7789e2138fc0479846c20bc68d68973636a4a760 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 12 Mar 2019 21:50:00 -0400 Subject: Started game tracker --- app/views/games/index.html.haml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app/views/games/index.html.haml (limited to 'app/views/games/index.html.haml') 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 @@ +- title "Games" +%h2 Games +%table#games-table + %tr + %th Title + %th Status + %th Score + %th Progress + - @games.each do |game| + %tr{ class: cycle("even", "odd") } + %td= game.title + %td= game.status + %td= game.score + %td.game-progress= simple_format game.progress -- cgit 1.4.1