-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (49 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>SAR Analyzer</title>
<script src="https://cdn.plot.ly/plotly-2.5.1.js" charset="utf-8"></script>
<script src="graphs/lines.js"></script>
<script src="graphs/densitymaps.js"></script>
<script src="graphs/boxplots.js"></script>
<script src="graphs/bars.js"></script>
<script src="graphs/heatmaps.js"></script>
<script src="check.js"></script>
<script src="analyze.js"></script>
</head>
<body>
<input type="file" id="myFile" multiple size="50" onchange="run()">
<script>
function run() {
console.log(":)")
var file_select = document.getElementById("myFile");
if ('files' in file_select){
if (file_select.files.length == 0) console.log("No files selected")
else if (file_select.files.length > 0) analyze(file_select.files) //Actually do stuff
}
}
</script>
<div id="line1"></div>
<div id="line2"></div>
<div id="line3"></div>
<div id="boxplot1"></div>
<div id="boxplot2"></div>
<div id="boxplot3"></div>
<div id="boxplot4"></div>
<div id="boxplot5"></div>
<div id="boxplot6"></div>
<div id="boxplot7"></div>
<div id="boxplot8"></div>
<div id="densitymap1"></div>
<div id="densitymap2"></div>
<div id="densitymap3"></div>
<div id="densitymap4"></div>
<div id="densitymap5"></div>
<div id="densitymap6"></div>
<div id="bar1"></div>
<div id="bar2"></div>
<div id="bar3"></div>
<div id="heatmap2"></div>
</body>
</html>