-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
383 lines (366 loc) · 14.1 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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
<!DOCTYPE html>
<html id="do_the_five">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>STOP CORONAVIRUS</title>
<meta name="description" content="COVID-19 Multilingual Poster-Maker" />
<meta name="author" content="Translation Commons and PanLex" />
<link href="images/favicon.png" rel="icon" type="image/x-icon" />
<link href="css/brands.min.css" rel="stylesheet" />
<link href="css/solid.min.css" rel="stylesheet" />
<link href="css/fontawesome.min.css" rel="stylesheet" />
<link href="https://archive.org/download/NotoFonts/noto-sans-minimal.min.css" rel="stylesheet" />
<link href="css/styles.css?v=13" rel="stylesheet" />
</head>
<body>
<div id="container">
<div id="poster">
<div class="logos" id="top-logos">
<img id="covid-logo" src="images/covid-logo.svg" alt="COVID-19 Multilingual" />
</div>
<div id="poster-background">
<div id="poster-content">
<div id="top-stuff">
<div id="stop-container">
<span id="stop" contenteditable="true" spellcheck="false">STOP CORONAVIRUS</span>
<div class="audio-buttons noprint">
<i class="fas fa-volume-up dt5-play"></i>
</div>
</div>
<form class="noprint" id="lang-picker-form">
<label id="language" contenteditable="true" spellcheck="false">
Language
</label>
<input type="text" id="lang-picker" autocomplete="off" lang="en" is="panlex-language-picker" limit="100" show-not-found />
<i id="search-icon" class="fas fa-search"></i>
</form>
</div>
<div id="steps">
<div>
<img class="icon" src="images/wash.svg" alt="wash" />
<span
class="caption"
id="wash"
contenteditable="true"
spellcheck="false"
>
Wash your hands
</span>
<div class="audio-buttons noprint">
<i class="fas fa-volume-up dt5-play"></i>
</div>
</div>
<div>
<img class="icon" src="images/cough.svg" alt="cough" />
<span
class="caption"
id="cough"
contenteditable="true"
spellcheck="false"
>
Cough into your elbow
</span>
<div class="audio-buttons noprint">
<i class="fas fa-volume-up dt5-play"></i>
</div>
</div>
<div>
<img class="icon" src="images/face.svg" alt="face" />
<span
class="caption"
id="face"
contenteditable="true"
spellcheck="false"
>
Don't touch your face
</span>
<div class="audio-buttons noprint">
<i class="fas fa-volume-up dt5-play"></i>
</div>
</div>
<div>
<img class="icon" src="images/distance.svg" alt="distance" />
<span
class="caption"
id="distance"
contenteditable="true"
spellcheck="false"
>
Keep distance
</span>
<div class="audio-buttons noprint">
<i class="fas fa-volume-up dt5-play"></i>
</div>
</div>
<div>
<img class="icon" src="images/home.svg" alt="home" />
<span
class="caption"
id="home"
contenteditable="true"
spellcheck="false"
>
Stay home
</span>
<div class="audio-buttons noprint">
<i class="fas fa-volume-up dt5-play"></i>
</div>
</div>
</div>
<div id="bottom-stuff">
<div id="bottom-form" class="noprint" dir="ltr" lang="en">
<div class="bottom-form-item">
<label>Your email:</label>
<input type="text" id="email-input" class="bottom-input" />
<span>will not be on poster</span>
</div>
<div class="bottom-form-item">
<label>Your name:</label>
<input type="text" id="name-input" class="bottom-input" />
<span>optional, for contributor list</span>
</div>
<div class="bottom-form-item official-only">
<label></label>
<input type="password" id="official-pw" autocomplete="off" />
<button id="save-button" onclick="dt5.saveTranslations()">Save</button>
</div>
</div>
<div id="disclaimer" dir="ltr" lang="en">
Translation Commons and PanLex thank all contributors helping us
reach indigenous communities around the world with this vital
information.
</div>
</div>
</div>
</div>
<div class="logos" id="bottom-logos">
<a
href="https://translationcommons.org"
target="_blank"
rel="noopener"
class="background-padding"
id="tclogo"
>
<img src="images/tc.png" alt="Translation Commons" />
</a>
<a
href="https://panlex.org"
target="_blank"
rel="noopener"
class="background-padding"
id="pllogo"
>
<img src="images/pllogo.png" alt="PanLex" />
</a>
</div>
<a
id="cc-license"
target="_blank"
rel="noopener"
href="http://creativecommons.org/licenses/by-sa/4.0/"
title="This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License"
>
<img
alt="Creative Commons License"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
/>
</a>
<img id="qrcode-langs" src="images/qr.png" />
<div id="email-blurb" class="background-padding" dir="ltr" lang="en">
Please send suggestions or problems to
<a
target="_blank"
rel="noopener"
href="mailto:[email protected]"
>
</a>
</div>
<img class="decoration" id="top-left" src="images/top-left-circles.svg" />
<img
class="decoration"
id="top-right"
src="images/top-right-circles.svg"
/>
<img
class="decoration"
id="bottom-left"
src="images/bottom-left-circles.svg"
/>
<img
class="decoration"
id="bottom-right"
src="images/bottom-right-circles.svg"
/>
</div>
<div id="bottom-buttons" class="noprint">
<div>
<a
id="share-button"
class="dt5-button share plain"
title="share"
onclick="dt5.toTarget('share-popup')"
>
<i class="fas fa-share-square"></i>
</a>
<a class="dt5-button share plain" title="print" onclick="window.print()">
<i class="fas fa-print"></i>
</a>
<a class="dt5-button share plain" title="view image" onclick="dt5.downloadFile('png')">
<i class="fas fa-image"></i>
</a>
<a class="dt5-button share plain" title="view pdf" onclick="dt5.downloadFile('pdf')">
<i class="fas fa-download"></i>
</a>
</div>
<div>
<a
class="dt5-button share facebook"
href="https://www.facebook.com/COVID19Multilingual/"
target="_blank"
rel="noopener"
>
<i class="fab fa-facebook"></i>
</a>
<a
class="dt5-button share twitter"
href="https://twitter.com/COVID19Multling"
target="_blank"
rel="noopener"
>
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
<div id="share-popup" class="overlay noprint">
<a class="cancel" onclick="dt5.toTarget()"></a>
<div class="popup">
<div class="popup-controls">
<a class="dt5-button close" onclick="dt5.toTarget()">
<i class="fas fa-window-close"></i>
</a>
</div>
<div class="share-buttons">
<a class="dt5-button share app facebook" id="facebook">
<i class="fab fa-facebook"></i>
</a>
<a class="dt5-button share app twitter" id="twitter">
<i class="fab fa-twitter"></i>
</a>
<a class="dt5-button share plain app" id="linkedin">
<i class="fab fa-linkedin"></i>
</a>
<a class="dt5-button share app" id="whatsapp">
<i class="fab fa-whatsapp"></i>
</a>
<a class="dt5-button share app" id="vk">
<i class="fab fa-vk"></i>
</a>
<a class="dt5-button share app" id="telegram">
<i class="fab fa-telegram"></i>
</a>
<a class="dt5-button share app" id="weibo">
<i class="fab fa-weibo"></i>
</a>
<a class="dt5-button share app" id="weixin">
<i class="fab fa-weixin"></i>
</a>
<a class="dt5-button share app" id="qq">
<i class="fab fa-qq"></i>
</a>
<a class="dt5-button share plain app" id="email">
<i class="fas fa-envelope"></i>
</a>
</div>
</div>
</div>
<div id="qrcode-popup" class="overlay noprint">
<a class="cancel" onclick="dt5.toTarget()"></a>
<div id="qrcode" class="popup"></div>
</div>
<div id="record-popup" class="overlay noprint message-popup">
<a class="cancel" onclick="dt5.toTarget()"></a>
<div class="popup">
<div class="popup-controls">
<a class="dt5-button close" onclick="dt5.toTarget()">
<i class="fas fa-window-close"></i>
</a>
</div>
<div class="popup-content" dir="ltr" lang="en">
<div id="dt5-record-text"></div>
<div id="record-popup-controls">
<i id="dt5-record" class="fas fa-dot-circle audio-button" title="record"></i>
<i id="dt5-play" class="fas fa-play-circle fa-disabled audio-button" title="play"></i>
<progress id="dt5-progress"></progress>
</div>
<div id="record-instructions">
<ul>
<li>Click the Record button and clearly speak the text above.</li>
<li>Click the button again to stop recording.</li>
<li>You can record for up to 10 seconds.</li>
<li>Play back the recording, make sure it sounds good, and record again if necessary.</li>
<li>The Save button at the bottom of the poster saves any recordings you have made.</li>
</ul>
</div>
</div>
</div>
</div>
<div id="error-popup" class="overlay noprint message-popup">
<a class="cancel" onclick="dt5.toTarget()"></a>
<div class="popup">
<div class="popup-controls">
<a class="dt5-button close" onclick="dt5.toTarget()">
<i class="fas fa-window-close"></i>
</a>
<i class="fas fa-exclamation-triangle alert-icon"></i>
</div>
<div id="error" class="popup-content" dir="ltr" lang="en"></div>
</div>
</div>
<div id="alert-popup" class="overlay noprint message-popup">
<a class="cancel" onclick="dt5.toTarget()"></a>
<div class="popup">
<div class="popup-controls">
<a class="dt5-button close" onclick="dt5.toTarget()">
<i class="fas fa-window-close"></i>
</a>
<i class="fas fa-check-square alert-icon"></i>
</div>
<div id="alert" class="popup-content" dir="ltr" lang="en"></div>
</div>
</div>
<template id="panlex-language-picker-not-found">
<div><span>no languages found</span><span></span></div>
<div> </div>
</template>
<template id="frozen-uid-error">
The poster text for the language “{langname}” cannot be modified.
If you have corrections, please contact us at the email below.
If you did not mean to choose it, please choose the correct language.
</template>
<template id="pw-empty-error">
Please enter the password in the location highlighted in red.<br><br>
If you don’t know the password, that’s OK. We have received your poster
and will make it publicly available after we review it.
</template>
<template id="panlexese-error">
Please enter full phrase translations if possible (and don't use “—”):
<br><br>
Don't touch your face<i class="fas fa-check mark good"></i>
<br><br>
no — touch — face<i class="fas fa-times mark bad"></i>
</template>
<template id="title-error">
Please translate the poster title at the top (highlighted in red).
</template>
<template id="success-alert">
Your poster has been saved. Thanks for your contribution!
</template>
<script src="js/webcomponents-polyfill.js?v=1"></script>
<script src="js/panlex-language-picker.js?v=3"></script>
<script src="js/qrcode.min.js"></script>
<script src="js/do_the_five.js?v=6"></script>
</div>
</body>
</html>