-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
122 lines (110 loc) · 4.92 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<title>LimbForge</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/main.css">
<script type="text/javascript">
// Google analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71962410-1', 'auto');
ga('send', 'pageview');
// Use enhanced ecommerce plugin to get a wider variety of event-tracking fields
// see https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#loadit
ga('require', 'ec');
</script>
</head>
<body>
<script src="js/lib/three.min.js" type="text/javascript"></script>
<script src="js/lib/jquery-2.1.4.min.js" type="text/javascript"></script>
<script src="js/lib/jquery-ui-1.11.4.custom/jquery-ui.min.js" type="text/javascript"></script>
<script src="js/lib/zip/zip.js"></script>
<script src="js/lib/OrbitControls.js" type="text/javascript"></script>
<script src="js/lib/STLLoader.js" type="text/javascript"></script>
<script src="js/lib/Detector.js" type="text/javascript"></script>
<script src="js/lib/underscore-min.js" type="text/javascript"></script>
<script src="js/lib/bootstrap.min.js" type="text/javascript"></script>
<script src="js/src/setup.js" type="text/javascript"></script>
<script src="js/src/handLoader.js" type="text/javascript"></script>
<script src="js/src/handZipper.js" type="text/javascript"></script>
v
<!-- Structure for the UI: -->
<div id="configuratorPanel">
<span class="title">Limbforge</span>
<p>
<div class="handedness">
<p class="label">Hand</p>
<img class="hand-graphic selected" src="img/left.png" data-selectedhand="left" />
<img class="hand-graphic" src="img/right.png" data-selectedhand="right" />
</div>
<p class="label">Model</p>
<select id="designSelector">
</select>
<div class="row">
<div class="col-xs-12">
<p class="label">Patient Name</p>
</div>
</div>
<div class="row">
<div class="fname col-xs-6">
<p class="label">First</p>
<input id="fname" type="text" placeholder="Max" name="name"><br>
</div>
<div class="lname col-xs-6">
<p class="label">Last</p>
<input id="lname" type="text" placeholder="Hova" name="name"><br>
</div>
</div>
<p class="label">Sizing Measurements <span class="question" data-toggle="modal" data-target="#measurementModal">?</span></p>
<img src="img/L1C4.jpg">
<div class="row">
<div class="measurement-1 col-xs-6">
<p class="label">Sound Limb</p>
<p class="label nested-label">C1 <em>(cm)</em></p>
<input id="C1" type="number" step='0.5' placeholder="22.0" name="c1"><br>
<p class="label nested-label">C2 <em>(cm)</em></p>
<input id="C2" type="number" step='0.5' placeholder="22.0" name="c2"><br>
<p class="label nested-label">C3 <em>(cm)</em></p>
<input id="C3" type="number" step='0.5' placeholder="22.0" name="c3"><br>
<p class="label nested-label">L1 <em>(cm)</em></p>
<input id="L1" type="number" min="22" max="30" step='0.5' placeholder="22.0" name="l1"><br>
</div>
<div class="measurement-2 col-xs-6">
<p class="label">Residual Limb</p>
<p class="label nested-label">C4 <em>(cm)</em></p>
<input id="C4" type="number" min="20" max="30" step='0.5' placeholder="20.0" name="c4"><br>
<p class="label nested-label">L2 <em>(cm)</em></p>
<input id="L2" type="number" step='0.5' placeholder="20.0" name="l2"><br>
</div>
</div>
<!-- Modal -->
<div id="measurementModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">How to Measure</h4>
</div>
<div class="modal-body">
<img src="img/L1C4.jpg">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="download-container">
<a href="#" class="downloadBtn">Download</a>
</div>
<p class="feedback"><em>have an idea?</em> <strong><a href="http://bit.ly/1N2YWHh" target="_blank">Submit feedback!</a></strong></p>
</div>
<!-- Begin! This is the entry point for all the Javascript! -->
<script type="text/javascript" src="js/src/limbforge-ui.js"></script>
</body>
</html>