-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
100 lines (83 loc) · 4.83 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Street Navigation</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="author" content="Made for TOM Makeathon at Northwestern University by Daniel Bednarczyk, Darcy Green (Need Knower), Joe Cummings, Julie Davies, Megan Reid, Wong Song Wei" />
<meta name="description" content="Helps visually impaired users to navigate city streets. Announces intersections while walking." />
<link rel="shortcut icon" href="favicon.ico?" type="image/x-icon">
<!-- Default iPhone Picture for Add To Homescreen -->
<link rel="apple-touch-icon" href="favicon450.jpg" />
<link rel="apple-touch-icon" sizes="57x57" href="favicon57.jpg" />
<link rel="apple-touch-icon" sizes="72x72" href="favicon72.jpg" />
<link rel="apple-touch-icon" sizes="76x76" href="favicon76.jpg" />
<link rel="apple-touch-icon" sizes="114x114" href="favicon114.jpg" />
<link rel="apple-touch-icon" sizes="120x120" href="favicon120.jpg" />
<link rel="apple-touch-icon" sizes="144x144" href="favicon144.jpg" />
<link rel="apple-touch-icon" sizes="152x152" href="favicon152.jpg" />
<link rel="apple-touch-icon" sizes="180x180" href="favicon180.jpg" />
<link rel="stylesheet" type="text/css" href="index.page.css" />
</head>
<body>
<div class="container" id="username_container">
<div><label>Please enter your GeoName username: <input type="text" name="username" id="edUsername" /></label></div>
<div><hr />By clicking the Submit button, you are agreeing to the <a href="#terms_of_use" id="spanDisclaimer">terms of use</a>.</div>
<div class="credit">Data rates may apply.</div>
<input type="button" name="submitUsername" id="submitUsername" value="Submit" />
<div>If you do not have a GeoName username, create a free one <a href="http://www.geonames.org/login" target="_blank">here</a>.</div>
<hr />
<div id="terms_of_use">
This data is provided for free without cost.<br />
The data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.<br />
Data rates may apply.
</div>
</div>
<div class="container" id="main_container">
<div><input type="button" name="follow" value="Start" id="btnFollowStreets" /></div>
<div><input type="button" name="location" value="My Location" id="btnCurrentLocation" /></div>
<hr />
<div>
<table>
<tr>
<th>Intersection</th>
</tr>
<tr>
<td id="tdIntersection"></td>
</tr>
<tr>
<th>Address</th>
</tr>
<tr>
<td id="tdAddress"></td>
</tr>
<tr>
<th>Direction</th>
</tr>
<tr>
<td id="tdSpeedDirection"></td>
</tr>
</table>
</div>
<hr />
<div class="numSetting"><label><input type="checkbox" name="checkInternational" id="ckInternational" /> Outside the USA<br />(Intersection Only)</label><hr /></div>
<div class="numSetting"><label>Update My Location Every <input type="number" name="addressTimeout" id="edAddressTimeout" size="1" /> Seconds</label><hr /></div>
<div class="numSetting"><label>Speak Intersection Within <input type="number" name="intersectionApproach" id="edIntersectionApproach" /> Feet</label><hr /></div>
<div class="numSetting"><label>Look for New Intersection Every <input type="number" name="intersectionTimeout" id="edIntersectionTimeout" /> Seconds</label><hr /></div>
<div class="numSetting"><label>Check for Direction Over Past <input type="number" name="directionTime" id="edDirectionTime" /> Seconds</label><hr /> </div>
<div><input type="button" name="applySettings" value="Apply Settings" id="btnApplySettings" /></div><hr />
<div class="numSetting"><label>Having Trouble?</label><br /><input type="button" name="resetUsername" value="Reset Your Username" id="btnResetUsername"/></div>
<div class="numSetting debug">Debug Information:<br /><textarea id="edDebug" rows="4"></textarea></div>
<div class="numSetting debug">Error Information:<br /><textarea id="edError" rows="4"></textarea></div>
<!-- On Android, the following line will keep the screen on
<video id="videoKeepAwake" src="android_awake.mp4" playsinline muted autoplay loop height=0></video>
-->
</div>
<div class="credit">Powered by <a href="http://www.geonames.org/" target="_blank">GeoNames</a>.</div>
<script type="text/javascript" src="jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="geofunctions.js"></script>
<script type="text/javascript" src="AddrSuffixTable.js"></script>
<script type="text/javascript" src="index.page.js"></script>
<script type="text/javascript" src="TextToSpeech.js"></script>
</body>
</html>