-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathupload.html
80 lines (64 loc) · 3.17 KB
/
upload.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head lang="en">
<meta charset="UTF-8">
<title>Upload Your Data</title>
<!-- Fonts -->
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'/>
<!-- Styles -->
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="style/themes/message_default.css">
<!-- Scripts -->
<script type="text/javascript" src="js/external-libraries/three.min.js"></script>
<script type="text/javascript" src="js/external-libraries/TrackballControls.js"></script>
<script type="text/javascript" src="js/external-libraries/papaparse.js"></script>
<script type="text/javascript" src="js/external-libraries/Projector.js"></script>
<script type="text/javascript" src="js/utils/Dijkstra.js"></script>
<script src="js/external-libraries/queue.js"></script>
<script src="js/external-libraries/d3.min.js" ></script>
<script type = "text/javascript" src = "js/utils/scale.js"></script>
<script src="js/external-libraries/jQuery.js"></script>
<script src="js/utils/parsingData.js"></script>
<script type = "text/javascript" src="js/external-libraries/colorbrewer.js"></script>
<script src="js/GUI.js"></script>
<script src="js/model.js"></script>
<script type="text/javascript" src="js/graphicsUtils.js"></script>
<script src = "js/external-libraries/message.js"></script>
<script src = "js/utils/upload.js"></script>
</head>
<body>
<h1>Upload Your Data</h1>
<div class = "menu" id = 'full'>
<button type = 'button' id = 'topologyBtnLeft'>
<input id = 'topologyLeft' type = 'file' onchange="uploadTopology(modelLeft)">Upload Left Topology</input>
</button>
<button type = 'button' id = 'topologyBtnRight'>
<input id = 'topologyRight' type = 'file' onchange="uploadTopology(modelRight)">Upload Right Topology</input>
</button>
<br>
<button type = 'button' id = 'connectionsBtnLeft'>
<input id = 'anatomyConnectionsLeft' type = 'file' onchange="uploadNormalConnections(modelLeft)">Upload Left Connections</input>
</button>
<button type = 'button' id = 'connectionsBtnRight'>
<input id = 'anatomyConnectionsRight' type = 'file' onchange="uploadNormalConnections(modelRight)">Upload Right Connections</input>
</button>
<br>
<!--<button type = 'button' id = 'customMetricBtn'>-->
<!--<input id = 'customMetric' type = 'file' onchange="uploadCustomMetric()">Upload Custom Value</input>-->
<!--</button>-->
<p>Choose Your Technology</p>
<input id="desktop" type="radio" name="technology" value="0" checked="true">
<label class="label" for="desktop" color = "black">Desktop</label>
<br>
<input id="oculusv1" type="radio" name="technology" value="1">
<label class="label" for="oculusv1">Oculus V1</label>
<br>
<input id="oculusv2" type="radio" name="technology" value="2">
<label class="label" for="oculusv2">Oculus V2</label>
<br>
<button type = 'button' onclick="start()">
Start!
</button>
</div>
</body>
</html>