-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
391 lines (356 loc) · 22.1 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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<meta name="google-signin-client_id" content="463509681101-3mv6658rkbcq52dst0t3h17desmq6e8l.apps.googleusercontent.com">
<meta property="og:url" content="http://sensorweb.io">
<meta property="og:site_name" content="SensorWeb">
<meta property="og:title" content="Sharing IoT data to solve real world problems">
<meta property="og:description" content="SensorWeb is an open data platform for IoT. Share data from IoT devices without coding. Our platform allows you to create REST APIs through a Web interface.">
<meta property="og:image" content="http://sensorweb.io/images/promotion_01.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="1200">
<meta property="og:image" content="http://sensorweb.io/images/promotion_02.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="1200">
<meta property="twitter:title" content="SensorWeb">
<meta property="twitter:description" content="SensorWeb is an open data platform for IoT. Share data from IoT devices without coding. Our platform allows you to create REST APIs through a Web interface.">
<meta property="twitter:image:src" content="http://sensorweb.io/images/promotion_01.png">
<meta property="twitter:image:width" content="1200">
<meta property="twitter:image:height" content="1200">
<title>SensorWeb</title>
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,700' rel='stylesheet' type='text/css'>
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="css/index.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="css/pilot-project.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<!-- TODO: Remove after 1sr demo -->
<link href="css/index.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
<ul id="dropdown" class="dropdown-content">
<li><a href="/">English Version</a></li>
<li class="divider"></li>
<li><a href="tw/index.html">中文版</a></li>
</ul>
<div class="navbar-fixed">
<nav class="teal" role="navigation">
<div class="nav-wrapper container">
<a id="logo-container" href="/" class="brand-logo">SensorWeb</a>
<ul id="nav" class="right hide-on-med-and-down">
<li><a href="projects.html">Projects</a></li>
<li><a href="http://blog.sensorweb.io">Blog</a></li>
<li><a href="about.html">About</a></li>
<!-- Dropdown Trigger -->
<!-- <li><a class="dropdown-button" href="#!" data-activates="dropdown">EN<i id="arrow" class="material-icons right">arrow_drop_down</i></a></li> -->
</ul>
<ul id="nav-mobile" class="side-nav">
<li><a href="projects.html">Projects</a></li>
<li><a href="http://blog.sensorweb.io">Blog</a></li>
<!-- <li><a href="documentation.html">Documentation</a></li> -->
<li><a href="about.html">About</a></li>
<!-- <li><a href="sensor-management.html">Login</a></li> -->
</ul>
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
</div>
</nav>
</div>
<div id="page-container">
<div id="index-banner" class="parallax-container valign-wrapper">
<div class="section no-pad-bot">
<div class="container">
<div class="row center valign">
<h2 class="light">Open Data Platform for IoT</h2>
<h5 id="tagline">Sharing IoT data to solve real world problems</br></br></h5>
</div>
</div>
</div>
<div class="parallax"><img src="images/01_cover_v2.jpg" alt="Unsplashed background img 1"></div>
</div>
<div class="container" id="what">
<div class="section">
<div class="row">
<div class="col s12 l8 offset-l2">
<p class="contents">
<span style="font-weight: 600; font-size: larger;">Project SensorWeb</span> is an open data platform for IoT. Our platform allows you to create REST APIs through a web interface to easily share data from IoT devices without coding. SensorWeb empowers developers to collectively solve problems they care about.
</p>
</div>
</div>
</div>
</div>
<div id="index-contact-banner" class="banner" style="display: none;">
<div class="container">
<div class="section center">
<div class="row">
<div class="col s12 l8 offset-l2">
<h3>Receive Updates</h3>
<p class="tagline left-align">
Be the first to learn the latest about SensorWeb. We will periodically send you important news and events about this exciting new project. You will also be enrolled to participate in the pre-alpha release as soon as it is available.</p>
<script type="text/javascript">var submitted=false;</script>
<iframe name="hidden_iframe" id="hidden_iframe"
style="display:none;" onload="if(submitted)
{ $('#index-thx-modal').openModal();}"></iframe>
<form class="col s12" action="https://docs.google.com/forms/d/1jepSMS0mLhVRAFuY4ykg7dmVYucxIdJrsvUBRQLGZ8Q/formResponse" method="POST" id="index-form" target="hidden_iframe" onsubmit="submitted=true;"><!--<ol role="list" class="ss-question-list" style="padding-left: 0">-->
<!-- <ol role="list" class="ss-question-list" style="padding-left: 0"> -->
<div class="row">
<div class="input-field col l4 s12">
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_299292777"><div>
<label for="itemView.getDomIdToLabel()" aria-label="(Required field)"></label>
<!-- <span class="ss-required-asterisk" aria-hidden="true">*</span>--></div>
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<input name="entry.299292777" value="" class="content" id="entry_299292777" dir="auto" aria-label="Name " aria-required="true" required="" title="" type="text" placeholder="Name">
<div class="error-message" id="1756832587_errorMessage"></div>
<!-- <div class="required-message">This is a required question</div> -->
</div></div></div>
</div>
<div class="input-field col l8 s12">
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_1058767520"><div>
<label for="itemView.getDomIdToLabel()" aria-label="(Required field)"></label>
<!-- <span class="ss-required-asterisk" aria-hidden="true">*</span>--></div>
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<input name="entry.1058767520" value="" class="content validate" id="entry_1058767520" dir="auto" aria-label="Email Must be a valid email address" aria-required="true" required="" title="Must be a valid email address" type="email" placeholder="Email">
<!-- <div class="error-message" id="1669180992_errorMessage">Must be a valid email address</div> -->
<!-- <div class="required-message">This is a required question</div> -->
</div></div></div>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input name="draftResponse" value="[,,"-1074461895148433604"]
" type="hidden">
<input name="pageHistory" value="0" type="hidden">
<input name="fvv" value="0" type="hidden">
<input name="fbzx" value="-1074461895148433604" type="hidden">
<!-- <div class="ss-item ss-navigate"><table id="navigation-table"><tbody><tr><td class="ss-form-entry goog-inline-block" id="navigation-buttons" dir="ltr"> -->
<input name="submit" value="Subscribe" id="ss-submit" class="waves-effect waves-light btn-large" type="submit">
</div>
</div>
<!-- <div class="ss-password-warning ss-secondary-text">Never submit passwords through Google Forms.</div></td> -->
<!-- </tr></tbody></table></div></ol> -->
</form>
<!-- <iframe src="https://docs.google.com/forms/d/1jepSMS0mLhVRAFuY4ykg7dmVYucxIdJrsvUBRQLGZ8Q/viewform?embedded=true" width="70%" height="600" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe> -->
</div>
</div>
</div>
</div>
</div>
<!-- vvv TODO: Remove after 1st demo vvv -->
<div class="fullscreen" id="background-1">
<div class="container projects">
<div class="section">
<div class="row">
<div class="col s12 l8 offset-l2" id="our-initiative">
<h3 class="center-align text-white">Our Initiative</h3>
<p class="contents text-white">
We are working on a pilot project to build a crowdsourced <a href="http://english.cntv.cn/special/pm25/Homepage/index.shtml" target="_blank">PM2.5</a> air pollution sensor network. PM2.5 air pollution is a growing global issue. Governments around the world are asked to publish open data of PM2.5 index from their monitoring stations. The problem is that governments and companies can only set up a limited number of stations.
</p>
<p class="contents text-white">
It is our belief that by collectively building a PM2.5 air pollution sensor network and making the data accessible to everyone, we can empower people to make better decisions and find solutions for the problems we are facing.
</p>
<p class="contents text-white">
We are building the foundation to make it easier for anyone to contribute. If you are interested in participating, please leave your contact information and let us know what areas interest you. We will get in touch when we are ready.
</br></br>
</p>
<div class="center">
<a href="project.html" class="waves-effect waves-light btn-large">View Project</a>
<a href="#pm25-fb-modal" class="waves-effect waves-light btn-large modal-trigger">Contribute</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="fullscreen" id="other-projects">
<div class="container projects">
<div class="section">
<div class="row">
<div class="col s12 l8 offset-l2">
<h3 class="center-align">Other Project Ideas</h3>
<p class="contents wordings">
The Mozilla team believes SensorWeb is a model that can be used to solve diverse problems worldwide. Please let us know if you have ideas or are experiencing a problem that you believe can be solved by using sensors to monitor an environment and publishing that data for public access.</br></br>
</p>
<div class="center">
<a href="#new-idea-fb-modal" class="waves-effect waves-light btn-large modal-trigger" style="width: auto;">I have an idea</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal Structure -->
<div id="pm25-fb-modal" class="modal">
<div class="modal-content">
<form action="https://docs.google.com/forms/d/19epwfpDesYGLkpR9ulSHdz0S99yCFOm__o2wy9P7iv0/formResponse" method="POST" target="temp_iframe" onsubmit="pm25Submitted=true;">
<div>
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_415795248">
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<input name="entry.415795248" value="" class="ss-q-short projects-input" id="entry_415795248" dir="auto" aria-label="Your name " title="" type="text" placeholder='Your name'>
</div></div></div>
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_227006405">
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<input name="entry.227006405" value="" class="projects-input" id="entry_227006405" dir="auto" aria-label="Email Must be a valid email address" aria-required="true" required="" title="Must be a valid email address" type="email" placeholder="Your email">
</div></div></div>
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-paragraph-text"><div class="input-field">
<label class="ss-q-item-label" for="entry_1121732545">
<label for="itemView.getDomIdToLabel()" aria-label="(Required field)"></label>
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<input name="entry.1121732545" value="" class="projects-input" id="entry_1121732545" dir="auto" aria-label="Your location " aria-required="true" required="" title="" type="text" placeholder='Your city (e.g. "San Francisco, US")'>
<div class="error-message" id="1647130968_errorMessage"></div>
</div></div></div>
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-select"><div class="input-field">
<!-- <label class="ss-q-item-label" for="entry_2073574885"><div class="ss-q-title">Pick any that applies</div>
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label> -->
<select multiple name="entry.2073574885" id="entry_2073574885" aria-label="Pick any that applies " aria-required="true" required=""><option value="" disabled>Pick any that applies...</option>
<option value="I am a developer">I am a developer</option> <option value="I am a blogger">I am a blogger</option> <option value="I want to set up sensor in my city">I want to set up sensor in my city</option> <option value="I crunch data">I crunch data</option></select>
</div></div></div>
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-paragraph-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_1013794867">
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<textarea name="entry.1013794867" rows="8" cols="0" class="materialize-textarea projects-textarea set-margin" id="entry_1013794867" dir="auto" aria-label="Other ideas or comments " placeholder="Other ideas or comments"></textarea>
</div></div></div>
<input name="draftResponse" value="[,,"-1399116953732568931"]
" type="hidden">
<input name="pageHistory" value="0" type="hidden">
<input name="fvv" value="0" type="hidden">
<input name="fbzx" value="-1399116953732568931" type="hidden">
<p class="terms">Mozilla may use the information you provide here to let you know about developments with Project SensorWeb that may interest you, including ways you may participate. By sending an idea or proposal, you give Mozilla or the public the right to use your submissions freely without any compensation or credit to you.</p>
<div class="form-submit center">
<input name="submit" value="Send" id="projects-pm25-submit" class="waves-effect waves-light btn-large" type="submit">
</div></div></form>
</div>
</div>
<div id="new-idea-fb-modal" class="modal">
<div class="modal-content">
<form action="https://docs.google.com/forms/d/10tW-QBsNbYeLhvzli0-0Gcu1-bSjDvJ43D3t6_YrUfc/formResponse" method="POST" target="temp_iframe" onsubmit="otherSubmitted=true;">
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_1817488846"><div class="ss-q-title">
<label for="itemView.getDomIdToLabel()" aria-label="(Required field)"></label></div>
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<input name="entry.1817488846" value="" class="projects-input" id="entry_1817488846" dir="auto" aria-label="Email Must be a valid email address" aria-required="true" required="" title="Must be a valid email address" type="email" placeholder="Email">
</div></div></div>
<div class="ss-form-question errorbox-good" role="listitem">
<div dir="auto" class="ss-item ss-item-required ss-paragraph-text"><div class="ss-form-entry">
<label class="ss-q-item-label" for="entry_1750700127"><div class="ss-q-title">
<label for="itemView.getDomIdToLabel()" aria-label="(Required field)"></label>
</div>
<div class="ss-q-help ss-secondary-text" dir="auto"></div></label>
<textarea name="entry.1750700127" rows="8" cols="0" class="materialize-textarea projects-textarea set-margin" id="entry_1750700127" dir="auto" aria-label="Any thought for other project? " aria-required="true" required="" placeholder="What is the problem that you would like solve"></textarea>
<div class="error-message" id="1327560640_errorMessage"></div>
</div></div></div>
<input name="draftResponse" value="[,,"-8972198816433753165"]
" type="hidden">
<input name="pageHistory" value="0" type="hidden">
<input name="fvv" value="0" type="hidden">
<input name="fbzx" value="-8972198816433753165" type="hidden">
<p class="terms">By sending an idea or proposal, you give Mozilla or the public the right to use your submissions freely without any compensation or credit to you. Mozilla may use the email address you provide here to let you know about developments with Project SensorWeb that may interest you.</p>
<div class="form-submit center">
<input name="submit" value="Send" id="projects-other-submit" class="waves-effect waves-light btn-large" type="submit">
</div>
</form>
</div>
</div>
<script type="text/javascript">
var pm25Submitted=false;
var otherSubmitted=false;
</script>
<iframe name="temp_iframe" id="temp_iframe"
style="display:none;" onload=
"if(pm25Submitted) {
$('#pm25-fb-modal').closeModal();
};
if (otherSubmitted) {
$('#new-idea-fb-modal').closeModal();
}
">
</iframe>
<!-- ^^^ TODO: Remove after 1st demo ^^^ -->
<!-- Modal Structure -->
<div id="index-thx-modal" class="modal">
<div class="modal-content">
<h4>Thank You For Subscribing</h4>
<p>We'll contact you as soon as possible!</p>
</div>
</div>
<!-- Modal structure -->
<div id="google-sign-in-modal" class="modal">
<div class="modal-content">
<h4>Login to your account</h4>
<p>Please give us your preferred ID and sign in with google account</p>
<div class="input-field">
<input id="user-id" type="text" class="validate" placeholder="User ID">
<!-- <label for="user-id">User ID</label> -->
</div>
<div class="g-signin2 center" data-onsuccess="onSignIn"></div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="page-footer teal">
<div class="container">
<div class="row">
<div class="col l3 s12">
<a href="http://mozilla.org" target="_blank"><img class="logo-mozilla" src="images/footer-mozilla-white.png"/></a>
</div>
<div class="col l3 s12">
<h5 class="white-text head">SensorWeb</h5>
<ul>
<li><a class="white-text" href="https://github.com/sensor-web" target="_blank">GitHub</a></li>
</ul>
</div>
<div class="col l3 s12">
<h5 class="white-text head">Connect</h5>
<ul>
<li><a class="white-text" href="https://wiki.mozilla.org/SensorWeb" target="_blank">Wiki</a></li>
<li><a class="white-text" href="https://wiki.mozilla.org/Connected_Devices/Participation" target="_blank">Participation</a></li>
</ul>
</div>
<div class="col l3 s12">
<h5 class="white-text head">Contact Us</h5>
<ul>
<li><a class="white-text" href="mailto:[email protected]" target="_blank">[email protected]</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
Made by <a class="brown-text text-lighten-3" href="http://materializecss.com">Materialize</a>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script src="https://apis.google.com/js/client.js"></script>
<script src="js/materialize.min.js"></script>
<script src="js/lib/konami.js"></script>
<script src="js/config.js"></script>
<script src="js/init.js"></script>
<script src="js/auth-utils.js"></script>
<script src="js/index.js"></script>
<script>
(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-75308712-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>