-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
89 lines (82 loc) · 3.08 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
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<meta charset=utf-8 />
<title>Geofencing | Mapbox</title>
<link href='https://www.mapbox.com/base/latest/base.css' rel='stylesheet' />
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.14.1/mapbox-gl.css' rel='stylesheet' />
<link rel='stylesheet' href='devices.min.css' type='text/css'>
<link rel='stylesheet' href='styles.css'>
</head>
<body>
<!-- Content -->
<div id='overlay'></div>
<!-- Mobile HTML -->
<div id='topbar' class='fill-light show-mobile'>
<div class="clearfix">
<div class='mobile-col4'>
<div class='metriclabel small quiet space-top2 space-bottom2'>Vehicles in zone</div>
<div class='metric current-vehicles'>0</div>
</div>
<div class='mobile-col4'>
<div class='metriclabel small quiet space-top2 space-bottom2'>Total traffic</div>
<div class='metric total-vehicles'>0</div>
</div>
<div class='mobile-col4'>
<div class='metriclabel small quiet space-top2 space-bottom2'>Total Revenue</div>
<div class='metric space-bottom2'>£<span class='total-revenue'>0</span></div>
</div>
</div>
</div>
<div class='notifications-button-mobile show-mobile'>
<p class='icon big bell'></p>
</div>
<div class='mobile-notifications-container'>
<div class='clearfix'>
<div class="notifications-button-mobile">
<p class='icon big close'></p>
</div>
<div class='metriclabel small quiet space-top4 space-bottom2'>Notifications</div>
</div>
<div class='ticker dark small text-left'>
</div>
</div>
<!-- Desktop HTML -->
<div id='sidebar' class='fill-light'>
<div class='clearfix'>
<div class='col6'>
<div class='metriclabel small quiet space-top2 space-bottom2'>Vehicles
<br>in zone</div>
<div class='metric current-vehicles denim'>0</div>
</div>
<div class='col6'>
<div class='metriclabel small quiet space-top2 space-bottom2'>Total daily
<br>traffic</div>
<div class='metric total-vehicles'>0</div>
</div>
</div>
<div class='metriclabel small quiet space-bottom2' style='padding-top:30px'>Total Revenue</div>
<div class='metric space-bottom2'>£<span class='total-revenue'>0</span></div>
<div class='dark small text-left pad2 space-top7 blurb hidden'>
<p>This is a map showing an application of Mapbox tools for geofencing purposes. Specifically, this visualizes the London congestion charge zone. </p>
</div>
<div class='pad2y block center'></div>
<div class='marvel-device iphone5s gold'>
<div class='camera'></div>
<div class='sensor'></div>
<div class='speaker'></div>
<div class='screen'>
<div class='metriclabel small quiet space-top2 space-bottom2'>Notifications</div>
<div class='ticker dark small text-left'>
</div>
</div>
<div class='home'></div>
<div class='bottom-bar'></div>
</div>
</div>
<div id='map'>
</div>
<script src='bundle.js'></script>
</body>
</html>