「swagger」サポートを削除し、あちこちのバグを修正
git-svn-id: file:///srv/svn/repo/mai/trunk@55 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>単に翻訳する</title>
|
||||
<title>SimplyTranslate</title>
|
||||
<link rel="shortcut icon" href="/static/favicon.ico">
|
||||
<meta name="description" content="Experience simple and private translations">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -12,7 +12,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<header class="center">
|
||||
<h1>単に翻訳する</h1>
|
||||
<h1>SimplyTranslate</h1>
|
||||
</header>
|
||||
<form action="/?engine={{.Engine}}" method="POST" id="translation-form">
|
||||
<div class="center">
|
||||
@@ -53,8 +53,7 @@
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="item-wrapper">
|
||||
<textarea autofocus class="item" id="input" name="text" dir="auto"
|
||||
placeholder="Enter Text Here">{{ .OriginalText }}</textarea>
|
||||
<textarea autofocus class="item" id="input" name="text" dir="auto" placeholder="Enter text here">{{ .OriginalText }}</textarea>
|
||||
{{if .TtsFrom}}
|
||||
<audio controls>
|
||||
<source type="audio/mpeg" src="{{ .TtsFrom }}">
|
||||
@@ -62,8 +61,7 @@
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="item-wrapper">
|
||||
<textarea id="output" class="translation item" dir="auto" placeholder="Translation"
|
||||
readonly>{{.Translation.TranslatedText}}</textarea>
|
||||
<textarea id="output" class="translation item" dir="auto" readonly>{{.Translation.TranslatedText}}</textarea>
|
||||
{{if .TtsTo}}
|
||||
<audio controls>
|
||||
<source type="audio/mpeg" src="{{ .TtsTo }}">
|
||||
@@ -128,7 +126,8 @@
|
||||
</form>
|
||||
<br><br><br><br><br>
|
||||
<footer class="center">
|
||||
<a href="https://git.chaotic.ninja/yakumo.izuru/simplytranslate">Source code</a>
|
||||
<a href="https://git.chaotic.ninja/yakumo.izuru/simplytranslate">Source code</a><br>
|
||||
<p>a <em>Mirage AIB</em> project</p>
|
||||
</footer>
|
||||
<script src="/static/script.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user