-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
41 lines (38 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Murtuzaali Surti">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.0/jspdf.umd.min.js"></script>
<script src="https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.1.5/html2canvas.min.js" integrity="sha512-oQzeC9gIS3sN3QCshVeDWiRCC2tJbR9lqj1rolUtQkGJJeA+7L54y/DVZf0+T3NDZuLOkbInugg7dVNwvcEGow==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.8.0/html2pdf.bundle.min.js" integrity="sha512-w3u9q/DeneCSwUDjhiMNibTRh/1i/gScBVp2imNVAMCt6cUHIw6xzhzcPFIaL3Q1EbI2l+nu17q2aLJJLo4ZYg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="styles.css" type="text/css">
<title>Bookmark to PDF converter | by Murtuza</title>
</head>
<body>
<p id="heading">Bookmarks' PDF</p>
<label for="upload" id="upload-label">Add file<i class="fas fa-upload"></i></label>
<input type="file" name="bk_file" id="upload" style="display: none">
<div class="uploaded-files"></div>
<div class="output">
<div class="download_contain" style="display: none">
<span>Your file has been generated!</span>
<button id="pdf_download">Download <i class="fas fa-download"></i></button>
</div>
<iframe srcdoc="<div class='container'><div class='loading'><i class='fas fa-spinner'></i></div><div class='bookmarks'></div></div>" style="display: none;">
</iframe>
</div>
<footer>
<div class="text1" aria-label="contributor">Huge thanks to <a href="https://github.com/devster31"><em><strong>devster31</strong></em></a> for <a href="https://gist.github.com/devster31/4e8c6548fd16ffb75c02e6f24e27f9b9"><strong><em>bookmark parser</em></strong></a> • Made with <i class="fas fa-heart"></i> by <a rel="noreferrer" aria-label="github profile" href="https://github.com/murtuzaalisurti">Murtuza</a></div>
<div class="text2" aria-label="powered by">Powered by Heroku</div>
</footer>
<script src="app.js"></script>
</body>
</html>