-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (66 loc) · 2.34 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EasyRead</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="static/style.css" />
<link rel="icon" href="static\easyread.ico" type="image" />
</head>
<body>
<!-- header -->
<div class="header">
<div class="logo-container">
<img src="static/easyread.png" alt="logo" width="50" height="50" />
<h1>EasyRead</h1>
</div>
<div class="discription">
<h5>
བོད་ཡིག་གི་དཔེ་ཆ་རྣམས་གོ་སླ་དང་ཀློག་བདེ་རུ་གཏོང་བའི་དྲ་ཐོག་གི་ལག་ཆ་ཞིག་རེད།
</h5>
<h6>
An online tool designed to enhance the readability and comprehension
of Tibetan texts.
</h6>
</div>
</div>
<!-- body -->
<div class="float-parent">
<!-- enter -->
<div class="float-child">
<div class="enter">
<h6 style="text-align: center">Tibetan Text</h6>
<form method="post" action="{{url_for('tokenize')}}">
<!-- <label for="inputText" style="text-align: center"
>Input Text:</label
> -->
<textarea
id="ipText"
name="ipText"
placeholder="Type or paste the text here."
></textarea>
<button type="submit">Enhance Text</button>
</form>
</div>
</div>
<!-- ṛesult -->
<div class="float-child">
<div class="result">
<h6 style="text-align: center">Enhanced Text</h6>
<form method="post" action="{{url_for('download_token')}}">
<!-- <label for="outputText">Tokenized Text:</label> -->
<textarea id="opText" name="opText">{{ output }}</textarea>
<input type="hidden" name="opText" id="hiddenText" />
<button type="submit">Download Text</button>
</form>
</div>
</div>
</div>
</body>
</html>