[cosmetics] Slightly rephrase bug report instructions
[vchess.git] / views / index.pug
1 extends layout
2
3 block css
4 link(rel="stylesheet", href="/stylesheets/index.css")
5
6 block content
7 .container#indexPage
8 .row
9 .col-sm-12
10 h1.text-center Welcome to v[ariant] chess club !
11 h2.help.text-center(onClick="document.getElementById('modal-control').checked=true") Help ?
12 input#modal-control.modal(type="checkbox")
13 div(role="dialog")
14 .card
15 label.modal-close(for="modal-control")
16 h3.blue.section Modes
17 p.section.
18 Each variant page offers two modes: against a human or computer opponent,
19 which is here to help learning the rules.
20 h3.blue.section Comments
21 p.section.
22 All games start with a random assymetric position. #[br]
23 Games are untimed, and played anonymously. #[br]
24 No chat, to rather focus on the moves :)
25 h3.red.section Bug report
26 p.section.
27 If you find a bug in a game, please follow this procedure: #[br]
28 1. stop playing: click on the resign button; #[br]
29 2. click on the PGN to download it; #[br]
30 3. send an email to
31 #[a(href="mailto:contact@vchess.club?subject=[vchess.club] bug report") contact@vchess.club]
32 with relevant comments and the PGN attached. Thank you!
33 .row
34 my-variant-summary(
35 v-for="(v,idx) in sortedCounts",
36 v-show="v.name.startsWith(curPrefix)",
37 v-bind:vobj="v",
38 v-bind:key="v.name")
39
40 block javascripts
41 script.
42 const variantArray = !{JSON.stringify(variantArray)};
43 //JSON.parse("!{variantArray}".replace(/\"/g,'"'));
44 script(src="/javascripts/utils/socket_url.js")
45 script(src="/javascripts/components/variantSummary.js")
46 script(src="/javascripts/index.js")