-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (64 loc) · 2.44 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Leedor</title>
</head>
<body>
<main>
<div class="toolbar">
<label>
Open an EPUB:
<input id="file" type="file" name="file" accept="application/epub+zip">
</label>
<div>
<button id="toggle-toc" title="Toggle Table of Contents">
<img src="static/toc.svg" class="icon icon-toc">
</button>
<button id="smaller" title="Decrease font size">
<img src="static/minus.svg" class="icon icon-minus">
</button>
<button id="larger" title="Increase font size">
<img src="static/plus.svg" class="icon icon-plus">
</button>
</div>
</div>
<div class="chapter-nav prev-wrapper">
<button id="prev" title="Previous">
<img src="static/prev.svg" class="icon icon-prev">
</button>
</div>
<div class="chapter-nav next-wrapper">
<button id="next" title="Next">
<img src="static/next.svg" class="icon icon-next">
</button>
</div>
<div id="content" class="content"></div>
<div id="welcome" class="welcome">
<h1>Leedor</h1>
<p>
An EPUB reader written in <a href="https://www.rust-lang.org">Rust</a> and
compiled to <a href="https://webassembly.org">WebAssembly</a>.
</p>
<p>Give it a try! Load a DRM-free eBook from your machine using the form above. </p>
<p>You can also click on one of these books to open it:</p>
<ul id="samples">
<li><a href="#sherlock">The Adventures of Sherlock Holmes</a> by Arthur Conan Doyle (in English)</li>
<li><a href="#quijote">Don Quijote</a> by Miguel de Cervantes (in Spanish)</li>
<li><a href="#casmurro">Dom Casmurro</a> by Machado de Assis (in Portuguese)</li>
<li><a href="#cheri">Chéri</a> by Colette (in French)</li>
<li><a href="#briefe">Briefe aus dem Gefängnis</a> by Rosa Luxemburg (in German)</li>
</ul>
<p>
Check out the <a href="https://github.com/jreyes33/leedor">source code on GitHub</a>.
</p>
</div>
<nav id="toc-nav" class="toc-nav hidden">
<h2>Table of Contents</h2>
<ul id="toc" class="toc"></ul>
</nav>
</main>
</body>
</html>