Spaces:
Running
Running
Upload upload.html
Browse files- templates/upload.html +20 -0
templates/upload.html
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!doctype html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
6 |
+
<title>Upload File</title>
|
7 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
8 |
+
</head>
|
9 |
+
<body>
|
10 |
+
<div class="container">
|
11 |
+
<h1 class="mt-5">Upload new File</h1>
|
12 |
+
<form method="post" enctype="multipart/form-data" action="{{ url_for('upload_file') }}">
|
13 |
+
<div class="form-group">
|
14 |
+
<input type="file" name="file" class="form-control-file">
|
15 |
+
</div>
|
16 |
+
<button type="submit" class="btn btn-primary">Upload</button>
|
17 |
+
</form>
|
18 |
+
</div>
|
19 |
+
</body>
|
20 |
+
</html>
|