diff options
Diffstat (limited to 'pages/spamcheck.mustache')
| -rw-r--r-- | pages/spamcheck.mustache | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pages/spamcheck.mustache b/pages/spamcheck.mustache new file mode 100644 index 0000000..181e873 --- /dev/null +++ b/pages/spamcheck.mustache @@ -0,0 +1,33 @@ +<!doctype html> +<html lang="en"> +<head> + {{> headmeta}} + <title>tirclogv (spamcheck)</title> +</head> +<body> + <main> + <h1>Are you human?</h1> + <p> + Sorry, the server is currently receiving a large number of requests. + Please answer the question to proceed. + </p> + {{#incorrect}} + <p style="color: red">That answer is incorrect.</p> + {{/incorrect}} + <form action="/spamcheck/submit" method="get"> + <input type="hidden" name="hash" value="{{&hash}}"> + <input type="hidden" name="url" value="{{prevurl}}"> + <p> + <label for="ans">{{&question}}</label> + <input type="text" id="ans" name="ans" placeholder="answer..." size="8" style="font-size: 100%" required autofocus> + </p> + <p> + <input type="submit" value="OK" style="min-width: 80px"> + </p> + </form> + </main> + <script> + document.getElementById("ans").value = ""; // if the browser helpfully remembered something, that's not helpful + </script> +</body> +</html> |
