lewiskimaru commited on
Commit
25cab18
·
verified ·
1 Parent(s): cb50fdb

Create templates/index.html

Browse files
Files changed (1) hide show
  1. modules/templates/index.html +34 -0
modules/templates/index.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title>Sema Translator</title>
7
+ <link rel="stylesheet" href="style.css" />
8
+ </head>
9
+
10
+ <body>
11
+ <h1>Translate and Detect Source Language</h1>
12
+
13
+ <form action="#" method="post" id="translationForm">
14
+ <div class="container">
15
+ <div class="text-box input-box">
16
+ <label for="source_lang">Select source language:</label>
17
+ <select id="source_lang" name="source_lang"></select>
18
+ <textarea id="userinput" name="userinput" placeholder="Enter text"></textarea>
19
+ </div>
20
+
21
+ <div class="text-box output-box">
22
+ <label for="target_lang">Select target language:</label>
23
+ <select id="target_lang" name="target_lang"></select>
24
+ <textarea id="output" name="output" placeholder="Translation" disabled></textarea>
25
+ </div>
26
+ </div>
27
+
28
+ <input type="submit" value="Translate">
29
+ </form>
30
+
31
+ <script src="script.js"></script>
32
+ </body>
33
+
34
+ </html>