-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
48 lines (43 loc) · 2.06 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
<!DOCTYPE html>
<html lang="ja">
<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">
<title>pdf-merge</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div id="back">
<div class="container">
<div class="row justify-content-center">
<div class="col-10 gy-5">
<label class="d-grid">
<span class="btn btn-secondary btn-lg">
Add PDF files
<input type="file" multiple accept=".pdf" style="display:none" id="fileInput">
</span>
</label>
</div>
</div>
<div class="row">
<div class="col gy-5 text-center fs-5" id="nofile">No file selected</div>
</div>
<div id="selectedFiles"></div>
<div class="row justify-content-center">
<div class="col-10 gy-5 d-grid mb-5">
<button type="button" class="btn btn-secondary btn-lg" id="merge">Merge</button>
<button type="button" class="btn btn-secondary btn-lg" id="merging" disabled>
Merging...
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://unpkg.com/pdf-lib@1.4.0/dist/pdf-lib.min.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>