-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathindex.html
64 lines (53 loc) · 1.23 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>File Uploader</title>
<script type="text/javascript" src="js/build.js"></script>
<style>
body {
box-sizing: border-box;
font-size: 12pt;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 1%;
}
.upload {
padding: 0.5rem;
margin: 0.5rem;
border: 1px solid lightgrey;
border-radius: 3px;
}
.upload.uploaded {
background-color: aliceblue;
}
.upload.error {
color: red;
}
.upload.abort {
color: lightgrey;
}
.upload > .status {
text-transform: uppercase;
font-size: 0.7em;
transform: translateY(30%);
}
.upload > .progress rect.bar {
fill: steelblue;
}
.upload.error > .progress rect.bar {
fill: red;
}
.upload.abort > .progress rect.bar {
fill: lightgrey;
}
.upload > .progress line.end {
stroke: lightgrey;
stroke-width: 1;
}
</style>
</head>
<body>
<h1>File Uploader example</h1>
<div id="container"></div>
</body>
</html>