forked from rossengeorgiev/habitat-mobile-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
198 lines (192 loc) · 8.46 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en" manifest="cache.manifest">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>habitat mobile tracker</title>
<meta name="description" content="A cross-device tracking application for high altitude ballooning with habitat" />
<meta name="author" content="Rossen Georgiev" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="apple-mobile-web-app-title" content="Mobile Tracker">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-touch-icon.png" />
<!--
<link rel="stylesheet" href="css/base.css"/>
<link rel="stylesheet" href="css/skeleton.css"/>
<link rel="stylesheet" href="css/layout.css"/>
<link rel="stylesheet" href="css/habitat-font.css"/>
<link rel="stylesheet" href="css/main.css"/>
-->
<link rel="stylesheet" href="css/mobile.css"/>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="loading">
<div>
<img src="img/logo.png" />
<div class="bar" style="display: none"><div class="complete"></div></div>
</div>
</div>
<header style="display: none">
<div class="container">
<ol class="nav">
<li class="home"><i class="icon-habhub"></i></li>
<li class="chasecar" style="display: none"><i class="icon-car"></i></li>
<li class="settings"><i class="icon-settings"></i></li>
<li class="about last"><i class="icon-question"></i></li>
</ol>
<span id="locate-me" style="display: none"><i class="icon-target"></i></span>
<span id="app_name"><b>mobile<br/>tracker</b></span>
</div>
</header>
<div id="aboutbox" style="display: none">
<div class="slimContainer">
<h2>About</h2>
<hr>
<span>
Welcome to the Habitat Mobile Tracker beta. This webpage is specifically crafted with mobile devices in mind.
Just point the browser on your platform of choice - Android or iOS. The mobile tracker aims to provide all the
tracking goodness on your phone while you are out there chasing. You can run it just as well on your desktop!
</span>
<h2>Contribute</h2>
<hr>
<span>
If you find any bugs or have a suggestion just find us on <u>#highaltitude</u> at <u>irc.freenode.org</u>.
Or on <a href="https://github.com/rossengeorgiev/habitat-mobile-tracker">github/habitat-mobile-tracker</a>
</span>
</div>
</div>
<div id="settingsbox" style="display: none">
<div class="slimContainer">
<h2>Settings</h2>
<hr>
<div class="row option">
<span><b>Daylight overlay</b></span>
<div class="switch off" id="sw_daylight">
<span class="thumb"></span>
<input type="checkbox" id="opt_daylight">
</div>
</div>
<div class="row option">
<span><b>Imperial units</b></span>
<div class="switch off" id="sw_imperial">
<span class="thumb"></span>
<input type="checkbox" id="opt_imperial">
</div>
</div>
<div class="row option">
<span><b>Availability offline</b></span>
<div class="switch off" id="sw_offline">
<span class="thumb"></span>
<input type="checkbox" id="opt_offline">
</div>
</div>
<div class="row option">
<span><b>Mobile station</b></span>
<div class="switch off" id="sw_station">
<span class="thumb"></span>
<input type="checkbox" id="opt_station">
</div>
</div>
<div class="row info">
<span>
Chase car equipped with radio reciever
</span>
</div>
<div class="row option">
<span><b>Force refresh cache</b></span>
<div class="switch off" id="sw_cache">
<span class="thumb"></span>
<input type="checkbox" id="opt_cache">
</div>
</div>
<div class="row info">
<span>
The size of cache files is around 600 KB.
</span>
</div>
<span> </span>
</div>
</div>
<div id="chasecarbox" style="display: none">
<div class="slimContainer">
<h2>Chase car mode</h2>
<hr>
<div class="row option">
<span>Enable</span>
<div class="switch off" id="sw_chasecar">
<span class="thumb"></span>
<input type="checkbox" id="chasecar_on">
</div>
</div>
<div class="row option">
<span>Callsign</span>
<span class="r"><input type="text" id="cc_callsign" style="width: 140px;"/></span>
</div>
<div class="row">
<span><b>Warning: If you enable this, your location will be uploaded to habitat; making it publicly visible on the map.</b></span>
</div>
<hr>
<div class="row">
<span>Last updated</span>
<span class="r" id="cc_timestamp">never</span>
</div>
<div class="row">
<span>Latitude</span>
<span class="r" id="cc_lat">0.000000</span>
</div>
<div class="row">
<span>Longitude</span>
<span class="r" id="cc_lon">0.000000</span>
</div>
<div class="row">
<span>Altitude</span>
<span class="r" id="cc_alt">none</span>
</div>
<div class="row">
<span>Accuracy</span>
<span class="r" id="cc_accuracy">none</span>
</div>
<div class="row">
<span>Speed</span>
<span class="r" id="cc_speed">none</span>
</div>
</div>
</div>
<div id="map" style="dispaly: none" class="main_screen"></div>
<div id="main" style="dispaly: none" class="main_screen">
<div class="scrollwrapper">
<div class="portrait">
<div class="row vehicle0"><div class="header empty"><span>No vehicles :(</span></div></div>
</div>
<div class="landscape">
<div class="row vehicle0"><div class="header empty"><span>No vehicles :(</span></div></div>
</div>
</div>
</div>
<div id="telemetry_graph" style="display: none">
<div class="graph_label">Telemetry Graph</div>
<div class="holder" style="height: 200px;width: 50px"></div>
</div>
<script src="http://maps.google.com/maps/api/js?v=3.10&sensor=false&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg" type="text/javascript"></script>
<script type="text/javascript" language="javascript" src="js/mobile.js"></script>
<!--
<script type="text/javascript" language="javascript" src="js/jquery-1.8.3-min.js"></script>
<script type="text/javascript" language="javascript" src="js/chasecar.lib.js"></script>
<script type="text/javascript" language="javascript" src="js/iscroll.js"></script>
<script type="text/javascript" language="javascript" src="js/nite-overlay.js"></script>
<script type="text/javascript" language="javascript" src="js/tracker.js"></script>
<script type="text/javascript" language="javascript" src="js/app.js"></script>
-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38761552-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>