-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuploadfile.html
63 lines (48 loc) · 2.2 KB
/
uploadfile.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FutureBoard - Upload</title>
<link rel="stylesheet" type="text/css" href="/static/vendor/materialize.min.css">
<!-- load Materialize js -->
<script src='/static/vendor/materialize.min.js' charset="UTF-8" type="text/javascript"></script>
<!-- load Materialize icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- load CSS -->
<link rel="stylesheet" type="text/css" href="/static/css/upload.css">
<link rel="stylesheet" type="text/css" href="/static/vendor/dropzone.css">
<!-- load vendor js -->
<script src="/static/vendor/jquery.min.js" charset="UTF-8" type="text/javascript"></script>
<script src="/static/vendor/dropzone.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<!-- load js -->
<script src="/static/js/uploadfile.js" charset="UTF-8" type="text/javascript"></script>
</head>
<body>
<div class="container">
<div class="row">
<nav class="col s12">
<div class="nav-wrapper">
<a class="brand-logo"><i class="material-icons hide-on-small-only">fast_forward</i>FutureBoard: Upload</a>
</div>
</nav>
<!-- Dropzone automatically runs on a form with the "dropzone-input" id -->
<form action="/file-upload" class="dropzone hoverable col s12" id='dropzone-input'>
<div class="fallback">
<input name="file" type="file" multiple />
</div>
</form>
<progress id="progress" value="0">
</progress>
<label for="description">Description <span>Who are you? Where is the media from? Anything else?</span></label>
<input id="description" type="text" name="description" placeholder="Some text">
<button type="submit" name="action" class="col s12 btn-large btn waves-effect waves-light submit" disabled="disabled" id="submit-button">
<i class="material-icons">send</i> SUBMIT
</button>
</div>
</div>
</body>
</html>