diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/games.ejs | 3 | ||||
-rw-r--r-- | views/info.ejs | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/views/games.ejs b/views/games.ejs index a355910..e25df1f 100644 --- a/views/games.ejs +++ b/views/games.ejs @@ -33,10 +33,9 @@ td.nowrap a { color: black; text-decoration: none; } <td><%= row.player_names %> <td><%= row.description %> <td class="nowrap"><%= row.mtime %> -<td><%= row.active_role %> +<td class="<%= row.is_your_turn ? "is_your_turn" : "" %>"><%= row.active_role %> <td><a href="/join/<%= row.game_id %>">Enter</a> <% }); } else { %> <tr><td colspan="8">No active games. <% } %> </table> - diff --git a/views/info.ejs b/views/info.ejs index fdfc974..778974e 100644 --- a/views/info.ejs +++ b/views/info.ejs @@ -38,7 +38,7 @@ Read more about the game on <td><%= row.player_names %> <td><%= row.description %> <td class="nowrap"><%= row.mtime %> -<td><%= row.active_role %> +<td class="<%= row.is_your_turn ? "is_your_turn" : "" %>"><%= row.active_role %> <td><a href="/join/<%= row.game_id %>">Enter</a> <% }); %> </table> |