blob: 42d3a46baec1a2799304a8c1982fd5c3f74ee9c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//- vim:ts=4:sw=4:
doctype html
html
head
include head
title= title.title_name
style.
form { margin-left: 200px; width: calc(50rem - 200px); }
body
include header
article
h1= title.title_name
div.logo
+gamecover(title.title_id)
form(method="post" action="/create/"+title.title_id)
if scenarios.length > 1
p Scenario:
br
select(name="scenario")
each scenario in scenarios
option(value=scenario)= scenario
else
input(type="hidden" name="scenario" value=scenarios[0])
| !{ create_html }
p Description:
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
p
label
input(type="checkbox" name="is_random" value="true")
| Random player roles
p
label
input(type="checkbox" name="is_private" value="true")
| Private
p
button(type="submit") Create
|