2023-06-24 18:40:57 +00:00
|
|
|
{{template "header" .}}
|
|
|
|
|
|
|
|
<main>
|
2023-08-27 11:52:32 +00:00
|
|
|
<h2>Mozhi</h2>
|
2023-07-22 14:24:15 +00:00
|
|
|
<h3>Translate</h3>
|
|
|
|
|
|
|
|
<form action="/" method="get">
|
|
|
|
<label for="textin">Text To Translate:</label>
|
|
|
|
<textarea id="textin" name="textin" rows="4" cols="50"></textarea>
|
|
|
|
<input type="checkbox" name="vehicle1" value="Bike">
|
|
|
|
<label for="vehicle1"> I have a bike</label><br>
|
|
|
|
<input type="checkbox" name="vehicle2" value="Car">
|
|
|
|
<label for="vehicle2"> I have a car</label><br>
|
|
|
|
<input type="checkbox" name="vehicle3" value="Boat" checked>
|
|
|
|
<label for="vehicle3"> I have a boat</label><br><br>
|
|
|
|
<input type="submit" value="Submit">
|
|
|
|
</form>
|
2023-06-24 18:40:57 +00:00
|
|
|
<h3>Info</h3>
|
2023-08-27 11:52:32 +00:00
|
|
|
{{ if eq .version "unknown, please build with Go 1.13+ or use Git"}} Mozhi
|
|
|
|
version: <code>unknown</code> {{ else }} Mozhi version:
|
|
|
|
<a href="https://codeberg.org/aryak/mozhi/commit/{{ .version}}"
|
2023-06-24 18:40:57 +00:00
|
|
|
><code>{{ .version}}</code></a
|
|
|
|
>
|
|
|
|
{{ end }}
|
|
|
|
<br />
|
|
|
|
Fiber version: {{ .fiberversion}}, running on {{ .goversion}}
|
|
|
|
</main>
|
|
|
|
{{ template "footer" .}}
|