/
index.html
93 lines (80 loc) · 2.38 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
<!DOCTYPE html>
<html ng-app='mapApp'>
<head>
<style type="text/css">
html, body { height: 100%; margin: 0; padding: 0; font-family: Roboto;}
#map { height: 100%;}
.controls {
margin-top: 10px;
border: 1px solid transparent;
border-radius: 2px 0 0 2px;
box-sizing: border-box;
-moz-box-sizing: border-box;
height: 32px;
outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#pac-input {
background-color: #fff;
font-family: Roboto;
font-size: 15px;
font-weight: 300;
margin-left: 12px;
padding: 0 11px 0 13px;
text-overflow: ellipsis;
width: 300px;
}
#pac-input:focus {
border-color: #4d90fe;
}
.pac-container {
font-family: Roboto;
}
.text-center {
text-align: center;
}
.station_address {
min-height: 20px;
margin-bottom:10px;
display: -webkit-flex;
display: flex;
align-items: center;
-webkit-align-items: center;
}
.station_title {
margin-bottom: 10px;
}
.dispos h4 {
margin-top: 0px;
}
.alert {
background-color: #c0392b;
text-align: center;
z-index: 10;
box-shadow: 10px 0px black;
padding-top: 10px;
padding-bottom: 10px;
font-size: 20px;
}
.hidden {
display: none;
}
</style>
<meta charset = 'utf-8'>
<title>Paris Vélib</title>
</head>
<body ng-cloack class='ng-cloak' ng-controller='mapCtrl' ng-init='initMap()'>
<div id="error" class="alert hidden">
Erreur du chargement de l'api, veuillez <a href="/Velib-Map">actualiser</a>
</div>
<input id='pac-input' type="text" class='controls' placeholder="Recherche">
<div id="map"></div>
<script type="text/javascript" src="js/angular.min.js"></script>
<script type="text/javascript" src="js/app/mapApp.module.js"></script>
<script type="text/javascript" src="js/app/mapApp.js"></script>
<!-- Inclusion de l'API Javascript google maps avec la bibliothèque Places et les données propres à l'utilisateur google -->
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA-wFVr-62Y0jJj_DBYdGlK0QY1wN3TFBI&signed_in=true&libraries=places">
</script>
</body>
</html>