summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-10 00:53:29 +0200
committerTor Andersson <tor@ccxvii.net>2021-07-10 00:53:29 +0200
commitd0175eec70debe3fbabf1869f420e92c7313c2ad (patch)
tree73a21d674f57a205a23b63a301b2aed79ac097a3 /views
parent9f8cec0889c79d9ead6d077077634754761a8dc1 (diff)
downloadserver-d0175eec70debe3fbabf1869f420e92c7313c2ad.tar.gz
Fix yellow "your turn" coloring in join and profile pages.
Diffstat (limited to 'views')
-rw-r--r--views/games.ejs10
-rw-r--r--views/info.ejs10
2 files changed, 4 insertions, 16 deletions
diff --git a/views/games.ejs b/views/games.ejs
index 4e6f2a4..a355910 100644
--- a/views/games.ejs
+++ b/views/games.ejs
@@ -33,14 +33,8 @@ td.nowrap a { color: black; text-decoration: none; }
<td><%= row.player_names %>
<td><%= row.description %>
<td class="nowrap"><%= row.mtime %>
-<%
- if (row.is_your_turn) {
- %><td class="is_your_turn"><%= row.active_role %><%
- } else {
- %><td><%= row.active_role %><%
- }
- %><td><a href="/join/<%= row.game_id %>">Enter</a><%
-%>
+<td><%= row.active_role %>
+<td><a href="/join/<%= row.game_id %>">Enter</a>
<% }); } else { %>
<tr><td colspan="8">No active games.
<% } %>
diff --git a/views/info.ejs b/views/info.ejs
index 02ce2dd..fdfc974 100644
--- a/views/info.ejs
+++ b/views/info.ejs
@@ -38,14 +38,8 @@ Read more about the game on
<td><%= row.player_names %>
<td><%= row.description %>
<td class="nowrap"><%= row.mtime %>
-<%
- if (row.is_your_turn) {
- %><td class="is_your_turn"><%= row.active_role %><%
- } else {
- %><td><%= row.active_role %><%
- }
- %><td><a href="/join/<%= row.game_id %>">Enter</a><%
-%>
+<td><%= row.active_role %>
+<td><a href="/join/<%= row.game_id %>">Enter</a>
<% }); %>
</table>
<% } %>