diff options
Diffstat (limited to 'views/info.ejs')
-rw-r--r-- | views/info.ejs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/info.ejs b/views/info.ejs index 778974e..159e732 100644 --- a/views/info.ejs +++ b/views/info.ejs @@ -1,4 +1,7 @@ <%- include('header', { title: title.title_name, refresh: (user ? 300 : 0) }) %> +<style> +td.names a { color: black; text-decoration: none; } +</style> <img class="logo" src="/<%= title.title_id %>/cover.jpg"> <%- include('../public/' + title.title_id + '/about.html') %> <p> @@ -15,7 +18,7 @@ Read more about the game on <tr> <td><%= row.game_id %> <td><%= row.scenario %> -<td><%= row.player_names || row.owner_name %> +<td class="names"><%- row.player_names || `<a href="/user/${row.owner_name}">${row.owner_name}</a>` %> <td><%= row.description %> <td class="nowrap"><%= row.ctime %> <td><a href="/join/<%= row.game_id %>">Join</a> @@ -35,7 +38,7 @@ Read more about the game on <tr> <td><%= row.game_id %> <td><%= row.scenario %> -<td><%= row.player_names %> +<td class="names"><%- row.player_names %> <td><%= row.description %> <td class="nowrap"><%= row.mtime %> <td class="<%= row.is_your_turn ? "is_your_turn" : "" %>"><%= row.active_role %> @@ -52,7 +55,7 @@ Read more about the game on <tr> <td><%= row.game_id %> <td><%= row.scenario %> -<td><%= row.player_names %> +<td class="names"><%- row.player_names %> <td><%= row.description %> <td class="nowrap"><%= row.mtime %> <td><%= row.result %> |