From 1a71184bcbf714d266e80d186fd666d393ed5981 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 19 Nov 2021 02:45:51 +0100 Subject: Clean up stylesheets. Don't show options in game lists. --- views/join.ejs | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'views/join.ejs') diff --git a/views/join.ejs b/views/join.ejs index 6558745..b4e4718 100644 --- a/views/join.ejs +++ b/views/join.ejs @@ -1,7 +1,8 @@ <%- include('header', { title: game.title_name }) -%> @@ -20,24 +21,30 @@ let ready = <%- ready %>;

Owner: <%= game.owner_name %> -
-Private: <%= game.private ? "yes" : "no" %> +<% if (game.private) { %> +(private) +<% } %>
Scenario: <%= game.scenario %>
Options: <%= game.options %> -
-Description: <%= game.description || "No description." %> + +

+<%= game.description || "No description." %>
-<% roles.forEach((role) => { %><% }); %> +<% roles.forEach((role) => { %> + +<% }); %> -<% roles.forEach((role) => { %><% }); %> +<% roles.forEach((role) => { %> + +<% }); %> - +
<%= role %><%= role %>
--
--

-- cgit v1.2.3