-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload_page.html
49 lines (41 loc) · 1.48 KB
/
upload_page.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
<!DOCTYPE html>
<html>
<head>
<title>Upload PDFs</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" integrity="undefined" crossorigin="anonymous">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-dark">
<!-- Navbar content -->
<a class="navbar-brand">Rename Scientific Papers</a>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">About</a>
</li>
</ul>
</div>
</nav>
</div>
<div class="instructions">
<p class="instr-1">Scientific papers downloaded from the internet tend to have weird names.</p>
<p class="instr-2">Upload any number of PDF files here to get them renamed with the date and title!</p>
</div>
<form class="form-group" method="POST" action="/" enctype="multipart/form-data">
<input type="file" class="file-upload" name="file" multiple>
<input type="submit" class="btn" value="Upload">
<div class="form-check">
<input class="form-check-input" type="checkbox" name="include-year" value="" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
Include year of publication (takes longer to process)
</label>
</div>
</form>
<h3>{{successMessage}}</h3>
</body>
</html>