-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsense.html
101 lines (89 loc) · 4.16 KB
/
sense.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
---
layout: default
title: "How does ... sound like?"
header-img: "img/dashboard-bg.jpg"
order: 2
---
<header class="intro-header" style="background-color:#2D4457">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="site-heading" style="padding: 60px 0">
<h1>{{ page.title }}</h1>
<hr class="small">
</div>
</div>
</div>
</div>
</header>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<ul class="city-list">
<li><a data-device-id="3593" href="#" class="city-filter" >London</a></li>
<li><a data-device-id="170" href="#" class="city-filter city-list-selected" >Madrid</a></li>
<li><a data-device-id="3683" href="#" class="city-filter" >Santiago</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="sound-option sound-option-selected" id="sound-who-container">
<label>
<input type="radio" name="sound" id="sound-who" value="who" checked>
<!--<i class="fa fa-volume-up fa-lg"></i>-->
World Health Org.
</label>
<br>
<small>This is the maximum recomended noise according the World Health Organization.</small>
</div>
<hr>
<div class="sound-option" id="sound-machine-container">
<label>
<input type="radio" name="sound" id="sound-machine" value="machine">
<!--<i class="fa fa-volume-up fa-lg"></i>-->
Machine sensor
</label>
<br>
<small>This is the last measurement taken by the sensor located in this spot.</small>
</div>
<hr>
<div class="sound-option" id="sound-human-container">
<label>
<input type="radio" name="sound" id="sound-human" value="human">
<!--<i class="fa fa-volume-up fa-lg"></i>-->
Human sensor
</label>
<br>
<small>This is the perception of a person who answered our questionnaire.</small>
</div>
</div>
<div class="col-md-6">
<div id="map-container">
<div id="map" style="height: 500px"></div>
<div id="player">
<audio id="audioElement" src="{{ "/sound/new-sounds/obras-suave-clip.mp3" | prepend: site.baseurl | prepend: site.url }}"></audio>
<div class="graph"></div>
<div class="controls">
<a class="play-pause btn btn-link btn-sm" href="#"><i class="play fa fa-volume-up fa-lg"></i></a>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<a class="btn btn-warning btn-sm share" target="_blank" href="https://twitter.com/intent/tweet?text=I played with %23liqen (http://bit.ly/2cPEpVt) and my experience in {city} was... ">Tell us what you think</a>
<a class="twitter-timeline" href="https://twitter.com/hashtag/liqen" data-widget-id="782985724647923712">Tweets sobre #liqen</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>
</div>
<script src="//unpkg.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.2/d3.min.js" charset="utf-8"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.4/nv.d3.js" charset="utf-8"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment.min.js"></script>
<script src="{{ "/js/leaflet-markercluster/leaflet.markercluster.js" | prepend: site.baseurl | prepend: site.url }}"></script>
<script src="{{ "/js/jquery.ajaxQueue.js" | prepend: site.baseurl | prepend: site.url }}"></script>
<script src="{{ "/js/liqen/liquen-graph.js" | prepend: site.baseurl | prepend: site.url }}"></script>
<script src="{{ "/js/liqen/liqen-map.js" | prepend: site.baseurl | prepend: site.url }}"></script>
<script src="{{ "/js/liqen/liqen-sound.js" | prepend: site.baseurl | prepend: site.url }}"></script>
<script src="{{ "/js/liqen/sense.js" | prepend: site.baseurl | prepend: site.url }}"></script>