Added Engines select bar

git-svn-id: file:///srv/svn/repo/mai/trunk@19 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
manerakai
2023-08-31 05:30:06 +00:00
parent b97128e5f7
commit a550111b23
3 changed files with 24 additions and 0 deletions

View File

@@ -19,6 +19,17 @@
<form action="/?engine={{.Engine}}" method="POST" id="translation-form">
<div class="center">
Translation Engine
{{$i := 0}}
{{ range $k, $v := .enginesNames }}
<a {{ if eq $k $.Engine }}style="text-decoration:underline" {{end}} href="/?engine={{ $k }}">{{ $v }}</a>
{{$i = (inc $i)}}
{{if eq $i (len $.enginesNames)}}{{else}}|{{end}}
{{end}}
</div>
<br>
<div class="wrap languages">
<div class="language">
<select name="from" aria-label="Source language">