-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (78 loc) · 2.6 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title id="t_translit">Translit</title>
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="stylesheet" href="css/w3.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery-3.3.1.slim.min.js"></script>
<script src="js/mustache.min.js"></script>
<script src="js/clipboard.min.js"></script>
</head>
<body>
<div class="w3-container w3-blue">
<div class="header">
<h1 id="t_transliteration" class="header"> </h1>
<span class="header">
<button id="langEn" class="w3-btn w3-border w3-border-blue w3-round">
English
</button>
<button id="langCs" class="w3-btn w3-border w3-border-blue w3-round">
česky
</button>
<button id="langRu" class="w3-btn w3-border w3-border-blue w3-round">
русский
</button>
</span>
</div>
</div>
<div class="main">
<div class="w3-container">
<h4 id="t_cyrilic"> </h4>
<div id="inputText" class="textarealook" contenteditable="true" spellcheck="false"></div>
</div>
<script id="template" type="x-tmpl-mustache">
<label for="{{ lang }}">
<span class="lang w3-btn w3-white w3-border w3-round-large">
<input class="w3-check" id="{{ lang }}" type="radio" name="lang" value="{{ lang }}">
<span class="langText" id="t_{{ lang }}"> </span>
<img src="img/{{ lang }}.png" class="w3-border w3-round flag" alt="{{ lang }} flag">
</span>
</label>
</script>
<!-- //www.statnivlajky.cz/data/flags/small/ua.png -->
<div id="target" class="w3-container">
<!-- To be filled by mustache -->
</div>
<div class="w3-container">
<h4 id="t_latin"> </h4>
<div id="output" class="textarealook" contenteditable="true" spellcheck="false">
Please enable JavaScript.
</div>
</div>
<div class="w3-container copy">
<button id="copyButton"
class="w3-btn w3-white w3-border w3-border-blue w3-round"
data-clipboard-target="#output">
<span id="t_copy"> </span>
</button>
</div>
</div> <!-- end of main -->
<div class="footer w3-dark-grey">
<p class="footer">
<span id="t_according"> </span>
<a id="t_norm"
href="https://www.nkp.cz/o-knihovne/odborne-cinnosti/zpracovani-fondu/transliterace-nelatinkovych-pisem/cyrilice"
target="_blank">
</a>
<img class="footer" src="img/favicon-16x16.png" alt="icon">
<span id="t_view"> </span>
<a id="t_source" href="https://github.com/mejem/translit" target="_blank"> </a>
</p>
</div>
<script src="js/dictionary.js"></script>
<script src="js/translit.js"></script>
</body>
</html>