Files
spyda/internal/templates/support.html
Aoi Koizumi (古泉 あおい) 7001f3bf51 Move from pico.css to mirageCSS (#1)
UI/UX changes: PicoCSS -> mirageCSS, rice-box.go removed and placed on .gitignore (since it is generated anyway), update templates.

Signed-off-by: Aoi K <koizumi.aoi@kyoko-project.wer.ee>

Co-authored-by: Aoi K <koizumi.aoi@kyoko-project.wer.ee>
Reviewed-on: https://git.mills.io/prologic/spyda/pulls/1
Co-authored-by: Aoi Koizumi (古泉 あおい) <novaburst@noreply@mills.io>
Co-committed-by: Aoi Koizumi (古泉 あおい) <novaburst@noreply@mills.io>
2022-10-05 00:16:24 +00:00

23 lines
1.1 KiB
HTML

{{define "content"}}
<article>
<div>
<hgroup>
<h2>Contact us</h2>
<h3>How can we help you?</h3>
</hgroup>
<form action="/support" method="POST">
<input type="hidden" name="csrf_token" value="{{ $.CSRFToken }}">
<input type="text" name="name" placeholder="Name" aria-label="Name" required="required" autofocus />
<input type="email" name="email" placeholder="Email address" aria-label="Email" required="required" />
<input type="text" name="subject" placeholder="Subject" aria-label="Subject" required="required" />
<textarea name="message" placeholder="Message" aria-label="Message" rows="4" cols="50" required="required="></textarea>
<p>Please solve this simple math problem below so we know you're a human!</p>
<img id="captcha" src="/_captcha" alt="captcha" height="50" width="150" />
<input type="text" name="captchaInput" placeholder="Captcha" aria-label="Captcha" required="required" />
<input type="submit" class="contrast" value="submit" />
</form>
</div>
<div></div>
</article>
{{end}}