-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathannotate.html
executable file
·117 lines (64 loc) · 1.5 KB
/
annotate.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<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>Title</title>
<style>
body {
background-color: #eee;
}
.page {
background-color: #fff;
}
</style>
</head>
<body>
<div class="container page">
<div class="row">
<div class="col-xs-10 offset-xs-1" id="box">
testing hello
<form action="/upload" target="_blank">
File name:<br>
<input type="text" name="filename" value="filenameGoesHere"><br>
<br>
<input type="file" name="file">
<br>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/chart.css">
<script src="/js/vendor.min.js"></script>
<script src="/js/chart.js"></script>
<script>
function upload() {
var package = {
hello: 'world'
};
$.ajax({
type: "POST",
url: "/upload",
complete: function(d){
console.log("Finished!", d);
},
contentType: "application/json; charset=utf-8",
dataType: "json",
data: JSON.stringify(package)
});
}
</script>
<style>
table {
width: 100%;
}
td {
padding: 2px;
border: solid 1px black;
}
</style>
</body>
</html>