-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
61 lines (53 loc) · 1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Woff Viewer</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<header>
<h1>Woff Webfont Viewer
</h1>
<p class="finePrint">Viewable on modern browsers</p>
<p class="finePrint">By <a href="https://github.com/tmroyal/woff-viewer" target="_blank">Thomas Royal</a></p>
<div id="dropArea">
<div id="dropAreaUI">
<p>Drag/Drop .woff file</p>
<input type="file" name="fileDiag" accept=".woff,.woff2">
<p id="loadedFont">Loaded Font: Arial</p>
</div>
</div>
</header>
<main>
<div id="searchComponent">
<ul>
<li id="unicodeRangeMenuFunc" class="selected">Filter By Unicode Range</li>
<li id="unicodeNameMenuFunc">Search By Unicode Name</li>
</ul>
<div id="rangeSelector">
<input name="rangeSelectorSearch" type="text" disabled value="" placeholder="Search Unicode Range"></input>
<select name="rangeSelector"></select>
</div>
<div id="nameSearch" class="hidden">
<input name="nameSearch" type="text" disabled placeholder="Search Glyph Name"></input>
</div>
</div>
<div id="glyphContainer">
</div>
<div class="glyphDisplayBox" id="glyphTemplate">
<div class="glyphDisplay">
</div>
<div class="codeDisplay"></div>
<div class="glyphTitleDisplay"></div>
</div>
</main>
<nav class="hidden" id="backToTop">
<span id="backToTopLink">
▲ Back to top
</span>
</nav>
<script src="woffViewer.js"></script>
</body>
</html>