-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (64 loc) · 2.31 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
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PDF Merge Tool</title>
<!-- Semantic UI CSS -->
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css">
<link rel="stylesheet" href="styles/style.css">
<script src="libs/pdf-lib.min.js"></script>
</head>
<body>
<!-- File Upload Area -->
<div id="upload-area" class="ui segment">
<h2 class="ui center aligned icon header">
<i class="circular file pdf outline icon"></i>
Drag and drop PDF files here or click to select files
</h2>
<input type="file" id="file-input" multiple accept="application/pdf" class="ui fluid button" />
</div>
<!-- Filename Input -->
<div class="ui segment">
<label for="filename-input" class="ui label">
<i class="file alternate icon"></i>
Output Filename:
</label>
<div class="ui input fluid">
<input type="text" id="filename-input" placeholder="Enter filename (optional)">
</div>
</div>
<!-- Progress Bar -->
<div class="ui segment">
<label class="ui label">
<i class="sync alternate icon"></i>
Merge Progress:
</label>
<div id="progress-bar" class="ui active progress">
<div class="bar"><div class="progress"></div></div>
</div>
</div>
<!-- Feedback Area -->
<div class="ui segment">
<label class="ui label">
<i class="info circle icon"></i>
Status:
</label>
<div id="feedback" class="ui message"></div>
</div>
<div class="ui segment">
<label class="ui label">
<i class="list icon"></i>
File Processing Status:
</label>
<div id="file-feedback" class="ui list"></div>
</div>
<!-- Semantic UI JavaScript (Optional, for dynamic components) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
<script src="libs/pdf-merge.js"></script>
</body>
</html>