initial commit 0333222333
Browse files- __pycache__/traficFranceBleuParis.cpython-310.pyc +0 -0
- app.py +9 -10
- static/traffic_report.html +0 -771
- templates/index.html +19 -0
- tmp/traffic_report.html +35 -133
- traficFranceBleuParis.py +73 -18
__pycache__/traficFranceBleuParis.cpython-310.pyc
CHANGED
Binary files a/__pycache__/traficFranceBleuParis.cpython-310.pyc and b/__pycache__/traficFranceBleuParis.cpython-310.pyc differ
|
|
app.py
CHANGED
@@ -9,17 +9,16 @@ app = Flask(__name__)
|
|
9 |
|
10 |
@app.route('/')
|
11 |
def index():
|
12 |
-
"""
|
13 |
-
Serve the main page with both the map and the traffic report.
|
14 |
-
"""
|
15 |
try:
|
16 |
-
#
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
traffic_report_content = "<p>
|
21 |
-
|
22 |
-
# Rendre la page index.html
|
|
|
|
|
23 |
return render_template('index.html', traffic_report=Markup(traffic_report_content))
|
24 |
|
25 |
@app.route('/api/incidents', methods=['GET'])
|
|
|
9 |
|
10 |
@app.route('/')
|
11 |
def index():
|
|
|
|
|
|
|
12 |
try:
|
13 |
+
# Appeler la fonction qui génère le HTML
|
14 |
+
traffic_report_content = generate_traffic_html()
|
15 |
+
except Exception as e:
|
16 |
+
# En cas d'erreur de génération, vous pouvez afficher un message par défaut
|
17 |
+
traffic_report_content = f"<p>Erreur lors de la génération du rapport : {e}</p>"
|
18 |
+
|
19 |
+
# Rendre la page index.html en y injectant le contenu généré
|
20 |
+
# Assurez-vous que dans index.html, vous avez un emplacement
|
21 |
+
# par exemple : <div id="traffic-report">{{ traffic_report|safe }}</div>
|
22 |
return render_template('index.html', traffic_report=Markup(traffic_report_content))
|
23 |
|
24 |
@app.route('/api/incidents', methods=['GET'])
|
static/traffic_report.html
DELETED
@@ -1,771 +0,0 @@
|
|
1 |
-
|
2 |
-
<!DOCTYPE html>
|
3 |
-
<html lang="fr">
|
4 |
-
<head>
|
5 |
-
<meta charset="UTF-8">
|
6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
-
<title>Rapport des Perturbations</title>
|
8 |
-
<style>
|
9 |
-
body {
|
10 |
-
font-family: Arial, sans-serif;
|
11 |
-
margin: 0;
|
12 |
-
padding: 0;
|
13 |
-
background-color: #f4f4f9;
|
14 |
-
}
|
15 |
-
h1 {
|
16 |
-
text-align: center;
|
17 |
-
padding: 20px 0;
|
18 |
-
background-color: #007BFF;
|
19 |
-
color: white;
|
20 |
-
margin: 0;
|
21 |
-
}
|
22 |
-
h2 {
|
23 |
-
color: #007BFF;
|
24 |
-
text-align: left;
|
25 |
-
margin: 20px 40px;
|
26 |
-
}
|
27 |
-
table {
|
28 |
-
width: 90%;
|
29 |
-
margin: 20px auto;
|
30 |
-
border-collapse: collapse;
|
31 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
32 |
-
}
|
33 |
-
th, td {
|
34 |
-
padding: 12px;
|
35 |
-
text-align: left;
|
36 |
-
border: 1px solid #ddd;
|
37 |
-
}
|
38 |
-
th {
|
39 |
-
background-color: #007BFF;
|
40 |
-
color: white;
|
41 |
-
}
|
42 |
-
/* Suppression de l'alternance des couleurs */
|
43 |
-
/* tr:nth-child(even) {
|
44 |
-
background-color: #f9f9f9;
|
45 |
-
} */
|
46 |
-
tr:hover {
|
47 |
-
background-color: #f1f1f1;
|
48 |
-
}
|
49 |
-
.summary {
|
50 |
-
margin: 20px 40px;
|
51 |
-
padding: 20px;
|
52 |
-
background-color: #FFF9C4;
|
53 |
-
border: 1px solid #FFEB3B;
|
54 |
-
border-radius: 5px;
|
55 |
-
}
|
56 |
-
.severity-perturbee {
|
57 |
-
background-color: #F9A972; /* Orange */
|
58 |
-
color: black;
|
59 |
-
}
|
60 |
-
.severity-bloquante {
|
61 |
-
background-color: #EC2828; /* Rouge */
|
62 |
-
color: white;
|
63 |
-
}
|
64 |
-
.category-bold {
|
65 |
-
font-weight: bold;
|
66 |
-
}
|
67 |
-
</style>
|
68 |
-
</head>
|
69 |
-
<body>
|
70 |
-
<h1>Rapport des Perturbations</h1>
|
71 |
-
|
72 |
-
<!-- Section Récapitulatif -->
|
73 |
-
<div class="summary">
|
74 |
-
<h2>Récapitulatif des Lignes Impactées (Perturbée / Bloquante)</h2>
|
75 |
-
<table>
|
76 |
-
<thead>
|
77 |
-
<tr>
|
78 |
-
<th>Catégorie</th>
|
79 |
-
<th>Ligne</th>
|
80 |
-
<th>Cause</th>
|
81 |
-
<th>Gravité</th>
|
82 |
-
</tr>
|
83 |
-
</thead>
|
84 |
-
<tbody>
|
85 |
-
|
86 |
-
<tr class="severity-bloquante">
|
87 |
-
<td class="category-bold">Métro</td>
|
88 |
-
<td>Métro 14</td>
|
89 |
-
<td>travaux</td>
|
90 |
-
<td>bloquante</td>
|
91 |
-
</tr>
|
92 |
-
|
93 |
-
<tr class="severity-perturbee">
|
94 |
-
<td class="category-bold">Métro</td>
|
95 |
-
<td>Métro 5</td>
|
96 |
-
<td>perturbation</td>
|
97 |
-
<td>perturbée</td>
|
98 |
-
</tr>
|
99 |
-
|
100 |
-
<tr class="severity-perturbee">
|
101 |
-
<td class="category-bold">Métro</td>
|
102 |
-
<td>Métro 8</td>
|
103 |
-
<td>perturbation</td>
|
104 |
-
<td>perturbée</td>
|
105 |
-
</tr>
|
106 |
-
|
107 |
-
<tr class="severity-perturbee">
|
108 |
-
<td class="category-bold">Métro</td>
|
109 |
-
<td>Métro 3</td>
|
110 |
-
<td>perturbation</td>
|
111 |
-
<td>perturbée</td>
|
112 |
-
</tr>
|
113 |
-
|
114 |
-
<tr class="severity-bloquante">
|
115 |
-
<td class="category-bold">RER</td>
|
116 |
-
<td>Rer a</td>
|
117 |
-
<td>perturbation</td>
|
118 |
-
<td>bloquante</td>
|
119 |
-
</tr>
|
120 |
-
|
121 |
-
<tr class="severity-perturbee">
|
122 |
-
<td class="category-bold">RER</td>
|
123 |
-
<td>Rer c</td>
|
124 |
-
<td>perturbation</td>
|
125 |
-
<td>perturbée</td>
|
126 |
-
</tr>
|
127 |
-
|
128 |
-
<tr class="severity-bloquante">
|
129 |
-
<td class="category-bold">Bus</td>
|
130 |
-
<td>Bus 140</td>
|
131 |
-
<td>travaux</td>
|
132 |
-
<td>bloquante</td>
|
133 |
-
</tr>
|
134 |
-
|
135 |
-
<tr class="severity-perturbee">
|
136 |
-
<td class="category-bold">Bus</td>
|
137 |
-
<td>Argenteuil - boucles de seine bus e</td>
|
138 |
-
<td>information</td>
|
139 |
-
<td>perturbée</td>
|
140 |
-
</tr>
|
141 |
-
|
142 |
-
<tr class="severity-perturbee">
|
143 |
-
<td class="category-bold">Bus</td>
|
144 |
-
<td>Argenteuil - boucles de seine bus m</td>
|
145 |
-
<td>information</td>
|
146 |
-
<td>perturbée</td>
|
147 |
-
</tr>
|
148 |
-
|
149 |
-
<tr class="severity-perturbee">
|
150 |
-
<td class="category-bold">Bus</td>
|
151 |
-
<td>Argenteuil - boucles de seine bus 12</td>
|
152 |
-
<td>information</td>
|
153 |
-
<td>perturbée</td>
|
154 |
-
</tr>
|
155 |
-
|
156 |
-
<tr class="severity-perturbee">
|
157 |
-
<td class="category-bold">Bus</td>
|
158 |
-
<td>Argenteuil - boucles de seine bus d</td>
|
159 |
-
<td>perturbation</td>
|
160 |
-
<td>perturbée</td>
|
161 |
-
</tr>
|
162 |
-
|
163 |
-
<tr class="severity-perturbee">
|
164 |
-
<td class="category-bold">Bus</td>
|
165 |
-
<td>Argenteuil - boucles de seine bus 56</td>
|
166 |
-
<td>perturbation</td>
|
167 |
-
<td>perturbée</td>
|
168 |
-
</tr>
|
169 |
-
|
170 |
-
<tr class="severity-perturbee">
|
171 |
-
<td class="category-bold">Bus</td>
|
172 |
-
<td>Argenteuil - boucles de seine bus 7</td>
|
173 |
-
<td>perturbation</td>
|
174 |
-
<td>perturbée</td>
|
175 |
-
</tr>
|
176 |
-
|
177 |
-
<tr class="severity-perturbee">
|
178 |
-
<td class="category-bold">Bus</td>
|
179 |
-
<td>Argenteuil - boucles de seine bus 9</td>
|
180 |
-
<td>perturbation</td>
|
181 |
-
<td>perturbée</td>
|
182 |
-
</tr>
|
183 |
-
|
184 |
-
<tr class="severity-perturbee">
|
185 |
-
<td class="category-bold">Bus</td>
|
186 |
-
<td>Argenteuil - boucles de seine bus 8</td>
|
187 |
-
<td>perturbation</td>
|
188 |
-
<td>perturbée</td>
|
189 |
-
</tr>
|
190 |
-
|
191 |
-
<tr class="severity-perturbee">
|
192 |
-
<td class="category-bold">Transilien</td>
|
193 |
-
<td>Transilien train transilien r</td>
|
194 |
-
<td>travaux</td>
|
195 |
-
<td>perturbée</td>
|
196 |
-
</tr>
|
197 |
-
|
198 |
-
<tr class="severity-perturbee">
|
199 |
-
<td class="category-bold">Transilien</td>
|
200 |
-
<td>Transilien train transilien j</td>
|
201 |
-
<td>perturbation</td>
|
202 |
-
<td>perturbée</td>
|
203 |
-
</tr>
|
204 |
-
|
205 |
-
<tr class="severity-perturbee">
|
206 |
-
<td class="category-bold">Transilien</td>
|
207 |
-
<td>Transilien train transilien l</td>
|
208 |
-
<td>perturbation</td>
|
209 |
-
<td>perturbée</td>
|
210 |
-
</tr>
|
211 |
-
|
212 |
-
<tr class="severity-bloquante">
|
213 |
-
<td class="category-bold">Tram</td>
|
214 |
-
<td>Toutes les lignes</td>
|
215 |
-
<td>travaux</td>
|
216 |
-
<td>bloquante</td>
|
217 |
-
</tr>
|
218 |
-
|
219 |
-
<tr class="severity-perturbee">
|
220 |
-
<td class="category-bold">Tram</td>
|
221 |
-
<td>Tramway t1</td>
|
222 |
-
<td>travaux</td>
|
223 |
-
<td>perturbée</td>
|
224 |
-
</tr>
|
225 |
-
|
226 |
-
<tr class="severity-perturbee">
|
227 |
-
<td class="category-bold">Tram</td>
|
228 |
-
<td>Transilien tramway t12</td>
|
229 |
-
<td>perturbation</td>
|
230 |
-
<td>perturbée</td>
|
231 |
-
</tr>
|
232 |
-
|
233 |
-
</tbody>
|
234 |
-
</table>
|
235 |
-
</div>
|
236 |
-
<h2>Métro</h2>
|
237 |
-
<table>
|
238 |
-
<thead>
|
239 |
-
<tr>
|
240 |
-
<th>Ligne</th>
|
241 |
-
<th>Cause</th>
|
242 |
-
<th>Gravité</th>
|
243 |
-
<th>Message</th>
|
244 |
-
</tr>
|
245 |
-
</thead>
|
246 |
-
<tbody>
|
247 |
-
|
248 |
-
<tr>
|
249 |
-
<td>Métro 14</td>
|
250 |
-
<td>travaux</td>
|
251 |
-
<td>bloquante</td>
|
252 |
-
<td><p>En raison de travaux, l'arrêt Villejuif - Gustave Roussy n'est pas desservi.</p></td>
|
253 |
-
</tr>
|
254 |
-
|
255 |
-
<tr>
|
256 |
-
<td>Métro 5</td>
|
257 |
-
<td>perturbation</td>
|
258 |
-
<td>perturbée</td>
|
259 |
-
<td>Métro 5 : Bagage oublié dans un train - Stationnement prolongé</td>
|
260 |
-
</tr>
|
261 |
-
|
262 |
-
<tr>
|
263 |
-
<td>Métro 5</td>
|
264 |
-
<td>perturbation</td>
|
265 |
-
<td>perturbée</td>
|
266 |
-
<td>Métro 5 : Bagage oublié dans un train - Stationnement prolongé</td>
|
267 |
-
</tr>
|
268 |
-
|
269 |
-
<tr>
|
270 |
-
<td>RATP Métro 8</td>
|
271 |
-
<td>perturbation</td>
|
272 |
-
<td>perturbée</td>
|
273 |
-
<td>Métro 8 : Panne de signalisation - Trafic perturbé</td>
|
274 |
-
</tr>
|
275 |
-
|
276 |
-
<tr>
|
277 |
-
<td>RATP Métro 3</td>
|
278 |
-
<td>perturbation</td>
|
279 |
-
<td>perturbée</td>
|
280 |
-
<td>Métro 3 : Bagage oublié dans un train - Reprise progressive / trafic reste perturbé</td>
|
281 |
-
</tr>
|
282 |
-
|
283 |
-
<tr>
|
284 |
-
<td>Métro 14</td>
|
285 |
-
<td>information</td>
|
286 |
-
<td>information</td>
|
287 |
-
<td>Métro 14 : Tarif majoré pour les trajets à destination ou au départ de la station Aéroport d'Orly</td>
|
288 |
-
</tr>
|
289 |
-
|
290 |
-
<tr>
|
291 |
-
<td>RATP Métro 14</td>
|
292 |
-
<td>information</td>
|
293 |
-
<td>information</td>
|
294 |
-
<td>Métro 14 : Information - Autre</td>
|
295 |
-
</tr>
|
296 |
-
|
297 |
-
</tbody>
|
298 |
-
</table>
|
299 |
-
<h2>RER</h2>
|
300 |
-
<table>
|
301 |
-
<thead>
|
302 |
-
<tr>
|
303 |
-
<th>Ligne</th>
|
304 |
-
<th>Cause</th>
|
305 |
-
<th>Gravité</th>
|
306 |
-
<th>Message</th>
|
307 |
-
</tr>
|
308 |
-
</thead>
|
309 |
-
<tbody>
|
310 |
-
|
311 |
-
<tr>
|
312 |
-
<td>RER A</td>
|
313 |
-
<td>perturbation</td>
|
314 |
-
<td>bloquante</td>
|
315 |
-
<td>Ligne A : interruption et perturbations</td>
|
316 |
-
</tr>
|
317 |
-
|
318 |
-
<tr>
|
319 |
-
<td>RER A</td>
|
320 |
-
<td>perturbation</td>
|
321 |
-
<td>bloquante</td>
|
322 |
-
<td>Ligne A : interruption et perturbations</td>
|
323 |
-
</tr>
|
324 |
-
|
325 |
-
<tr>
|
326 |
-
<td>RER A</td>
|
327 |
-
<td>perturbation</td>
|
328 |
-
<td>perturbée</td>
|
329 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
330 |
-
</tr>
|
331 |
-
|
332 |
-
<tr>
|
333 |
-
<td>RER A</td>
|
334 |
-
<td>perturbation</td>
|
335 |
-
<td>perturbée</td>
|
336 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
337 |
-
</tr>
|
338 |
-
|
339 |
-
<tr>
|
340 |
-
<td>RER A</td>
|
341 |
-
<td>perturbation</td>
|
342 |
-
<td>perturbée</td>
|
343 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
344 |
-
</tr>
|
345 |
-
|
346 |
-
<tr>
|
347 |
-
<td>RER A</td>
|
348 |
-
<td>perturbation</td>
|
349 |
-
<td>perturbée</td>
|
350 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
351 |
-
</tr>
|
352 |
-
|
353 |
-
<tr>
|
354 |
-
<td>RER A</td>
|
355 |
-
<td>perturbation</td>
|
356 |
-
<td>perturbée</td>
|
357 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
358 |
-
</tr>
|
359 |
-
|
360 |
-
<tr>
|
361 |
-
<td>RER A</td>
|
362 |
-
<td>perturbation</td>
|
363 |
-
<td>perturbée</td>
|
364 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
365 |
-
</tr>
|
366 |
-
|
367 |
-
<tr>
|
368 |
-
<td>RER A</td>
|
369 |
-
<td>perturbation</td>
|
370 |
-
<td>perturbée</td>
|
371 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
372 |
-
</tr>
|
373 |
-
|
374 |
-
<tr>
|
375 |
-
<td>RER A</td>
|
376 |
-
<td>perturbation</td>
|
377 |
-
<td>perturbée</td>
|
378 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
379 |
-
</tr>
|
380 |
-
|
381 |
-
<tr>
|
382 |
-
<td>RER A</td>
|
383 |
-
<td>perturbation</td>
|
384 |
-
<td>perturbée</td>
|
385 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
386 |
-
</tr>
|
387 |
-
|
388 |
-
<tr>
|
389 |
-
<td>RER A</td>
|
390 |
-
<td>perturbation</td>
|
391 |
-
<td>perturbée</td>
|
392 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
393 |
-
</tr>
|
394 |
-
|
395 |
-
<tr>
|
396 |
-
<td>RER A</td>
|
397 |
-
<td>perturbation</td>
|
398 |
-
<td>perturbée</td>
|
399 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
400 |
-
</tr>
|
401 |
-
|
402 |
-
<tr>
|
403 |
-
<td>RER A</td>
|
404 |
-
<td>perturbation</td>
|
405 |
-
<td>perturbée</td>
|
406 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
407 |
-
</tr>
|
408 |
-
|
409 |
-
<tr>
|
410 |
-
<td>RER A</td>
|
411 |
-
<td>perturbation</td>
|
412 |
-
<td>perturbée</td>
|
413 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
414 |
-
</tr>
|
415 |
-
|
416 |
-
<tr>
|
417 |
-
<td>RER A</td>
|
418 |
-
<td>perturbation</td>
|
419 |
-
<td>perturbée</td>
|
420 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
421 |
-
</tr>
|
422 |
-
|
423 |
-
<tr>
|
424 |
-
<td>RER A</td>
|
425 |
-
<td>perturbation</td>
|
426 |
-
<td>perturbée</td>
|
427 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
428 |
-
</tr>
|
429 |
-
|
430 |
-
<tr>
|
431 |
-
<td>RER A</td>
|
432 |
-
<td>perturbation</td>
|
433 |
-
<td>perturbée</td>
|
434 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
435 |
-
</tr>
|
436 |
-
|
437 |
-
<tr>
|
438 |
-
<td>RER A</td>
|
439 |
-
<td>perturbation</td>
|
440 |
-
<td>perturbée</td>
|
441 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
442 |
-
</tr>
|
443 |
-
|
444 |
-
<tr>
|
445 |
-
<td>RER A</td>
|
446 |
-
<td>perturbation</td>
|
447 |
-
<td>perturbée</td>
|
448 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
449 |
-
</tr>
|
450 |
-
|
451 |
-
<tr>
|
452 |
-
<td>RER A</td>
|
453 |
-
<td>perturbation</td>
|
454 |
-
<td>perturbée</td>
|
455 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
456 |
-
</tr>
|
457 |
-
|
458 |
-
<tr>
|
459 |
-
<td>RER A</td>
|
460 |
-
<td>perturbation</td>
|
461 |
-
<td>perturbée</td>
|
462 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
463 |
-
</tr>
|
464 |
-
|
465 |
-
<tr>
|
466 |
-
<td>RER A</td>
|
467 |
-
<td>perturbation</td>
|
468 |
-
<td>perturbée</td>
|
469 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
470 |
-
</tr>
|
471 |
-
|
472 |
-
<tr>
|
473 |
-
<td>RER A</td>
|
474 |
-
<td>perturbation</td>
|
475 |
-
<td>perturbée</td>
|
476 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
477 |
-
</tr>
|
478 |
-
|
479 |
-
<tr>
|
480 |
-
<td>RER A</td>
|
481 |
-
<td>perturbation</td>
|
482 |
-
<td>perturbée</td>
|
483 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
484 |
-
</tr>
|
485 |
-
|
486 |
-
<tr>
|
487 |
-
<td>RER A</td>
|
488 |
-
<td>perturbation</td>
|
489 |
-
<td>perturbée</td>
|
490 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
491 |
-
</tr>
|
492 |
-
|
493 |
-
<tr>
|
494 |
-
<td>RER A</td>
|
495 |
-
<td>perturbation</td>
|
496 |
-
<td>perturbée</td>
|
497 |
-
<td>Ligne A : interruption et perturbations</td>
|
498 |
-
</tr>
|
499 |
-
|
500 |
-
<tr>
|
501 |
-
<td>RER C</td>
|
502 |
-
<td>perturbation</td>
|
503 |
-
<td>perturbée</td>
|
504 |
-
<td>Ligne C : 1 gare non desservie</td>
|
505 |
-
</tr>
|
506 |
-
|
507 |
-
<tr>
|
508 |
-
<td>RER E</td>
|
509 |
-
<td>perturbation</td>
|
510 |
-
<td>information</td>
|
511 |
-
<td>RER E : Forte affluence</td>
|
512 |
-
</tr>
|
513 |
-
|
514 |
-
<tr>
|
515 |
-
<td>RER E</td>
|
516 |
-
<td>perturbation</td>
|
517 |
-
<td>information</td>
|
518 |
-
<td>RER E : Forte affluence</td>
|
519 |
-
</tr>
|
520 |
-
|
521 |
-
<tr>
|
522 |
-
<td>RER E</td>
|
523 |
-
<td>perturbation</td>
|
524 |
-
<td>information</td>
|
525 |
-
<td>RER E : Forte affluence</td>
|
526 |
-
</tr>
|
527 |
-
|
528 |
-
<tr>
|
529 |
-
<td>RER E</td>
|
530 |
-
<td>perturbation</td>
|
531 |
-
<td>information</td>
|
532 |
-
<td>RER E : Forte affluence</td>
|
533 |
-
</tr>
|
534 |
-
|
535 |
-
</tbody>
|
536 |
-
</table>
|
537 |
-
<h2>Bus</h2>
|
538 |
-
<table>
|
539 |
-
<thead>
|
540 |
-
<tr>
|
541 |
-
<th>Ligne</th>
|
542 |
-
<th>Cause</th>
|
543 |
-
<th>Gravité</th>
|
544 |
-
<th>Message</th>
|
545 |
-
</tr>
|
546 |
-
</thead>
|
547 |
-
<tbody>
|
548 |
-
|
549 |
-
<tr>
|
550 |
-
<td>RATP Bus 140</td>
|
551 |
-
<td>travaux</td>
|
552 |
-
<td>bloquante</td>
|
553 |
-
<td>Bus 140 : Travaux - Arrêt(s) non desservi(s)</td>
|
554 |
-
</tr>
|
555 |
-
|
556 |
-
<tr>
|
557 |
-
<td>Argenteuil - Boucles de Seine Bus E</td>
|
558 |
-
<td>information</td>
|
559 |
-
<td>perturbée</td>
|
560 |
-
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Lignes E, M et 12 -À partir du mercredi 04 Septembre 2024 : Tous les mercredis de 5h00 à 16h00</span><br> </p><p><span>Changement de Terminus Arrivée/ Départ :</span></p><p><span><strong>❌Arrêt Gare de Chatou parvis Nord non desservi</strong></span></p><p><span><strong>✅Report arrêt Gare de Chatou parvis Sud</strong></span></p><p><br> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
561 |
-
</tr>
|
562 |
-
|
563 |
-
<tr>
|
564 |
-
<td>Argenteuil - Boucles de Seine Bus M</td>
|
565 |
-
<td>information</td>
|
566 |
-
<td>perturbée</td>
|
567 |
-
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Lignes E, M et 12 -À partir du mercredi 04 Septembre 2024 : Tous les mercredis de 5h00 à 16h00</span><br> </p><p><span>Changement de Terminus Arrivée/ Départ :</span></p><p><span><strong>❌Arrêt Gare de Chatou parvis Nord non desservi</strong></span></p><p><span><strong>✅Report arrêt Gare de Chatou parvis Sud</strong></span></p><p><br> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
568 |
-
</tr>
|
569 |
-
|
570 |
-
<tr>
|
571 |
-
<td>Argenteuil - Boucles de Seine Bus 12</td>
|
572 |
-
<td>information</td>
|
573 |
-
<td>perturbée</td>
|
574 |
-
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Lignes E, M et 12 -À partir du mercredi 04 Septembre 2024 : Tous les mercredis de 5h00 à 16h00</span><br> </p><p><span>Changement de Terminus Arrivée/ Départ :</span></p><p><span><strong>❌Arrêt Gare de Chatou parvis Nord non desservi</strong></span></p><p><span><strong>✅Report arrêt Gare de Chatou parvis Sud</strong></span></p><p><br> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
575 |
-
</tr>
|
576 |
-
|
577 |
-
<tr>
|
578 |
-
<td>Argenteuil - Boucles de Seine Bus E</td>
|
579 |
-
<td>perturbation</td>
|
580 |
-
<td>perturbée</td>
|
581 |
-
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
582 |
-
</tr>
|
583 |
-
|
584 |
-
<tr>
|
585 |
-
<td>Argenteuil - Boucles de Seine Bus D</td>
|
586 |
-
<td>perturbation</td>
|
587 |
-
<td>perturbée</td>
|
588 |
-
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
589 |
-
</tr>
|
590 |
-
|
591 |
-
<tr>
|
592 |
-
<td>Argenteuil - Boucles de Seine Bus 56</td>
|
593 |
-
<td>perturbation</td>
|
594 |
-
<td>perturbée</td>
|
595 |
-
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
596 |
-
</tr>
|
597 |
-
|
598 |
-
<tr>
|
599 |
-
<td>Argenteuil - Boucles de Seine Bus 12</td>
|
600 |
-
<td>perturbation</td>
|
601 |
-
<td>perturbée</td>
|
602 |
-
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
603 |
-
</tr>
|
604 |
-
|
605 |
-
<tr>
|
606 |
-
<td>Argenteuil - Boucles de Seine Bus 7</td>
|
607 |
-
<td>perturbation</td>
|
608 |
-
<td>perturbée</td>
|
609 |
-
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Ligne 7 - Lundi 09 décembre 2024</span><br> </p><p><span>En raison de contraintes d’exploitation, les départs suivants sont annulés</span></p><p><span><strong>❌Départs de Gare d'Argenteuil: 07h09, 07h21, 08h15, 08h33, 09h18, 17h12, 17h36, 18h24, 18h48</strong></span></p><p><span><strong>❌Départs de Gare d'Enghien-les Bains : 07h41, 07h59, 08h49, 09h09, 16h37, 17h01, 17h49, 18h13, 19h01, 19h25</strong></span><br> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
610 |
-
</tr>
|
611 |
-
|
612 |
-
<tr>
|
613 |
-
<td>Argenteuil - Boucles de Seine Bus 9</td>
|
614 |
-
<td>perturbation</td>
|
615 |
-
<td>perturbée</td>
|
616 |
-
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Ligne 9 - Lundi 09 décembre 2024</span><br> </p><p><span>En raison de contraintes d’exploitation, les départs suivants sont annulés</span></p><p><span><strong>❌Départs de Gare d'Argenteuil: 06h48, 07h54, 08h24, 09h30, 17h48, 18h00</strong></span></p><p><span><strong>❌Départs de Gare de Sartrouville: 07h06, 07h36, 08h42, 09h12, 17h00, 17h12, 18h36, 18h48</strong></span></p><p> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
617 |
-
</tr>
|
618 |
-
|
619 |
-
<tr>
|
620 |
-
<td>Argenteuil - Boucles de Seine Bus 8</td>
|
621 |
-
<td>perturbation</td>
|
622 |
-
<td>perturbée</td>
|
623 |
-
<td>⚠🚍 Ligne 8 - du lundi 9 décembre au lundi 9 décembre 2024</td>
|
624 |
-
</tr>
|
625 |
-
|
626 |
-
</tbody>
|
627 |
-
</table>
|
628 |
-
<h2>Transilien</h2>
|
629 |
-
<table>
|
630 |
-
<thead>
|
631 |
-
<tr>
|
632 |
-
<th>Ligne</th>
|
633 |
-
<th>Cause</th>
|
634 |
-
<th>Gravité</th>
|
635 |
-
<th>Message</th>
|
636 |
-
</tr>
|
637 |
-
</thead>
|
638 |
-
<tbody>
|
639 |
-
|
640 |
-
<tr>
|
641 |
-
<td>Transilien Train Transilien R</td>
|
642 |
-
<td>travaux</td>
|
643 |
-
<td>perturbée</td>
|
644 |
-
<td><p>Période : à partir de 21h30<br><br><br>Dates : en semaine du lundi 25 novembre au vendredi 13 décembre 2024<br><br><br>Le trafic est interrompu entre Melun et Montereau via Héricy dans les deux sens.<br><br><br><b>De Melun vers Montereau via Héricy, dernier train à circuler :</b><br><br>- KOHO départ Melun 20h48, arrivée Montereau 21h25.<br><br><br><b>De Montereau vers Melun via Héricy, dernier train à circuler :</b><br><br>- ZOHA départ Montereau 20h29, arrivée à Melun à 21h06.<br><br><br>Les horaires du calculateur d'itinéraire tiennent compte des travaux.<br><br><br>Motif : travaux de maintenance.<br></p></td>
|
645 |
-
</tr>
|
646 |
-
|
647 |
-
<tr>
|
648 |
-
<td>Transilien Train Transilien R</td>
|
649 |
-
<td>travaux</td>
|
650 |
-
<td>perturbée</td>
|
651 |
-
<td><p>Période : à partir de 21h30<br><br><br>Dates : en semaine du lundi 25 novembre au vendredi 13 décembre 2024<br><br><br>Le trafic est interrompu entre Melun et Montereau via Héricy dans les deux sens.<br><br><br><b>De Melun vers Montereau via Héricy, dernier train à circuler :</b><br><br>- KOHO départ Melun 20h48, arrivée Montereau 21h25.<br><br><br><b>De Montereau vers Melun via Héricy, dernier train à circuler :</b><br><br>- ZOHA départ Montereau 20h29, arrivée à Melun à 21h06.<br><br><br>Les horaires du calculateur d'itinéraire tiennent compte des travaux.<br><br><br>Motif : travaux de maintenance.<br></p></td>
|
652 |
-
</tr>
|
653 |
-
|
654 |
-
<tr>
|
655 |
-
<td>Transilien Train Transilien J</td>
|
656 |
-
<td>perturbation</td>
|
657 |
-
<td>perturbée</td>
|
658 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. </p><p>Plus d’infos sur l’appli <a href="https://www.iledefrance-mobilites.fr/" target="">Ile de France mobilités</a>, le site <a href="https://www.transilien.com/fr" target="">transilien.com</a>, <a href="https://www.sncf-connect.com/" target="">SNCF Connect </a>ou tout autre application de mobilité<br><br></p></td>
|
659 |
-
</tr>
|
660 |
-
|
661 |
-
<tr>
|
662 |
-
<td>Transilien Train Transilien L</td>
|
663 |
-
<td>perturbation</td>
|
664 |
-
<td>perturbée</td>
|
665 |
-
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. </p><p>Plus d’infos sur l’appli <a href="https://www.iledefrance-mobilites.fr/" target="">Ile de France mobilités</a>, le site <a href="https://www.transilien.com/fr" target="">transilien.com</a>, <a href="https://www.sncf-connect.com/" target="">SNCF Connect </a>ou tout autre application de mobilité<br><br></p></td>
|
666 |
-
</tr>
|
667 |
-
|
668 |
-
<tr>
|
669 |
-
<td>Transilien Train Transilien L</td>
|
670 |
-
<td>perturbation</td>
|
671 |
-
<td>perturbée</td>
|
672 |
-
<td>Ligne L : fortes perturbations</td>
|
673 |
-
</tr>
|
674 |
-
|
675 |
-
<tr>
|
676 |
-
<td>Transilien Train Transilien L</td>
|
677 |
-
<td>perturbation</td>
|
678 |
-
<td>perturbée</td>
|
679 |
-
<td>Ligne L : fortes perturbations</td>
|
680 |
-
</tr>
|
681 |
-
|
682 |
-
<tr>
|
683 |
-
<td>Transilien Train Transilien L</td>
|
684 |
-
<td>perturbation</td>
|
685 |
-
<td>perturbée</td>
|
686 |
-
<td>Ligne L : fortes perturbations</td>
|
687 |
-
</tr>
|
688 |
-
|
689 |
-
<tr>
|
690 |
-
<td>Transilien Train Transilien L</td>
|
691 |
-
<td>perturbation</td>
|
692 |
-
<td>perturbée</td>
|
693 |
-
<td>Ligne L : fortes perturbations</td>
|
694 |
-
</tr>
|
695 |
-
|
696 |
-
<tr>
|
697 |
-
<td>Transilien Train Transilien L</td>
|
698 |
-
<td>perturbation</td>
|
699 |
-
<td>perturbée</td>
|
700 |
-
<td>Ligne L : fortes perturbations</td>
|
701 |
-
</tr>
|
702 |
-
|
703 |
-
<tr>
|
704 |
-
<td>Transilien Train Transilien L</td>
|
705 |
-
<td>perturbation</td>
|
706 |
-
<td>perturbée</td>
|
707 |
-
<td>Ligne L : fortes perturbations</td>
|
708 |
-
</tr>
|
709 |
-
|
710 |
-
<tr>
|
711 |
-
<td>Transilien Train Transilien V</td>
|
712 |
-
<td>information</td>
|
713 |
-
<td>information</td>
|
714 |
-
<td><p><span>À partir du 15/12, le tronçon du RER C Versailles–Chantiers <> Massy – Palaiseau via la vallée de la Bièvre devient la ligne V.</span></p><p><span>Sauf aléa ou travaux, la fréquence de la ligne V sera de 15 minutes aux heures de pointe et de 30 minutes aux heures creuses (1h en toute fin de soirée et le dimanche matin), et ce, dans les deux sens de circulation. Le dernier départ de Versailles–Chantiers vers Massy – Palaiseau s’effectuera à 23h15.</span><br><br><span>Pour plus d'informations sur la ligne V, n'hésitez pas à consulter cette </span><a href="https://www.iledefrance-mobilites.fr/actualites/ligne-v-massy-palaiseau-versailles-chantiers"><span><strong>page</strong></span></a><span>.</span></p></td>
|
715 |
-
</tr>
|
716 |
-
|
717 |
-
<tr>
|
718 |
-
<td>Transilien Train Transilien R</td>
|
719 |
-
<td>perturbation</td>
|
720 |
-
<td>information</td>
|
721 |
-
<td><p>La composition des trains suivants passe de long à court :</p><p>- Train POMA départ Montargis à 05h43, arrivée Paris Gare de Lyon à 07h24.</p><p>- TER 891200 départ Montereau à 05h16, arrivée Paris Gare de Lyon à 06h13.</p><p><br></p><p><br></p><p>La composition des trains suivants passe de Court à long : </p><p>- Train POMA départ Montargis à 04h48, arrivée Paris Gare de Lyon à 06h29.</p><p><br></p><p><br></p></td>
|
722 |
-
</tr>
|
723 |
-
|
724 |
-
<tr>
|
725 |
-
<td>Transilien Train Transilien R</td>
|
726 |
-
<td>perturbation</td>
|
727 |
-
<td>information</td>
|
728 |
-
<td><p>La composition des trains suivants passe de long à court :</p><p>- Train POMA départ Montargis à 05h43, arrivée Paris Gare de Lyon à 07h24.</p><p>- TER 891200 départ Montereau à 05h16, arrivée Paris Gare de Lyon à 06h13.</p><p><br></p><p><br></p><p>La composition des trains suivants passe de Court à long : </p><p>- Train POMA départ Montargis à 04h48, arrivée Paris Gare de Lyon à 06h29.</p><p><br></p><p><br></p></td>
|
729 |
-
</tr>
|
730 |
-
|
731 |
-
</tbody>
|
732 |
-
</table>
|
733 |
-
<h2>Tram</h2>
|
734 |
-
<table>
|
735 |
-
<thead>
|
736 |
-
<tr>
|
737 |
-
<th>Ligne</th>
|
738 |
-
<th>Cause</th>
|
739 |
-
<th>Gravité</th>
|
740 |
-
<th>Message</th>
|
741 |
-
</tr>
|
742 |
-
</thead>
|
743 |
-
<tbody>
|
744 |
-
|
745 |
-
<tr>
|
746 |
-
<td>Toutes les lignes</td>
|
747 |
-
<td>travaux</td>
|
748 |
-
<td>bloquante</td>
|
749 |
-
<td>Tramway T1 : Travaux - Arrêt non desservi</td>
|
750 |
-
</tr>
|
751 |
-
|
752 |
-
<tr>
|
753 |
-
<td>RATP Tramway T1</td>
|
754 |
-
<td>travaux</td>
|
755 |
-
<td>perturbée</td>
|
756 |
-
<td><p>Jusqu'au lundi 31 mars 2025, le trafic est interrompu entre Gare de Noisy-le-Sec et Escadrille Normandie-Niémen en raison de travaux.<br>Bus de remplacement.<br><a href="http://www.ratp.fr">Plus d'informations sur le site ratp.fr</a></p></td>
|
757 |
-
</tr>
|
758 |
-
|
759 |
-
<tr>
|
760 |
-
<td>Transilien Tramway T12</td>
|
761 |
-
<td>perturbation</td>
|
762 |
-
<td>perturbée</td>
|
763 |
-
<td><p>Le trafic est ralenti sur l'ensemble de la ligne. <br><br>Motif : conditions de départ de certains tramways  non réunies.</p></td>
|
764 |
-
</tr>
|
765 |
-
|
766 |
-
</tbody>
|
767 |
-
</table>
|
768 |
-
|
769 |
-
</body>
|
770 |
-
</html>
|
771 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/index.html
CHANGED
@@ -18,10 +18,19 @@
|
|
18 |
border: 1px solid #ddd;
|
19 |
background-color: #f9f9f9;
|
20 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
</style>
|
22 |
</head>
|
23 |
<body>
|
24 |
<h1>Carte des Incidents à Paris</h1>
|
|
|
|
|
|
|
25 |
<div id="map"></div>
|
26 |
<script>
|
27 |
// Initialiser la carte
|
@@ -92,6 +101,16 @@
|
|
92 |
}
|
93 |
})
|
94 |
.catch(error => console.error("Erreur lors du chargement des incidents :", error));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
</script>
|
96 |
|
97 |
<!-- Section pour afficher le rapport de trafic -->
|
|
|
18 |
border: 1px solid #ddd;
|
19 |
background-color: #f9f9f9;
|
20 |
}
|
21 |
+
.page-load-time {
|
22 |
+
text-align: center;
|
23 |
+
margin: 10px 0;
|
24 |
+
font-weight: bold;
|
25 |
+
font-size: 20px;
|
26 |
+
}
|
27 |
</style>
|
28 |
</head>
|
29 |
<body>
|
30 |
<h1>Carte des Incidents à Paris</h1>
|
31 |
+
<div class="page-load-time">
|
32 |
+
Cette page a été généré à : <span id="pageLoadTime"></span>
|
33 |
+
</div>
|
34 |
<div id="map"></div>
|
35 |
<script>
|
36 |
// Initialiser la carte
|
|
|
101 |
}
|
102 |
})
|
103 |
.catch(error => console.error("Erreur lors du chargement des incidents :", error));
|
104 |
+
// Lorsque le DOM est prêt, déterminer l'heure de chargement
|
105 |
+
document.addEventListener('DOMContentLoaded', () => {
|
106 |
+
const loadTime = new Date();
|
107 |
+
const formattedTime = loadTime.toLocaleTimeString('fr-FR', {
|
108 |
+
hour: '2-digit',
|
109 |
+
minute:'2-digit',
|
110 |
+
second:'2-digit'
|
111 |
+
});
|
112 |
+
document.getElementById('pageLoadTime').textContent = formattedTime;
|
113 |
+
});
|
114 |
</script>
|
115 |
|
116 |
<!-- Section pour afficher le rapport de trafic -->
|
tmp/traffic_report.html
CHANGED
@@ -92,39 +92,18 @@
|
|
92 |
|
93 |
<tr class="severity-perturbee">
|
94 |
<td class="category-bold">Métro</td>
|
95 |
-
<td>Métro
|
96 |
<td>perturbation</td>
|
97 |
<td>perturbée</td>
|
98 |
</tr>
|
99 |
|
100 |
<tr class="severity-perturbee">
|
101 |
-
<td class="category-bold">Métro</td>
|
102 |
-
<td>Métro 9</td>
|
103 |
-
<td>perturbation</td>
|
104 |
-
<td>perturbée</td>
|
105 |
-
</tr>
|
106 |
-
|
107 |
-
<tr class="severity-bloquante">
|
108 |
<td class="category-bold">RER</td>
|
109 |
<td>Rer a</td>
|
110 |
<td>perturbation</td>
|
111 |
-
<td>bloquante</td>
|
112 |
-
</tr>
|
113 |
-
|
114 |
-
<tr class="severity-perturbee">
|
115 |
-
<td class="category-bold">RER</td>
|
116 |
-
<td>Rer c</td>
|
117 |
-
<td>perturbation</td>
|
118 |
<td>perturbée</td>
|
119 |
</tr>
|
120 |
|
121 |
-
<tr class="severity-bloquante">
|
122 |
-
<td class="category-bold">Bus</td>
|
123 |
-
<td>Bus 140</td>
|
124 |
-
<td>travaux</td>
|
125 |
-
<td>bloquante</td>
|
126 |
-
</tr>
|
127 |
-
|
128 |
<tr class="severity-perturbee">
|
129 |
<td class="category-bold">Bus</td>
|
130 |
<td>Argenteuil - boucles de seine bus e</td>
|
@@ -162,21 +141,21 @@
|
|
162 |
|
163 |
<tr class="severity-perturbee">
|
164 |
<td class="category-bold">Bus</td>
|
165 |
-
<td>Argenteuil - boucles de seine bus
|
166 |
<td>perturbation</td>
|
167 |
<td>perturbée</td>
|
168 |
</tr>
|
169 |
|
170 |
<tr class="severity-perturbee">
|
171 |
<td class="category-bold">Bus</td>
|
172 |
-
<td>Argenteuil - boucles de seine bus
|
173 |
<td>perturbation</td>
|
174 |
<td>perturbée</td>
|
175 |
</tr>
|
176 |
|
177 |
<tr class="severity-perturbee">
|
178 |
<td class="category-bold">Bus</td>
|
179 |
-
<td>Argenteuil - boucles de seine bus
|
180 |
<td>perturbation</td>
|
181 |
<td>perturbée</td>
|
182 |
</tr>
|
@@ -202,6 +181,13 @@
|
|
202 |
<td>perturbée</td>
|
203 |
</tr>
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
<tr class="severity-bloquante">
|
206 |
<td class="category-bold">Tram</td>
|
207 |
<td>Toutes les lignes</td>
|
@@ -216,13 +202,6 @@
|
|
216 |
<td>perturbée</td>
|
217 |
</tr>
|
218 |
|
219 |
-
<tr class="severity-perturbee">
|
220 |
-
<td class="category-bold">Tram</td>
|
221 |
-
<td>Transilien tramway t12</td>
|
222 |
-
<td>perturbation</td>
|
223 |
-
<td>perturbée</td>
|
224 |
-
</tr>
|
225 |
-
|
226 |
</tbody>
|
227 |
</table>
|
228 |
</div>
|
@@ -246,31 +225,31 @@
|
|
246 |
</tr>
|
247 |
|
248 |
<tr>
|
249 |
-
<td>Métro
|
250 |
<td>perturbation</td>
|
251 |
<td>perturbée</td>
|
252 |
-
<td>Métro
|
253 |
</tr>
|
254 |
|
255 |
<tr>
|
256 |
-
<td>Métro
|
257 |
<td>perturbation</td>
|
258 |
<td>perturbée</td>
|
259 |
-
<td>Métro
|
260 |
</tr>
|
261 |
|
262 |
<tr>
|
263 |
-
<td>
|
264 |
<td>perturbation</td>
|
265 |
<td>perturbée</td>
|
266 |
-
<td>Métro
|
267 |
</tr>
|
268 |
|
269 |
<tr>
|
270 |
-
<td>
|
271 |
<td>perturbation</td>
|
272 |
<td>perturbée</td>
|
273 |
-
<td>Métro
|
274 |
</tr>
|
275 |
|
276 |
<tr>
|
@@ -301,20 +280,6 @@
|
|
301 |
</thead>
|
302 |
<tbody>
|
303 |
|
304 |
-
<tr>
|
305 |
-
<td>RER A</td>
|
306 |
-
<td>perturbation</td>
|
307 |
-
<td>bloquante</td>
|
308 |
-
<td><p>Le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne. <br><br>Rendez-vous sur la rubrique "Recherche Itinéraire", pour retrouver un itinéraire prenant en compte cette perturbation. </p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la ligne.</p><p>Les RER en provenance de Poissy ou Cergy–Le Haut circulent jusqu’à La Défense. </p><p><br>Motif : Panne électrique à Auber.</p></td>
|
309 |
-
</tr>
|
310 |
-
|
311 |
-
<tr>
|
312 |
-
<td>RER A</td>
|
313 |
-
<td>perturbation</td>
|
314 |
-
<td>bloquante</td>
|
315 |
-
<td><p>Le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne. <br><br>Rendez-vous sur la rubrique "Recherche Itinéraire", pour retrouver un itinéraire prenant en compte cette perturbation. </p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la ligne.</p><p>Les RER en provenance de Poissy ou Cergy–Le Haut circulent jusqu’à La Défense. </p><p><br>Motif : Panne électrique à Auber.</p></td>
|
316 |
-
</tr>
|
317 |
-
|
318 |
<tr>
|
319 |
<td>RER A</td>
|
320 |
<td>perturbation</td>
|
@@ -483,48 +448,6 @@
|
|
483 |
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
484 |
</tr>
|
485 |
|
486 |
-
<tr>
|
487 |
-
<td>RER A</td>
|
488 |
-
<td>perturbation</td>
|
489 |
-
<td>perturbée</td>
|
490 |
-
<td><p>Le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne. <br><br>Rendez-vous sur la rubrique "Recherche Itinéraire", pour retrouver un itinéraire prenant en compte cette perturbation. </p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la ligne.</p><p>Les RER en provenance de Poissy ou Cergy–Le Haut circulent jusqu’à La Défense. </p><p><br>Motif : Panne électrique à Auber.</p></td>
|
491 |
-
</tr>
|
492 |
-
|
493 |
-
<tr>
|
494 |
-
<td>RER C</td>
|
495 |
-
<td>perturbation</td>
|
496 |
-
<td>perturbée</td>
|
497 |
-
<td><p>La gare de Invalides en direction de Champ de Mars n'est pas desservie jusqu'à 11h30. <br><br>Pour plus d'informations sur cette perturbation, consultez le <a href="https://twitter.com/RERC_SNCF">fil Twitter de la ligne C</a>. <br><br>Motif : affaires oubliées (à bord d'un train SARA en gare d'Invalides).</p></td>
|
498 |
-
</tr>
|
499 |
-
|
500 |
-
<tr>
|
501 |
-
<td>RER E</td>
|
502 |
-
<td>perturbation</td>
|
503 |
-
<td>information</td>
|
504 |
-
<td><p>Sur le RER A, le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne.<br></p><p><br></p><p>Forte affluence en cours sur le RER E entre La Défense et Magenta et entre Haussmann St-Lazare et Val de Fontenay dans les deux sens de circulation.<br>Les délais de correspondance peuvent être allongés sur l'ensemble du réseau du RER E.<br></p><p><br></p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la <a href="https://x.com/RERE_T4_SNCF" target="">ligne E</a><br></p><p><br></p><p>Motif : Défaut d'alimentation électrique à Auber</p></td>
|
505 |
-
</tr>
|
506 |
-
|
507 |
-
<tr>
|
508 |
-
<td>RER E</td>
|
509 |
-
<td>perturbation</td>
|
510 |
-
<td>information</td>
|
511 |
-
<td><p>Sur le RER A, le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne.<br></p><p><br></p><p>Forte affluence en cours sur le RER E entre La Défense et Magenta et entre Haussmann St-Lazare et Val de Fontenay dans les deux sens de circulation.<br>Les délais de correspondance peuvent être allongés sur l'ensemble du réseau du RER E.<br></p><p><br></p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la <a href="https://x.com/RERE_T4_SNCF" target="">ligne E</a><br></p><p><br></p><p>Motif : Défaut d'alimentation électrique à Auber</p></td>
|
512 |
-
</tr>
|
513 |
-
|
514 |
-
<tr>
|
515 |
-
<td>RER E</td>
|
516 |
-
<td>perturbation</td>
|
517 |
-
<td>information</td>
|
518 |
-
<td><p>Sur le RER A, le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne.<br></p><p><br></p><p>Forte affluence en cours sur le RER E entre La Défense et Magenta et entre Haussmann St-Lazare et Val de Fontenay dans les deux sens de circulation.<br>Les délais de correspondance peuvent être allongés sur l'ensemble du réseau du RER E.<br></p><p><br></p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la <a href="https://x.com/RERE_T4_SNCF" target="">ligne E</a><br></p><p><br></p><p>Motif : Défaut d'alimentation électrique à Auber</p></td>
|
519 |
-
</tr>
|
520 |
-
|
521 |
-
<tr>
|
522 |
-
<td>RER E</td>
|
523 |
-
<td>perturbation</td>
|
524 |
-
<td>information</td>
|
525 |
-
<td><p>Sur le RER A, le trafic est interrompu entre Nation et Ch. de Gaulle - Étoile dans les 2 sens jusqu'à 13H et très perturbé sur le reste de la ligne.<br></p><p><br></p><p>Forte affluence en cours sur le RER E entre La Défense et Magenta et entre Haussmann St-Lazare et Val de Fontenay dans les deux sens de circulation.<br>Les délais de correspondance peuvent être allongés sur l'ensemble du réseau du RER E.<br></p><p><br></p><p>Pour plus d'informations sur cette perturbation, consultez le fil Twitter de la <a href="https://x.com/RERE_T4_SNCF" target="">ligne E</a><br></p><p><br></p><p>Motif : Défaut d'alimentation électrique à Auber</p></td>
|
526 |
-
</tr>
|
527 |
-
|
528 |
</tbody>
|
529 |
</table>
|
530 |
<h2>Bus</h2>
|
@@ -539,13 +462,6 @@
|
|
539 |
</thead>
|
540 |
<tbody>
|
541 |
|
542 |
-
<tr>
|
543 |
-
<td>RATP Bus 140</td>
|
544 |
-
<td>travaux</td>
|
545 |
-
<td>bloquante</td>
|
546 |
-
<td>Bus 140 : Travaux - Arrêt(s) non desservi(s)</td>
|
547 |
-
</tr>
|
548 |
-
|
549 |
<tr>
|
550 |
<td>Argenteuil - Boucles de Seine Bus E</td>
|
551 |
<td>information</td>
|
@@ -582,38 +498,38 @@
|
|
582 |
</tr>
|
583 |
|
584 |
<tr>
|
585 |
-
<td>Argenteuil - Boucles de Seine Bus
|
586 |
<td>perturbation</td>
|
587 |
<td>perturbée</td>
|
588 |
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
589 |
</tr>
|
590 |
|
591 |
<tr>
|
592 |
-
<td>Argenteuil - Boucles de Seine Bus
|
593 |
<td>perturbation</td>
|
594 |
<td>perturbée</td>
|
595 |
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
596 |
</tr>
|
597 |
|
598 |
<tr>
|
599 |
-
<td>Argenteuil - Boucles de Seine Bus
|
600 |
<td>perturbation</td>
|
601 |
<td>perturbée</td>
|
602 |
-
<td><p><
|
603 |
</tr>
|
604 |
|
605 |
<tr>
|
606 |
-
<td>Argenteuil - Boucles de Seine Bus
|
607 |
<td>perturbation</td>
|
608 |
<td>perturbée</td>
|
609 |
-
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> -
|
610 |
</tr>
|
611 |
|
612 |
<tr>
|
613 |
-
<td>Argenteuil - Boucles de Seine Bus
|
614 |
<td>perturbation</td>
|
615 |
<td>perturbée</td>
|
616 |
-
<td
|
617 |
</tr>
|
618 |
|
619 |
</tbody>
|
@@ -659,31 +575,24 @@
|
|
659 |
</tr>
|
660 |
|
661 |
<tr>
|
662 |
-
<td>Transilien Train Transilien
|
663 |
<td>perturbation</td>
|
664 |
<td>perturbée</td>
|
665 |
-
<td>Ligne
|
666 |
-
</tr>
|
667 |
-
|
668 |
-
<tr>
|
669 |
-
<td>Transilien Train Transilien V</td>
|
670 |
-
<td>information</td>
|
671 |
-
<td>information</td>
|
672 |
-
<td><p><span>À partir du 15/12, le tronçon du RER C Versailles–Chantiers <> Massy – Palaiseau via la vallée de la Bièvre devient la ligne V.</span></p><p><span>Sauf aléa ou travaux, la fréquence de la ligne V sera de 15 minutes aux heures de pointe et de 30 minutes aux heures creuses (1h en toute fin de soirée et le dimanche matin), et ce, dans les deux sens de circulation. Le dernier départ de Versailles–Chantiers vers Massy – Palaiseau s’effectuera à 23h15.</span><br><br><span>Pour plus d'informations sur la ligne V, n'hésitez pas à consulter cette </span><a href="https://www.iledefrance-mobilites.fr/actualites/ligne-v-massy-palaiseau-versailles-chantiers"><span><strong>page</strong></span></a><span>.</span></p></td>
|
673 |
</tr>
|
674 |
|
675 |
<tr>
|
676 |
-
<td>Transilien Train Transilien
|
677 |
<td>perturbation</td>
|
678 |
-
<td>
|
679 |
-
<td
|
680 |
</tr>
|
681 |
|
682 |
<tr>
|
683 |
-
<td>Transilien Train Transilien
|
684 |
-
<td>
|
685 |
<td>information</td>
|
686 |
-
<td><p
|
687 |
</tr>
|
688 |
|
689 |
</tbody>
|
@@ -714,13 +623,6 @@
|
|
714 |
<td><p>Jusqu'au lundi 31 mars 2025, le trafic est interrompu entre Gare de Noisy-le-Sec et Escadrille Normandie-Niémen en raison de travaux.<br>Bus de remplacement.<br><a href="http://www.ratp.fr">Plus d'informations sur le site ratp.fr</a></p></td>
|
715 |
</tr>
|
716 |
|
717 |
-
<tr>
|
718 |
-
<td>Transilien Tramway T12</td>
|
719 |
-
<td>perturbation</td>
|
720 |
-
<td>perturbée</td>
|
721 |
-
<td><p>Le trafic est ralenti sur l'ensemble de la ligne. <br><br>Motif : conditions de départ de certains tramways  non réunies.</p></td>
|
722 |
-
</tr>
|
723 |
-
|
724 |
</tbody>
|
725 |
</table>
|
726 |
|
|
|
92 |
|
93 |
<tr class="severity-perturbee">
|
94 |
<td class="category-bold">Métro</td>
|
95 |
+
<td>Métro 13</td>
|
96 |
<td>perturbation</td>
|
97 |
<td>perturbée</td>
|
98 |
</tr>
|
99 |
|
100 |
<tr class="severity-perturbee">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
<td class="category-bold">RER</td>
|
102 |
<td>Rer a</td>
|
103 |
<td>perturbation</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
<td>perturbée</td>
|
105 |
</tr>
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
<tr class="severity-perturbee">
|
108 |
<td class="category-bold">Bus</td>
|
109 |
<td>Argenteuil - boucles de seine bus e</td>
|
|
|
141 |
|
142 |
<tr class="severity-perturbee">
|
143 |
<td class="category-bold">Bus</td>
|
144 |
+
<td>Argenteuil - boucles de seine bus 9</td>
|
145 |
<td>perturbation</td>
|
146 |
<td>perturbée</td>
|
147 |
</tr>
|
148 |
|
149 |
<tr class="severity-perturbee">
|
150 |
<td class="category-bold">Bus</td>
|
151 |
+
<td>Argenteuil - boucles de seine bus 34</td>
|
152 |
<td>perturbation</td>
|
153 |
<td>perturbée</td>
|
154 |
</tr>
|
155 |
|
156 |
<tr class="severity-perturbee">
|
157 |
<td class="category-bold">Bus</td>
|
158 |
+
<td>Argenteuil - boucles de seine bus 3</td>
|
159 |
<td>perturbation</td>
|
160 |
<td>perturbée</td>
|
161 |
</tr>
|
|
|
181 |
<td>perturbée</td>
|
182 |
</tr>
|
183 |
|
184 |
+
<tr class="severity-perturbee">
|
185 |
+
<td class="category-bold">Transilien</td>
|
186 |
+
<td>Transilien train transilien n</td>
|
187 |
+
<td>perturbation</td>
|
188 |
+
<td>perturbée</td>
|
189 |
+
</tr>
|
190 |
+
|
191 |
<tr class="severity-bloquante">
|
192 |
<td class="category-bold">Tram</td>
|
193 |
<td>Toutes les lignes</td>
|
|
|
202 |
<td>perturbée</td>
|
203 |
</tr>
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
</tbody>
|
206 |
</table>
|
207 |
</div>
|
|
|
225 |
</tr>
|
226 |
|
227 |
<tr>
|
228 |
+
<td>Métro 13</td>
|
229 |
<td>perturbation</td>
|
230 |
<td>perturbée</td>
|
231 |
+
<td>Métro 13 : Incident d'exploitation - Train stationne</td>
|
232 |
</tr>
|
233 |
|
234 |
<tr>
|
235 |
+
<td>Métro 13</td>
|
236 |
<td>perturbation</td>
|
237 |
<td>perturbée</td>
|
238 |
+
<td>Métro 13 : Incident d'exploitation - Train stationne</td>
|
239 |
</tr>
|
240 |
|
241 |
<tr>
|
242 |
+
<td>Métro 13</td>
|
243 |
<td>perturbation</td>
|
244 |
<td>perturbée</td>
|
245 |
+
<td>Métro 13 : Incident d'exploitation - Train stationne</td>
|
246 |
</tr>
|
247 |
|
248 |
<tr>
|
249 |
+
<td>Métro 13</td>
|
250 |
<td>perturbation</td>
|
251 |
<td>perturbée</td>
|
252 |
+
<td>Métro 13 : Incident d'exploitation - Train stationne</td>
|
253 |
</tr>
|
254 |
|
255 |
<tr>
|
|
|
280 |
</thead>
|
281 |
<tbody>
|
282 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
<tr>
|
284 |
<td>RER A</td>
|
285 |
<td>perturbation</td>
|
|
|
448 |
<td><p>A partir du dimanche 15 décembre 2024, certains horaires changent. <br><br>Plus d’infos sur l’appli <a href="http://www.iledefrance-mobilites.fr" target="">iledefrance-mobilites</a>, le site <a href="http://www.transilien.com/fr" target="">transilien.com</a>, <a href="http://www.sncf-connect.com" target="">sncf-connect</a> ou tout autre application de mobilité.</p><p><br></p><p><br></p></td>
|
449 |
</tr>
|
450 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
451 |
</tbody>
|
452 |
</table>
|
453 |
<h2>Bus</h2>
|
|
|
462 |
</thead>
|
463 |
<tbody>
|
464 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
<tr>
|
466 |
<td>Argenteuil - Boucles de Seine Bus E</td>
|
467 |
<td>information</td>
|
|
|
498 |
</tr>
|
499 |
|
500 |
<tr>
|
501 |
+
<td>Argenteuil - Boucles de Seine Bus 12</td>
|
502 |
<td>perturbation</td>
|
503 |
<td>perturbée</td>
|
504 |
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
505 |
</tr>
|
506 |
|
507 |
<tr>
|
508 |
+
<td>Argenteuil - Boucles de Seine Bus 56</td>
|
509 |
<td>perturbation</td>
|
510 |
<td>perturbée</td>
|
511 |
<td>⚠🚍 Ligne D, 12, 56, E - du jeudi 4 avril au mardi 31 décembre 2024</td>
|
512 |
</tr>
|
513 |
|
514 |
<tr>
|
515 |
+
<td>Argenteuil - Boucles de Seine Bus 9</td>
|
516 |
<td>perturbation</td>
|
517 |
<td>perturbée</td>
|
518 |
+
<td><p><strong>⚠️🚍#InfoTrafic - Ligne 9 - Mardi 10 décembre 2024</strong></p><p> </p><p>En raison de contraintes d’exploitation, les départs suivants sont annulés</p><p> </p><p>❌Départs de<strong> Gare d'Argenteuil</strong>: 06h48, 07h54, 08h24, 09h30, 17h48, 18h00</p><p> </p><p>Veuillez nous excuser de la gêne occasionnée.</p></td>
|
519 |
</tr>
|
520 |
|
521 |
<tr>
|
522 |
+
<td>Argenteuil - Boucles de Seine Bus 34</td>
|
523 |
<td>perturbation</td>
|
524 |
<td>perturbée</td>
|
525 |
+
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Lignes 3, 34 - Mardi 10 décembre 2024</span></p><p><br> </p><p><span>En raison de travaux, les lignes sont déviées en direction de Marché des Coteaux et Cormeilles</span></p><p><span><strong>❌ Arrêt Grace de dieu non desservi</strong></span></p><p><br> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
526 |
</tr>
|
527 |
|
528 |
<tr>
|
529 |
+
<td>Argenteuil - Boucles de Seine Bus 3</td>
|
530 |
<td>perturbation</td>
|
531 |
<td>perturbée</td>
|
532 |
+
<td><p><span>⚠️🚍</span><span style="color:rgb(29,155,240);"><span>#InfoTrafic</span></span><span> - Lignes 3, 34 - Mardi 10 décembre 2024</span></p><p><br> </p><p><span>En raison de travaux, les lignes sont déviées en direction de Marché des Coteaux et Cormeilles</span></p><p><span><strong>❌ Arrêt Grace de dieu non desservi</strong></span></p><p><br> </p><p><span>Veuillez nous excuser de la gêne occasionnée.</span></p></td>
|
533 |
</tr>
|
534 |
|
535 |
</tbody>
|
|
|
575 |
</tr>
|
576 |
|
577 |
<tr>
|
578 |
+
<td>Transilien Train Transilien N</td>
|
579 |
<td>perturbation</td>
|
580 |
<td>perturbée</td>
|
581 |
+
<td>Ligne N : ralentissements</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
</tr>
|
583 |
|
584 |
<tr>
|
585 |
+
<td>Transilien Train Transilien N</td>
|
586 |
<td>perturbation</td>
|
587 |
+
<td>perturbée</td>
|
588 |
+
<td>Ligne N : ralentissements</td>
|
589 |
</tr>
|
590 |
|
591 |
<tr>
|
592 |
+
<td>Transilien Train Transilien V</td>
|
593 |
+
<td>information</td>
|
594 |
<td>information</td>
|
595 |
+
<td><p><span>À partir du 15/12, le tronçon du RER C Versailles–Chantiers <> Massy – Palaiseau via la vallée de la Bièvre devient la ligne V.</span></p><p><span>Sauf aléa ou travaux, la fréquence de la ligne V sera de 15 minutes aux heures de pointe et de 30 minutes aux heures creuses (1h en toute fin de soirée et le dimanche matin), et ce, dans les deux sens de circulation. Le dernier départ de Versailles–Chantiers vers Massy – Palaiseau s’effectuera à 23h15.</span><br><br><span>Pour plus d'informations sur la ligne V, n'hésitez pas à consulter cette </span><a href="https://www.iledefrance-mobilites.fr/actualites/ligne-v-massy-palaiseau-versailles-chantiers"><span><strong>page</strong></span></a><span>.</span></p></td>
|
596 |
</tr>
|
597 |
|
598 |
</tbody>
|
|
|
623 |
<td><p>Jusqu'au lundi 31 mars 2025, le trafic est interrompu entre Gare de Noisy-le-Sec et Escadrille Normandie-Niémen en raison de travaux.<br>Bus de remplacement.<br><a href="http://www.ratp.fr">Plus d'informations sur le site ratp.fr</a></p></td>
|
624 |
</tr>
|
625 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
626 |
</tbody>
|
627 |
</table>
|
628 |
|
traficFranceBleuParis.py
CHANGED
@@ -255,10 +255,6 @@ with open(html_output_path, "w", encoding="utf-8") as html_file:
|
|
255 |
print(f"HTML report generated at {html_output_path}")
|
256 |
|
257 |
def generate_traffic_html():
|
258 |
-
"""
|
259 |
-
Génère un rapport HTML sur les perturbations de transport.
|
260 |
-
Retourne le contenu HTML sous forme de chaîne.
|
261 |
-
"""
|
262 |
all_disruptions = {}
|
263 |
for category, api_value in categories.items():
|
264 |
disruptions = fetch_disruptions(category, api_value)
|
@@ -268,7 +264,7 @@ def generate_traffic_html():
|
|
268 |
"cause": disruption.get("cause"),
|
269 |
"severity": disruption.get("severity", {}).get("name", "N/A"),
|
270 |
"effect": disruption.get("effect"),
|
271 |
-
"message": disruption
|
272 |
"impacted_lines": [
|
273 |
obj.get("pt_object", {}).get("name", "Unknown Line")
|
274 |
for obj in disruption.get("impacted_objects", [])
|
@@ -283,11 +279,9 @@ def generate_traffic_html():
|
|
283 |
]
|
284 |
all_disruptions[category] = active_disruptions
|
285 |
|
286 |
-
#
|
287 |
seen_lines = set()
|
288 |
summary_data = []
|
289 |
-
|
290 |
-
# Gravités à inclure uniquement pour le récapitulatif
|
291 |
allowed_severities = {"perturbée", "bloquante"}
|
292 |
|
293 |
for category, disruptions in all_disruptions.items():
|
@@ -295,7 +289,6 @@ def generate_traffic_html():
|
|
295 |
severity = disruption.get("severity", "").lower()
|
296 |
if severity not in allowed_severities:
|
297 |
continue
|
298 |
-
|
299 |
for line in disruption["impacted_lines"]:
|
300 |
normalized_line = normalize_line_name(line)
|
301 |
if normalized_line not in seen_lines:
|
@@ -307,7 +300,10 @@ def generate_traffic_html():
|
|
307 |
})
|
308 |
seen_lines.add(normalized_line)
|
309 |
|
310 |
-
#
|
|
|
|
|
|
|
311 |
html_content = f"""
|
312 |
<!DOCTYPE html>
|
313 |
<html lang="fr">
|
@@ -334,6 +330,9 @@ def generate_traffic_html():
|
|
334 |
text-align: left;
|
335 |
margin: 20px 40px;
|
336 |
}}
|
|
|
|
|
|
|
337 |
table {{
|
338 |
width: 90%;
|
339 |
margin: 20px auto;
|
@@ -374,9 +373,24 @@ def generate_traffic_html():
|
|
374 |
</head>
|
375 |
<body>
|
376 |
<h1>Rapport des Perturbations</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
<div class="summary">
|
378 |
<h2>Récapitulatif des Lignes Impactées (Perturbée / Bloquante)</h2>
|
379 |
-
<table>
|
380 |
<thead>
|
381 |
<tr>
|
382 |
<th>Catégorie</th>
|
@@ -391,8 +405,9 @@ def generate_traffic_html():
|
|
391 |
# Ajouter les lignes impactées uniques au récapitulatif
|
392 |
for item in summary_data:
|
393 |
severity_class = "severity-perturbee" if item["severity"].lower() == "perturbée" else "severity-bloquante"
|
|
|
394 |
html_content += f"""
|
395 |
-
<tr class="{severity_class}">
|
396 |
<td class="category-bold">{item["category"]}</td>
|
397 |
<td>{item["line"]}</td>
|
398 |
<td>{item["cause"]}</td>
|
@@ -408,9 +423,10 @@ def generate_traffic_html():
|
|
408 |
|
409 |
# Ajouter les détails des perturbations
|
410 |
for category, disruptions in all_disruptions.items():
|
411 |
-
|
412 |
-
html_content += ""
|
413 |
-
|
|
|
414 |
<thead>
|
415 |
<tr>
|
416 |
<th>Ligne</th>
|
@@ -423,8 +439,9 @@ def generate_traffic_html():
|
|
423 |
"""
|
424 |
for disruption in disruptions:
|
425 |
for line in disruption["impacted_lines"]:
|
|
|
426 |
html_content += f"""
|
427 |
-
<tr>
|
428 |
<td>{line}</td>
|
429 |
<td>{disruption["cause"]}</td>
|
430 |
<td>{disruption["severity"]}</td>
|
@@ -436,9 +453,47 @@ def generate_traffic_html():
|
|
436 |
</table>
|
437 |
"""
|
438 |
|
|
|
439 |
html_content += """
|
440 |
-
|
441 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
442 |
"""
|
443 |
|
444 |
return html_content
|
|
|
255 |
print(f"HTML report generated at {html_output_path}")
|
256 |
|
257 |
def generate_traffic_html():
|
|
|
|
|
|
|
|
|
258 |
all_disruptions = {}
|
259 |
for category, api_value in categories.items():
|
260 |
disruptions = fetch_disruptions(category, api_value)
|
|
|
264 |
"cause": disruption.get("cause"),
|
265 |
"severity": disruption.get("severity", {}).get("name", "N/A"),
|
266 |
"effect": disruption.get("effect"),
|
267 |
+
"message": disruption["messages"][0].get("text") if disruption.get("messages") else "No message",
|
268 |
"impacted_lines": [
|
269 |
obj.get("pt_object", {}).get("name", "Unknown Line")
|
270 |
for obj in disruption.get("impacted_objects", [])
|
|
|
279 |
]
|
280 |
all_disruptions[category] = active_disruptions
|
281 |
|
282 |
+
# Construction des données du récapitulatif
|
283 |
seen_lines = set()
|
284 |
summary_data = []
|
|
|
|
|
285 |
allowed_severities = {"perturbée", "bloquante"}
|
286 |
|
287 |
for category, disruptions in all_disruptions.items():
|
|
|
289 |
severity = disruption.get("severity", "").lower()
|
290 |
if severity not in allowed_severities:
|
291 |
continue
|
|
|
292 |
for line in disruption["impacted_lines"]:
|
293 |
normalized_line = normalize_line_name(line)
|
294 |
if normalized_line not in seen_lines:
|
|
|
300 |
})
|
301 |
seen_lines.add(normalized_line)
|
302 |
|
303 |
+
# Génération du HTML avec un menu déroulant pour filtrer par catégorie
|
304 |
+
# Récupérer la liste unique des catégories présentes
|
305 |
+
categories_presentes = sorted(list(all_disruptions.keys()))
|
306 |
+
|
307 |
html_content = f"""
|
308 |
<!DOCTYPE html>
|
309 |
<html lang="fr">
|
|
|
330 |
text-align: left;
|
331 |
margin: 20px 40px;
|
332 |
}}
|
333 |
+
.filter-container {{
|
334 |
+
margin: 20px 40px;
|
335 |
+
}}
|
336 |
table {{
|
337 |
width: 90%;
|
338 |
margin: 20px auto;
|
|
|
373 |
</head>
|
374 |
<body>
|
375 |
<h1>Rapport des Perturbations</h1>
|
376 |
+
|
377 |
+
<div class="filter-container">
|
378 |
+
<label for="categoryFilter">Filtrer par catégorie :</label>
|
379 |
+
<select id="categoryFilter">
|
380 |
+
<option value="all">Toutes</option>
|
381 |
+
"""
|
382 |
+
|
383 |
+
# Ajouter options pour chaque catégorie présente
|
384 |
+
for cat in categories_presentes:
|
385 |
+
html_content += f'<option value="{cat}">{cat}</option>'
|
386 |
+
|
387 |
+
html_content += """
|
388 |
+
</select>
|
389 |
+
</div>
|
390 |
+
|
391 |
<div class="summary">
|
392 |
<h2>Récapitulatif des Lignes Impactées (Perturbée / Bloquante)</h2>
|
393 |
+
<table id="summaryTable">
|
394 |
<thead>
|
395 |
<tr>
|
396 |
<th>Catégorie</th>
|
|
|
405 |
# Ajouter les lignes impactées uniques au récapitulatif
|
406 |
for item in summary_data:
|
407 |
severity_class = "severity-perturbee" if item["severity"].lower() == "perturbée" else "severity-bloquante"
|
408 |
+
# Ajouter un data-attribute pour la catégorie
|
409 |
html_content += f"""
|
410 |
+
<tr class="{severity_class}" data-category="{item["category"]}">
|
411 |
<td class="category-bold">{item["category"]}</td>
|
412 |
<td>{item["line"]}</td>
|
413 |
<td>{item["cause"]}</td>
|
|
|
423 |
|
424 |
# Ajouter les détails des perturbations
|
425 |
for category, disruptions in all_disruptions.items():
|
426 |
+
# Ajouter un data-category au <h2>
|
427 |
+
html_content += f'<h2 data-category="{category}">{category}</h2>'
|
428 |
+
html_content += f"""
|
429 |
+
<table data-category="{category}">
|
430 |
<thead>
|
431 |
<tr>
|
432 |
<th>Ligne</th>
|
|
|
439 |
"""
|
440 |
for disruption in disruptions:
|
441 |
for line in disruption["impacted_lines"]:
|
442 |
+
sev_class = "severity-perturbee" if disruption["severity"].lower() == "perturbée" else "severity-bloquante"
|
443 |
html_content += f"""
|
444 |
+
<tr class="{sev_class}" data-category="{category}">
|
445 |
<td>{line}</td>
|
446 |
<td>{disruption["cause"]}</td>
|
447 |
<td>{disruption["severity"]}</td>
|
|
|
453 |
</table>
|
454 |
"""
|
455 |
|
456 |
+
# Après avoir fini de générer le HTML, ajouter le script de filtrage
|
457 |
html_content += """
|
458 |
+
<script>
|
459 |
+
const categoryFilter = document.getElementById('categoryFilter');
|
460 |
+
categoryFilter.addEventListener('change', () => {
|
461 |
+
const selectedCategory = categoryFilter.value;
|
462 |
+
|
463 |
+
// Filtrer les lignes du récapitulatif
|
464 |
+
const summaryRows = document.querySelectorAll('#summaryTable tbody tr');
|
465 |
+
summaryRows.forEach(row => {
|
466 |
+
const rowCategory = row.getAttribute('data-category');
|
467 |
+
if (selectedCategory === 'all' || rowCategory === selectedCategory) {
|
468 |
+
row.style.display = '';
|
469 |
+
} else {
|
470 |
+
row.style.display = 'none';
|
471 |
+
}
|
472 |
+
});
|
473 |
+
|
474 |
+
// Filtrer les tables de détails
|
475 |
+
const detailTables = document.querySelectorAll('table[data-category]');
|
476 |
+
detailTables.forEach(table => {
|
477 |
+
const tableCat = table.getAttribute('data-category');
|
478 |
+
if (selectedCategory === 'all' || tableCat === selectedCategory) {
|
479 |
+
table.style.display = '';
|
480 |
+
} else {
|
481 |
+
table.style.display = 'none';
|
482 |
+
}
|
483 |
+
});
|
484 |
+
|
485 |
+
// Filtrer aussi les titres des catégories
|
486 |
+
const headings = document.querySelectorAll('h2[data-category]');
|
487 |
+
headings.forEach(heading => {
|
488 |
+
const headingCat = heading.getAttribute('data-category');
|
489 |
+
if (selectedCategory === 'all' || headingCat === selectedCategory) {
|
490 |
+
heading.style.display = '';
|
491 |
+
} else {
|
492 |
+
heading.style.display = 'none';
|
493 |
+
}
|
494 |
+
});
|
495 |
+
});
|
496 |
+
</script>
|
497 |
"""
|
498 |
|
499 |
return html_content
|