-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
183 lines (170 loc) · 9.04 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
<!doctype html>
<html lang="txg">
<head>
<title>TXGlook</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Alex DelPriore" />
<meta name="keywords" content="tangut, tangut script, тангутский, 西夏, 西夏語, 西夏文, 西夏文字" />
<!-- favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="./manifest.json">
<link rel="mask-icon" href="./safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
<!-- end favicons -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="./css/txglook.css" />
</head>
<body>
<ul class="nav nav-pills nav-stacked">
<li class="active"><a data-toggle="pill" href="#component-tab" onclick="clearStrokeEntryField();">Components</a></li>
<li><a data-toggle="pill" href="#stroke-tab" onclick="clearComponents();">Strokes</a></li>
</ul>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12" id="header">TXGlook</div>
</div>
<div class="row">
<div class="col-sm-12">
<textarea id="output"></textarea>
</div>
</div>
<div class="row">
<div class="col-sm-2 col-sm-push-10" id="dir-buttons">
<img src="./img/arrow_ltr.png" title="Left to right" onclick='switchWritingMode("horizontal-tb");'/><img src="./img/arrow_ttb.png" title="Top to bottom" onclick='switchWritingMode("vertical-rl");'/>
</div>
<div class="col-sm-10 col-sm-pull-2" id="rollover-info">
<!-- rollover info goes here -->
</div>
</div>
<div class="row" id="search-results">
<div class="col-sm-12">
<div class="results-viewport">
<ul id="result-list" class="results-wrapper">
<!-- result list -->
</ul>
</div>
</div>
</div>
<div class="tab-content">
<div class="tab-pane active" id="component-tab">
<div class="row">
<div class="col-sm-12" id="component-pane">
<div class="container-fluid" id="component-table">
<!-- component table -->
</div>
</div>
</div>
</div>
<div class="tab-pane" id="stroke-tab">
<div class="row">
<div class="col-sm-12" id="stroke-pane">
<div class="thumbnail checkbox-wrapper" title="starts with"><label onclick="toggleCheckbox('stroke-begins-with')">^</label> <input type="checkbox" id="stroke-begins-with"/></div>
<input type="text" id="stroke-entry-field" />
<div class="thumbnail checkbox-wrapper" title="ends with"><input type="checkbox" id="stroke-ends-with"/> <label onclick="toggleCheckbox('stroke-ends-with')">$</label></div>
<span class="glyphicon glyphicon-remove" title="Clear strokes" onclick="clearStrokeEntryField();"></span>
<div class="container-fluid" id="stroke-table">
<div class="row">
<div class="col-sm-12">
<div class="thumbnail" onclick="insertStroke('A');">
<div class="caption">A</div>
<img src="./img/strokes/A.png" title="A" alt="𘠀" />
</div>
<div class="thumbnail" onclick="insertStroke('B');">
<div class="caption">B</div>
<img src="./img/strokes/B.png" title="B" alt="𘠁"/>
</div>
<div class="thumbnail" onclick="insertStroke('C');">
<div class="caption">C</div>
<img src="./img/strokes/C.png" title="C" alt="𘠂"/>
</div>
<div class="thumbnail" onclick="insertStroke('D');">
<div class="caption">D</div>
<img src="./img/strokes/D.png" title="D" alt="㇔"/>
</div>
<div class="thumbnail" onclick="insertStroke('E');">
<div class="caption">E</div>
<img src="./img/strokes/E.png" title="E" alt="㇕"/>
</div>
<div class="thumbnail" onclick="insertStroke('F');">
<div class="caption">F</div>
<img src="./img/strokes/F.png" title="F" alt="㇈"/>
</div>
<div class="thumbnail" onclick="insertStroke('G');">
<div class="caption">G</div>
<img src="./img/strokes/G.png" title="G" alt="𘠃"/>
</div>
<div class="thumbnail" onclick="insertStroke('H');">
<div class="caption">H</div>
<img src="./img/strokes/H.png" title="H" alt="𘠄"/>
</div>
<div class="thumbnail" onclick="insertStroke('I');">
<div class="caption">I</div>
<img src="./img/strokes/I.png" title="I" alt="𘠅"/>
</div>
<div class="thumbnail" onclick="insertStroke('J');">
<div class="caption">J</div>
<img src="./img/strokes/J.png" title="J" alt="㇡"/>
</div>
<div class="thumbnail" onclick="insertStroke('K');">
<div class="caption">K</div>
<img src="./img/strokes/K.png" title="K" alt="[橫折橫]"/>
</div>
<div class="thumbnail" onclick="insertStroke('L');">
<div class="caption">L</div>
<img src="./img/strokes/L.png" title="L" alt="㇗"/>
</div>
<div class="thumbnail" onclick="insertStroke('M');">
<div class="caption">M</div>
<img src="./img/strokes/M.png" title="M" alt="𘠆"/>
</div>
<div class="thumbnail" onclick="insertStroke('N');">
<div class="caption">N</div>
<img src="./img/strokes/N.png" title="N" alt="[橫撇點提]"/>
</div>
<div class="thumbnail" onclick="insertStroke('O');">
<div class="caption">O</div>
<img src="./img/strokes/O.png" title="O" alt="𘠈"/>
</div>
<div class="thumbnail" onclick="insertStroke('P');">
<div class="caption">P</div>
<img src="./img/strokes/P.png" title="P" alt="𘠉"/>
</div>
<div class="thumbnail" onclick="insertStroke('Q');">
<div class="caption">Q</div>
<img src="./img/strokes/Q.png" title="Q" alt="㇏"/>
</div>
<br/>
<div class="thumbnail" onclick="insertStroke('.');">
<div class="caption">.</div>
<img src="./img/strokes/dot.png" title="wildcard: one of any stroke" alt="."/>
</div>
<div class="thumbnail" onclick="insertStroke('*');">
<div class="caption">*</div>
<img src="./img/strokes/star.png" title="wildcard: zero or more of any stroke" alt="*"/>
</div>
<!-- <div class="thumbnail" onclick="insertStroke('R');">
<div class="caption">R</div>
<img src="./img/strokes/R.png" title="R" alt="㇀"/>
</div> -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12" id="footer">
<a href="https://github.com/adlpr/TXGlook">v1.2.0.2</a> ・ by <a href="http://adlpr.io/">Alex DelPriore</a> ・ <a href="http://www.babelstone.co.uk/Fonts/Yinchuan.html">Tangut Yinchuan font © Prof. Jing Yongshi 景永时</a>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script type="text/javascript" src="./js/txglook-data.js"></script>
<script type="text/javascript" src="./js/txglook.js"></script>
</html>