-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
47 lines (43 loc) · 2.29 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
<!doctype html>
<html manifest="manifest.appcache">
<head>
<title>Character Picker</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="stylesheet.css" />
<script src="characterPicker.js" type="text/javascript"></script>
<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body id="body" onload="start();">
<h1>Unicode characters picker</h1>
<p>For quick start, you may want to experiment with some <a onclick="loadCharactersFile('0x1f600-emoticons.json')" href="#?load=0x1f600-emoticons.json">Emoji glyps</a> or some <a onclick="loadCharactersFile('0x1f300-miscellaneous_symbols_and_pictographs.json')" href="#?load=0x1f300-miscellaneous_symbols_and_pictographs.json">Pictographs</a>.</p>
<div id="panel">
<textarea id="input" dir="auto" autofocus onkeyup="updateInputLength()" placeholder="Type your message here…"></textarea>
<fieldset>
<button id="clear">Clear</button>
<button id="tweet" onclick="document.location = 'https://twitter.com/?status='+ encodeURI(document.getElementById('input').value);">Tweet</button>
</fieldset>
<fieldset>
<legend>Active keymap</legend>
<select id="blockSelection" onchange="loadSelectedBlock(document.getElementById('blockSelection'));">
<option value=""></option>
</select>
</fieldset>
<fieldset>
<legend>Show as </legend>
<input type="radio" name="style" value="table" checked="checked" onclick="changeListStyle('table')" id="label-table" />
<label for="label-table">Table</label>
<input type="radio" name="style" value="list" onclick="changeListStyle('list')" id="label-list"/>
<label for="label-list">List</label>
</fieldset>
<fieldset>
<legend>Input length</legend>
<span id="length"></span> <span id="value"></span>
</fieldset>
</div>
<div id="buttons">
<div class="big">Please select keymap above to start</div>
</div>
<p>CC-BY-SA <a href="http://tomercohen.com">Tomer Cohen</a>. Source code available on <a href="https://github.com/tomer/characterPicker">github</a>, fell free to fork and PR new features!</p>
<p>Symbola font borrowed from <a href="http://users.teilar.gr/~g1951d">http://users.teilar.gr/~g1951d</a>, and EmojiOne font from <a href="https://github.com/eosrei/emojione-color-font">eosrei@github</a>.
</body>
</html>