diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/create.pug | 15 | ||||
-rw-r--r-- | views/head.pug | 4 | ||||
-rw-r--r-- | views/join.pug | 18 |
3 files changed, 21 insertions, 16 deletions
diff --git a/views/create.pug b/views/create.pug index 42d3a46..d742cfc 100644 --- a/views/create.pug +++ b/views/create.pug @@ -24,21 +24,16 @@ html else input(type="hidden" name="scenario" value=scenarios[0]) | !{ create_html } - p Description: + + p Notice: br - input(type="text" list="speed" autocomplete="off" name="description" size=50) - datalist(id="speed") - option Async - 1 move per day - option Async - x moves per day - option Live - America - option Live - Europe - option Live - Asia - option Live - Oceania - option Learning game + input(type="text" autocomplete="off" name="notice" size=50 placeholder="What are you looking for?") + p label input(type="checkbox" name="is_random" value="true") | Random player roles + p label input(type="checkbox" name="is_private" value="true") diff --git a/views/head.pug b/views/head.pug index e90ce6b..cf0b268 100644 --- a/views/head.pug +++ b/views/head.pug @@ -85,8 +85,8 @@ mixin gamelist(list,hide_title=0) div.game_main div.game_info - if item.description - i= item.description + if item.notice + i= item.notice if item.scenario !== "Standard" && item.scenario !== "Historical" && item.scenario.length > 2 div Scenario: #{item.scenario} unless item.human_options === "None" diff --git a/views/join.pug b/views/join.pug index abbaf2c..0f9daef 100644 --- a/views/join.pug +++ b/views/join.pug @@ -39,17 +39,27 @@ html div.logo +gamecover(game.title_id) + div Scenario: #{game.scenario} + + unless game.human_options === "None" + div Options: #{game.human_options} div if game.is_private | Owner: <a href="/user/#{game.owner_name}">#{game.owner_name}</a> (private) else | Owner: <a href="/user/#{game.owner_name}">#{game.owner_name}</a> - div Scenario: #{game.scenario} - div Options: #{game.human_options} + + div Created: #{game.ctime} + unless game.mtime === "never" + div Changed: #{game.mtime} + if game.status === 2 - div Result: !{game.result} + div Result: #{game.result} - p= game.description || "No description." + if game.notice + br + div + i= game.notice br(clear="left") |