Add bug report instructions to index page
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 26 Nov 2018 12:18:32 +0000 (13:18 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 26 Nov 2018 12:18:32 +0000 (13:18 +0100)
public/stylesheets/index.sass
views/index.pug

index f46fca5..fcf7958 100644 (file)
@@ -10,5 +10,8 @@
 .help
   cursor: pointer
 
-.card > h3.section
+.card > h3.section.blue
   color: blue
+
+.card > h3.section.purple
+  color: purple
index 47e7de0..d658e7e 100644 (file)
@@ -15,17 +15,22 @@ block content
                                                label.modal-close(for="modal-control")
                                                h3.blue.section Modes
                                                p.section.
-                                                       Each variant page offers two modes: against a human or computer opponent.
-                                                       The latter is not designed to play well: it is here to help learning the rules.
-                                                       When you beat the bot easily consider playing human opponents!
-                                               h3.blue.section Initial position
-                                               p.section.
-                                                       All games start with a random assymetric position.
+                                                       Each variant page offers two modes: against a human or computer opponent,
+                                                       which is here to help learning the rules.
                                                h3.blue.section Comments
                                                p.section.
-                                                       Games are untimed, and played anonymously. This website lacks a user/challenge/chat/... system,
-                                                       both for technical reasons (difficult to maintain all that alone) and also a bit for
-                                                       focusing on the essential: the moves! :)
+                                                       All games start with a random assymetric position. #[br]
+                                                       Games are untimed, and played anonymously. #[br]
+                                                       No chat, to rather focus on the moves :)
+                                               h3.purple.section Bug report
+                                               p.section.
+                                                       If you find a bug in a game, please follow this procedure: #[br]
+                                                       1. stop playing (click on the resign button); #[br]
+                                                       2. click on the PGN to download it; #[br]
+                                                       3. send an email to #[a(href="mailto:contact@vchess.club?subject=Bug report") this address],
+                                                       describing the situation (what is expected vs. what is observed),
+                                                       with the PGN attached :)#[br]
+                                                       Thank you!
                .row
                        my-variant-summary(
                                v-for="(v,idx) in sortedCounts",