tyr.html 915 B

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Týr</title>
  6. </head>
  7. <body>
  8. {{ if eq .Error `address` }}
  9. <p>Address ‘{{.Address}}’ not found in locks</p>
  10. {{ else if eq .Error `token` }}
  11. <p>Token invalid for address ‘{{.Address}}’ </p>
  12. {{ else if eq .Error `captcha` }}
  13. <p>Wrong solution for captcha</p>
  14. {{ else if eq .Error `success` }}
  15. <p>Your messages have been release from quarantine.<br/>
  16. Mail from You will now go straight to Inbox.</p>
  17. {{ else }}
  18. <form method="POST">
  19. <input name="address" value="{{.Address}}" /><br/>
  20. <input name="token" value="{{.Token}}" /><br/>
  21. <input type="hidden" name="captcha_result" value="{{.Captcha}}" /><br/>
  22. <label for="captcha">Type ‘quarter to three p.m.’ in format HH:MM</label><br/>
  23. <input id="captcha" name="captcha" type="time" /><br/>
  24. <input type="submit" />
  25. </form>
  26. {{ end }}
  27. </body>
  28. </html>