-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
64 lines (50 loc) · 2.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Bookletize.js" />
<meta property="og:description" content="Reformat PDFs into booklets in 4,1,2,3 or 8,1,2,7/6,3,4,5 format in JavaScript."/>
<title>Bookletize.js</title>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link href="node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<script src="node_modules/pdf-lib/dist/pdf-lib.min.js"></script>
<script src="node_modules/pdfobject/pdfobject.js"></script>
<script src="dist/bookletize.js"></script>
<link rel="stylesheet" href="dist/bookletize.css">
</head>
<body>
<header>
<center>
<h1><i class="fa fa-file-pdf-o"></i></h1>
<h1>Bookletize.js</h1>
<p style="width:50%;">JavaScript widget that reformats PDFs into signatures for making bound paper booklets. Print the resulting PDF, fold the stack in half and staple along the spine to form a <b>saddle stitch booklet</b>, or fold and stack sheets individually then glue the spine for a <b>perfect binding</b>.</p>
<p style="width:50%;"><a href="https://github.com/jywarren/bookletize.js">Open Source</a> by <a href="https://unterbahn.com">Jeffrey Yoo Warren</a></p>
<h2>Binding</h2>
<p style="width:50%; font-size: 1.2em;">
<input type="radio" id="saddleStitch" value="saddleStitch" name="binding" style="display:inline-block;" checked> <label for="saddleStitch" style="font-weight: normal;">Saddle stitch (4,1,2,3 or 8,1,2,7/6,3,4,5)</label><br />
<input type="radio" id="perfectBound" value="perfectBound" name="binding" style="display:inline-block;"> <label for="perfectBound" style="font-weight: normal;">Perfect (4,1,2,3 or 4,1,2,3/8,5,6,7)</label>
</p>
<p style="color:#99004C;margin-top:20px;width:50%;">Hi folks! I keep hearing that people use this tool and enjoy it. I'd love to really know how many people are using it. Would you just <a href="mailto:[email protected]?subject=Hi, I use Bookletize!">email me at [email protected] to say hello</a>? THANK YOU!</p>
</center>
</header>
<div id="dropzone" class="dropzone">
<p id="dropzone-text">
<i>Choose binding type above, then select or drag in a PDF</i>
</p>
<center>
<i class="hidden fa fa-spin fa-circle-o-notch"></i>
<input type="file" id="fileInput" value="" accept="application/pdf"><br />
</center>
</div>
<center><h3></h3></center>
<div id="pdf"></div>
<script>
(function() {
setup();
})();
</script>
</body>
</html>