-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
108 lines (106 loc) · 4.78 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
<!-- TPVD - Nicolas Vallotton & Lucas Martinez - Juillet 2017 -->
<!DOCTYPE html>
<html lang="fr">
<meta charset="UTF-8">
<head>
<!-- LIBRARIES -->
<title>Carte interactive de la desserte des transports publics Vaud</title>
<meta charset="utf-8">
<link href='https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css'rel='stylesheet' type='text/css'/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
<script src="lib/jquery-3.2.1.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"</script>
<script src="lib/bootstrap-3.3.7-dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="lib/bootstrap-3.3.7-dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="lib/L.D3SvgOverlay.min.js"></script>
<script src="lib/leaflet-heat.js"></script>
<link rel="stylesheet" href="style.css">
<!-- LOADING SCRIPT -->
<script src="index.js" charset="utf-8"></script>
</head>
<body>
<!-- HEADER - NAVBAR & LINKS -->
<header>
<nav class="navbar navbar-inverse navbar-fixed-top"> <!--inverse for styling - fixed top so header is fixed on top whatever scrolling-->
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="http://localhost:8000/">TPVD - Visualisation du potentiel de desserte des transports publics Vaud</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a target="_blank" href="https://github.com/roubaka/TPVD/">Projet Github</a></li>
<li><a target="_blank" href="mailto:[email protected]">Contact</a></li>
</ul>
</div>
</div>
</nav>
</header>
<!-- MAIN BODY - MAP SIDE -->
<div class="col-lg-8 col-md-8 col-sm-8">
<div id="map"></div>
</div>
<!-- MAIN BODY - SLIDER & GRAPH SIDE -->
<div class="col-lg-4 col-md-4 col-sm-4">
<!-- TABLE FOR SLIDER AND ICONS -->
<table>
<span id="slideLabel">Taille des zones tampons </br></br></span>
<!-- SLIDER1 -->
<tr>
<td width="100%">
<input id="slider1" class="slidBuffer" type="range" min=1 max=10 step=1 value=5>
<output id="slider1_val">500m</output>
</td>
<td width="30%" height="50px">
<div id="CheminFerBubble">
<svg height="15" width="15">
<circle cx="7" cy="7" r="6" stroke="black" stroke-width="1" fill="blue" opacity="0.7"/>
</svg>
Train
</div>
</td>
</tr>
<!-- SLIDER2 -->
<tr>
<td>
<input id="slider2" class="slidBuffer" type="range" min=1 max=10 step=1 value=3>
<output id="slider2_val">200m</output>
</td>
<td width="30%" height="50px">
<div id="MetroBubble">
<svg height="15" width="15">
<circle cx="7" cy="7" r="6" stroke="black" stroke-width="1" fill="turquoise" opacity="0.7"/>
</svg>
Métro
</div>
</td>
</tr>
<!-- SLIDER3 -->
<tr>
<td>
<input id="slider3" class="slidBuffer" type="range" min=1 max=10 step=1 value=1>
<output id="slider3_val">100m</output>
</td>
<td width="30%" height="50px">
<div id="BusBubble">
<svg height="15" width="15">
<circle cx="7" cy="7" r="6" stroke="black" stroke-width="1" fill="lime" opacity="0.7"/>
</svg>
Bus
</div>
</td>
</tr>
</table>
</div>
<!-- GRAPH SECTION -->
<div id="graphPart" class="col-lg-4 col-md-4 col-sm-4">
<div id="graphLegend">
</div>
<!-- THE GRAPH GOES THERE -->
<div id="graph">
<span id="tuto"></br></br>Cliquez sur un arrêt de transport pour générer son graphique</span>
</div>
</div>
<!-- LAUNCHING MAIN SCRIPT -->
<script> APP.main(); </script>
</body>