-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
239 lines (232 loc) · 8.96 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!DOCTYPE html>
<html lang="en">
<head>
<title>Translation Chat Bot</title>
<meta charset="utf-8">
<meta name="description" content="translation chat bot deep learning ai">
<meta name="author" content="Tucker Triggs, tucker.triggs@yahoo.com">
<!--mobile responsive-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--bootstrap 3.3.7-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!--roboto font-->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,300italic' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Rock+Salt" rel="stylesheet">
<!--aldrich font-->
<link href="https://fonts.googleapis.com/css?family=Aldrich" rel="stylesheet">
<!--font awesome-->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
<!-- favicon -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!-- dropdown style -->
<link rel="stylesheet" type="text/css" href="css/style5.css" />
<!-- modernizr -->
<script src="js/modernizr.custom.63321.js"></script>
<!-- css -->
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container-fluid text-center">
<div class="text-xs-center title">Translation Chatbot</div>
<div class="intro-text">A friendly translation bot to help you communicate anywhere. <br /> Go ahead, ask me a question:
</div>
<div class="inputcontainer text-xs-center">
<select id="cd-dropdown" class="cd-select">
<option value="-1" class="over-option" selected>Examples</option>
<option value="1" class="under-option">English to Spanish</option>
<option value="6" class="under-option">English to Thai</option>
<option value="7" class="under-option">English to Russian</option>
<option value="2" class="under-option">English to Chinese</option>
<option value="3" class="under-option">English to Arabic</option>
<option value="4" class="under-option">Spanish to English</option>
<option value="5" class="under-option">Spanish to German</option>
</select>
<input id="inputtext" type="text">
<button id="enter" class="enterbtn"><i class="fa fa-arrow-right" aria-hidden="true"></i></button>
</div>
<div class="chat-boxposition">
<div class='chat-box text-xs-center col-xs-12'>
<ul id='chat_ul'>
<li>
<div class='human'>
<div class='human-icon'>
<img class='human-image icon' src="img/human2.png" alt="">
</div>
<div class='text'>
how do you say good morning in spanish?
</div>
</div>
</li>
<li>
<div class='bot'>
<div class='text'>
Buenos días
</div>
<div class='bot-icon'>
<img class='bot-image icon' src="img/bot2.png" alt="">
</div>
</div>
</li>
</ul>
</div>
</div>
<!-- open/close -->
<div class="overlay overlay-contentscale">
<button type="button" class="overlay-close"><i class="fa fa-times" aria-hidden="true"></i>
</button>
<div class="text-xs-left col-md-10 col-md-offset-1 col-xs-12 about-text">
<li> 1. Translation Chatbot uses Google's AI API combined with the Google Translate API to offer quick translations to over 100 languages.</li>
<li>2. The service needs text to translate and the language you want to translate it to.</li>
<li> 3. Google Translate auto-detects the original language of your text and returns the translation as a response.</li>
</div>
<div class="col-md-8 col-md-offset-2 col-xs-10 col-xs-offset-1">
<hr class="horizontal-rule">
</div>
<div class="text-xs-center col-xs-12 col-md-10 col-md-offset-1 language-container">
<span class="smaller-font">Languages:</span>
<br>
<ol class="languages">
<li>Afrikaans</li>
<li>Albanian</li>
<li>Amharic</li>
<li>Arabic</li>
<li>Armenian</li>
<li>Azerbaijani</li>
<li>Basque</li>
<li>Belarusian</li>
<li>Bengali</li>
<li>Bosnian</li>
<li>Bulgarian</li>
<li>Catalan</li>
<li>Cebuano</li>
<li>Chichewa</li>
<li>Chinese (Simplified and Traditional)</li>
<li>Corsican</li>
<li>Croatian</li>
<li>Czech</li>
<li>Danish</li>
<li>Dutch</li>
<li>English</li>
<li>Esperanto</li>
<li>Estonian</li>
<li>Filipino</li>
<li>Finnish</li>
<li>French</li>
<li>Frisian</li>
<li>Galician</li>
<li>Georgian</li>
<li>German</li>
<li>Greek</li>
<li>Gujarati</li>
<li>Haitian Creole</li>
<li>Hausa</li>
<li>Hawaiian</li>
<li>Hebrew</li>
<li>Hindi</li>
<li>Hmong</li>
<li>Hungarian</li>
<li>Icelandic</li>
<li>Igbo</li>
<li>Indonesian</li>
<li>Irish</li>
<li>Italian</li>
<li>Japanese</li>
<li>Javanese</li>
<li>Kannada</li>
<li>Kazakh</li>
<li>Khmer</li>
<li>Korean</li>
<li>Kurdish (Kurmanji)</li>
<li>Kyrgyz</li>
<li>Lao</li>
<li>Latin</li>
<li>Latvian</li>
<li>Lithuanian</li>
<li>Luxembourgish</li>
<li>Macedonian</li>
<li>Malagasy</li>
<li>Malay</li>
<li>Malayalam</li>
<li>Maltese</li>
<li>Maori</li>
<li>Marathi</li>
<li>Mongolian</li>
<li>Myanmar (Burmese)</li>
<li>Nepali</li>
<li>Norwegian</li>
<li>Pashto</li>
<li>Persian</li>
<li>Polish</li>
<li>Portuguese</li>
<li>Punjabi</li>
<li>Romanian</li>
<li>Russian</li>
<li>Samoan</li>
<li>Scots Gaelic</li>
<li>Serbian</li>
<li>Sesotho</li>
<li>Shona</li>
<li>Sindhi</li>
<li>Sinhala</li>
<li>Slovak</li>
<li>Slovenian</li>
<li>Somali</li>
<li>Spanish</li>
<li>Sundanese</li>
<li>Swahili</li>
<li>Swedish</li>
<li>Tajik</li>
<li>Tamil</li>
<li>Telugu</li>
<li>Thai</li>
<li>Turkish</li>
<li>Ukrainian</li>
<li>Urdu</li>
<li>Uzbek</li>
<li>Vietnamese</li>
<li>Welsh</li>
<li>Xhosa</li>
<li>Yiddish</li>
<li>Yoruba</li>
<li>Zulu</li>
</ol>
</div>
<div class="see-work text-xs-center col-xs-6 col-xs-offset-3"><a href="http://www.tuckertriggs.com">See more of my work <i class="fa fa-arrow-right"></i></a></div>
</div>
<!-- Icons box -->
<div class="icon-container">
<div class="icon-box">
<img class='icon human-change tray-icon' src="img/human1.png" alt="">
<img class='icon human-change tray-icon' src="img/human4.png" alt="">
<img class='icon human-change tray-icon' src="img/human5.png" alt="">
<img class='icon human-change tray-icon' src="img/human2.png" alt="">
<img class='icon human-change tray-icon' src="img/human3.png" alt="">
<img class='icon human-change tray-icon' src="img/human6.png" alt="">
<div class="divider"></div>
<img class='icon bot-change tray-icon' src="img/bot1.png" alt="">
<img class='icon bot-change tray-icon' src="img/bot2.png" alt="">
<img class='icon bot-change tray-icon' src="img/bot3.png" alt="">
<img class='icon bot-change tray-icon' src="img/bot4.png" alt="">
<img class='icon bot-change tray-icon' src="img/bot5.png" alt="">
<img class='icon bot-change tray-icon' src="img/bot6.png" alt=""></div>
</div>
<!-- /open close-->
<div class="fixtobottom text-center">
<div class="bottombuttons">
<button id="icons" type="button" class="bottombutton">Icons</button>
<button id="about" type="button" class="bottombutton">About</button>
<button id="clear" type="button" class="bottombutton">Clear</button>
</div>
</div>
<!-- End Container -->
</div>
<!-- jquery 3.2.1 -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<!-- dropdown plugin -->
<script type="text/javascript" src="js/jquery.dropdown.js"></script>
<!-- config file -->
<script type='text/javascript' src='js/config.js'></script>
<!-- main js -->
<script src="js/js.js"></script>
</body>
</html>