Ticket:#
US:[US-ID]
Beschreibung:
master
VogelT 2 months ago
parent 9ee5379c38
commit 33b0baca82

@ -8,4 +8,6 @@ public class TranslatorApplication {
public static void main(String[] a) {
SpringApplication.run(TranslatorApplication.class, a);
}
}
}

@ -1,8 +1,8 @@
spring:
datasource:
url: jdbc:mariadb://mariadb:3306/translator
url: jdbc:mariadb://localhost:3306/translator
username: translator
password: translator
password: jhi1nTPw.
jpa:
hibernate:
ddl-auto: update

@ -1 +1,21 @@
<html><body><h2>Translation Logs</h2><table border=1><tr><th>ID</th><th>From</th><th>To</th><th>Text</th><th>Result</th></tr><tr th:each="l:${logs}"><td th:text="${l.id}"/><td th:text="${l.sourceLang}"/><td th:text="${l.targetLang}"/><td th:text="${l.sourceText}"/><td th:text="${l.translatedText}"/></tr></table></body></html>
<html>
<body>
<h2>Translation Logs</h2>
<table border=1>
<tr>
<th>ID</th>
<th>From</th>
<th>To</th>
<th>Text</th>
<th>Result</th>
</tr>
<tr th:each="l:${logs}">
<td th:text="${l.id}" />
<td th:text="${l.sourceLang}" />
<td th:text="${l.targetLang}" />
<td th:text="${l.sourceText}" />
<td th:text="${l.translatedText}" />
</tr>
</table>
</body>
</html>
Loading…
Cancel
Save