From cebeca43cb5af48d3545c6b78fc423a3c87c25f8 Mon Sep 17 00:00:00 2001 From: Christian Eichert Date: Sat, 6 Aug 2022 20:16:01 +0200 Subject: [PATCH] preloading the stuff --- app/templates/index.html | 190 +++++++++++++++++++++------------------ 1 file changed, 102 insertions(+), 88 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 8991425..912997b 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -5,33 +5,47 @@ LibreTranslate - Free and Open Source Machine Translation API - - + + - - - - - + + + + + + + + + + + + + + + + + - - - - - - + {% if gaId %} {% endif %} + + + + + + + @@ -114,16 +128,16 @@

Translation API

-
- - -
+
+ + +
@@ -166,20 +180,20 @@ Translated text -
- - - - -
+
+ + + + +
@@ -187,43 +201,43 @@
-
-
-
- Supported file formats: [[ supportedFilesFormatFormatted ]] - -
-
- File - -
- -
- -
-
-
-
-
-
- [[ inputFile.name ]] - -
-
-
-
- - Download -
-
-
-
-
-
+
+
+
+ Supported file formats: [[ supportedFilesFormatFormatted ]] +
+
+
+ File + +
+ +
+
+
+
+
+
+
+
+ [[ inputFile.name ]] + +
+
+
+
+ + Download +
+
+
+
+
+
@@ -251,24 +265,24 @@
- {% if web_version %} + {% if web_version %}

Open Source Machine Translation API

100% Self-Hosted. Offline Capable. Easy to Setup.

- +
- {% endif %} + {% endif %} @@ -302,7 +316,7 @@ window.Prism.manual = true; // @license-end - - + +