-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (74 loc) · 2.63 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
<!doctype html>
<html class="no-js" lang="zh-Hant">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chinese (HK) Helper</title>
<link rel="stylesheet" href="css/foundation.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/vendor/modernizr.js"></script>
</head>
<body>
<div class="row">
<div class="large-12 columns">
<h1 class="text-center">Welcome</h1>
</div>
</div>
<div class="row">
<div class="large-6 large-offset-3 columns">
<form id="search">
<div class="row collapse">
<div class="small-10 columns">
<input lang="zh-Hant" type="text" name="input" placeholder="Type Chinese Characters here" />
</div>
<div class="small-2 columns">
<input class="button postfix" type="submit" value="SEARCH" />
</div>
</div>
</form>
</div>
</div>
<div class="row">
<div class="large-12 columns" id="result"></div>
</div>
<div id="bottom" class="row">
<div class="large-6 large-offset-3 columns">
<h4 class="text-center"><small>Tip: You could change romanization scheme of Cantonese in settings.</small></h4>
</div>
<div class="large-12 columns">
<ul class="inline-list">
<li><a href="https://github.com/mahiuchun/zh-hk/">about</a></li>
<li><a href="https://github.com/mahiuchun/zh-hk/issues">feedback</a></li>
<li><a href="#" data-reveal-id="myModal">settings</a></li>
</ul>
</div>
</div>
<div id="myModal" class="reveal-modal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
<form>
<label>Romanization Scheme of Cantonese
<select id="canto-scheme">
<option value="jyutping">LSHK</option>
<option value="yale">Yale</option>
<option value="hked">教院式</option>
<option value="sidneylau">劉錫祥</option>
</select>
</label>
</form>
<a class="close-reveal-modal" aria-label="Close">×</a>
</div>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
<script src="js/chinese_to_big5.js"></script>
<script src="js/chinese_to_cangjie.js"></script>
<script src="js/chinese_to_jyutping.js"></script>
<script src="js/chinese_to_mandarin.js"></script>
<script src="js/chinese_to_simplified.js"></script>
<script src="js/chinese_to_traditional.js"></script>
<script src="js/cangjie.js"></script>
<script src="js/libcantonese.js"></script>
<script src="js/script.js"></script>
</body>
</html>