-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
200 lines (149 loc) · 7.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script><!--Intégration de Jquery-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
crossorigin=""/>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.Default.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA=="
crossorigin=""></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.markercluster.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Maiden+Orange&display=swap" rel="stylesheet">
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
</head>
<body class="container-fluid">
<header id="accueil" class="row">
<div class="text-center ">
<h1 id="bigtitle">Velo'v</h1>
</div>
</header>
<section id="diaporama" class="row justify-content-center">
<article class="text-center">
<div class="col-lg-12 ">
<div id="slide1" class="slide">
<div class="imageSlide">
<img src="https://images.unsplash.com/photo-1486927181919-3ac1fc3a8082?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60">
</div>
<div class="contenuSlide">
<p>Bienvenue sur l'application Velo Lyon !</p>
</div>
</div>
<div id="slide2" class="slide">
<div class="imageSlide">
<img src="https://images.unsplash.com/photo-1483004406427-6acb078d1f2d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" >
</div>
<div class="contenuSlide">
<p>Parcourez la carte et cliquez sur la station de votre choix.</p>
</div>
</div>
<div id="slide3" class="slide">
<div class="imageSlide">
<img src="https://images.unsplash.com/photo-1480380799266-582d808d748a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" >
</div>
<div class="contenuSlide">
<p>Un panneau pour la réservation du velo</p>
</div>
</div>
<div id="slide4" class="slide">
<div class="imageSlide">
<img src="https://images.unsplash.com/photo-1480926767013-c9ea27d4252a?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" >
</div>
<div class="contenuSlide">
<p>Signature votre vélo sera réservé pour une durée de 20 minutes.</p>
</div>
</div>
<div class="navDiaporama">
<span id="flecheGauche" class="navFleche"><img src="https://img.icons8.com/dusk/50/000000/rewind.png"></span>
<span id="flecheDroite" class="navFleche"><img src="https://img.icons8.com/dusk/50/000000/fast-forward.png"></span>
</div>
</div>
</article>
</section>
<article class="row">
<section id="mapid" class="col-lg-8">
</section>
<form id="booking-info-block" class="col-lg-4">
<h5 id="infosta">Détails de la station</h5><br><br>
<div id="station-info-id" class="station-info-class ">
<div id=" contract-station-id" class="row">
<p id="contract-name-id" class="col-lg-3"></p>
<p id="station-name-id" class="col-lg-9"></p>
</div>
<p><em id="station-address-id"></em></p>
<p>
<em id="station-status-id"></em>
</p>
<div class="row">
<div class="col-lg-6 h" id="velo-dispo">Vélo(s) disponible(s)</div>
<div class="col-lg-6" id="velo-indispo">Place(s) disponible(s)</div>
</div>
<div class="row">
<div class="col-lg-6">
<p class="centrer"><em id="available-bikes-id" class="count-style"></em></p>
</div>
<div class="col-lg-6">
<p class="centrer"><em id="available-bike-stands-id" class="count-style"></em></p>
</div>
</div>
<p class="title-info">Vos informations</p><br>
<div class="row">
<div class="col-lg-12">
<form id="myform">
<input id="lastname" class="input-style" type="text" name="last-name" maxlength="15" minlength="4" value="" placeholder="Votre nom de famille ..."style="color: black" required="required" data-message="Veuillez renseigner votre Nom" />
<input id="firstname" class="input-style" type="text" name="first-name" maxlength="15" minlength="2" value="" placeholder="Votre prénom ..."style="color: black" required="required" data-message="Veuillez renseigner votre prénom" / >
</form>
<div class="form-add-booking">
<label for="submit" class="sr-only">Réserver un vélo</label>
<button id="submit-add-booking-form" class="btn-style" type="submit" data-station-id="0">Réserver un vélo</button>
</div>
</div>
<label for="submit" class="sr-only">Annulation</label>
<button class="btn btn-danger" id="clear_button" value="Clear">Annulation</button>
<p id="msg_info"></p>
</article>
<section id="canvaspanel" class="row">
<div class="text-center">
<input type="color" class="js-color-picker">
<input type="range" class="js-line-range" min="1" max="72" value="1">
<label class="js-range-value"></label>
<canvas class="js-paint " width="600" height="300"></canvas>
<label for="submit" class="sr-only">Annulation</label>
<button class="btn btn-danger" id="clear_canvas" value="Clear">Annulation</button>
<label for="submit" class="sr-only">Réserver</label>
<button class="btn btn-danger" id="submit_canvas" value="Save">Réserver</button>
</div>
</section>
<section class="row">
<div class="text-center">
<span class="timer"></span>
<br>
<span id="infor">Réserver</span>
</div>
</section>
<footer class="bas_page" >
<div class="row ">
<p class="fin_texte">Application Velo'V
<a href="#accueil">
<i class="fa fa-chevron-up fa-2x"></i>
</a>
</p>
<p class="fin_texte">Copyright by Mathias Dugamin</p>
</div>
</footer>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.markercluster.js"></script>
<script src="js/slider.js"></script><!--code js pour le slider-->
<script src="js/ajax.js"></script><!--appel ajax-->
<script src="js/canvas.js"></script><!--code js pour la signature-->
<script src="js/reservation.js"></script>
<script src="js/bike.js"></script><!--code js pour la réservation-->
<script src="js/index.js"></script><!--code js pour la réservation-->
</body>
</html>