From 0b55c892a0c5faa9f6c23f0850fade9a309d7d84 Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Tue, 21 Oct 2025 19:01:35 +0200 Subject: [PATCH 01/11] Lista mezzi + radio mezzi Gamberini --- ravenna_privatibus/gamberini.html | 4 ++-- startravenna_bus/listamezzi.html | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ravenna_privatibus/gamberini.html b/ravenna_privatibus/gamberini.html index d1625d3..bbc508b 100644 --- a/ravenna_privatibus/gamberini.html +++ b/ravenna_privatibus/gamberini.html @@ -92,10 +92,10 @@ Server foto non raggiungibile. -

19112 - (46) Scania De Simon IL.3 ex APT

+

19112 - (46) Scania De Simon IL.3 ex APT

-

19113 - Setra S315UL

+

19113 - Setra S315UL

Server foto non raggiungibile. diff --git a/startravenna_bus/listamezzi.html b/startravenna_bus/listamezzi.html index 5cda29b..d375774 100644 --- a/startravenna_bus/listamezzi.html +++ b/startravenna_bus/listamezzi.html @@ -580,14 +580,11 @@ GS 947 BR Iveco Urbanway 12 Mild Hybrid CNG - + 32461 GS 946 BR Iveco Urbanway 12 Mild Hybrid CNG - - 32461 Ferma per sinistro. - 32462 GS 948 BR From eb43f092492dff2ecd129885c03a7a8135fb5ec0 Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:02:14 +0200 Subject: [PATCH 02/11] Varie foto start --- index.html | 2 ++ startravenna_bus/extraurbano/crossway12cngle.html | 4 +++- startravenna_bus/extraurbano/irizari4.html | 11 +++++++++++ startravenna_bus/suburbano/citeliseev.html | 7 +++++++ startravenna_bus/suburbano/uwmh.html | 1 + startravenna_bus/urbano/karsan.html | 9 +++++++++ startravenna_bus/urbano/manlc12e.html | 3 +++ startravenna_bus/urbano/uw.html | 1 + 8 files changed, 37 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7521954..317b17d 100644 --- a/index.html +++ b/index.html @@ -47,6 +47,8 @@

Ravenna:

START:
+ Nuove foto: 10445, 32462, 34425, 34458, 37133, 37257
+ Nuove foto interni: 10441, 34425, 37133
Aggiornata la Lista Mezzi
Scritta la guida "come cercare il codice fermata".

METE:
diff --git a/startravenna_bus/extraurbano/crossway12cngle.html b/startravenna_bus/extraurbano/crossway12cngle.html index 7e19c25..6caf37e 100644 --- a/startravenna_bus/extraurbano/crossway12cngle.html +++ b/startravenna_bus/extraurbano/crossway12cngle.html @@ -69,7 +69,9 @@

34458

- Server foto non raggiungibile. + Server foto non raggiungibile. + Server foto non raggiungibile. +

34459-34462

diff --git a/startravenna_bus/extraurbano/irizari4.html b/startravenna_bus/extraurbano/irizari4.html index 19a45d0..9c1fae7 100644 --- a/startravenna_bus/extraurbano/irizari4.html +++ b/startravenna_bus/extraurbano/irizari4.html @@ -73,6 +73,7 @@ Server foto non raggiungibile. + Server foto non raggiungibile.

34426

@@ -89,5 +90,15 @@

34428-34435

+

Interni

+ + + + + + + + +

34425

Server foto non raggiungibile.Server foto non raggiungibile.
diff --git a/startravenna_bus/suburbano/citeliseev.html b/startravenna_bus/suburbano/citeliseev.html index ff30ff0..4b14d74 100644 --- a/startravenna_bus/suburbano/citeliseev.html +++ b/startravenna_bus/suburbano/citeliseev.html @@ -108,6 +108,13 @@ Server foto non raggiungibile. + +

10441

+ + + Server foto non raggiungibile. + Server foto non raggiungibile. + diff --git a/startravenna_bus/suburbano/uwmh.html b/startravenna_bus/suburbano/uwmh.html index 0550f50..e329b8d 100644 --- a/startravenna_bus/suburbano/uwmh.html +++ b/startravenna_bus/suburbano/uwmh.html @@ -56,6 +56,7 @@ Server foto non raggiungibile. Server foto non raggiungibile. + Server foto non raggiungibile.

32463

diff --git a/startravenna_bus/urbano/karsan.html b/startravenna_bus/urbano/karsan.html index 1ff56b1..0a0a183 100644 --- a/startravenna_bus/urbano/karsan.html +++ b/startravenna_bus/urbano/karsan.html @@ -99,6 +99,9 @@

37133

+ + Server foto non raggiungibile. +

37134

@@ -174,6 +177,12 @@ Server foto non raggiungibile. + +

37133

+ + + Server foto non raggiungibile. +

37137

diff --git a/startravenna_bus/urbano/manlc12e.html b/startravenna_bus/urbano/manlc12e.html index b414197..9ee4d0a 100644 --- a/startravenna_bus/urbano/manlc12e.html +++ b/startravenna_bus/urbano/manlc12e.html @@ -55,6 +55,9 @@

37257

+ + Server foto non raggiungibile. +

37258

diff --git a/startravenna_bus/urbano/uw.html b/startravenna_bus/urbano/uw.html index a370de7..3a5e672 100644 --- a/startravenna_bus/urbano/uw.html +++ b/startravenna_bus/urbano/uw.html @@ -31,6 +31,7 @@ Server foto non raggiungibile. Server foto non raggiungibile. + Server foto non raggiungibile.

10446

From 450ac33d87ad7f4b204dda88fc2bddae250c2135 Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Tue, 21 Oct 2025 21:09:59 +0200 Subject: [PATCH 03/11] Lista Riolo + fix nomi zaga --- ravenna_privatibus/riolo.html | 122 +++++++++++++++++++++++++++++- ravenna_privatibus/zaganelli.html | 30 ++++---- 2 files changed, 136 insertions(+), 16 deletions(-) diff --git a/ravenna_privatibus/riolo.html b/ravenna_privatibus/riolo.html index ef58819..954c9ab 100644 --- a/ravenna_privatibus/riolo.html +++ b/ravenna_privatibus/riolo.html @@ -22,6 +22,18 @@

Cooperativa Trasporti di Riolo Terme (Riolo Terme, RA)

+ + + + + + + + + + + + @@ -30,11 +42,119 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

19502-19506 - Iveco Crossway LE Line

19507-19509 - Isuzu Novo Ultra

19513 - Isuzu Novo Ultra

Server foto non raggiungibile

19553 - Setra S315UL

19517 - Mercedes Sprinter

19518 - Iveco Daily Line

19520 - VDL Bova Futura 12m

19521 - VDL Bova Futura 10m

19522-19523 - VDL Lexio

19524 - Mercedes Sprinter

19525 - Iveco Daily Line

19526-19529 - Setra S418 LE Business

19531 - VDL Lexio

19533 - Setra S315UL

Server foto non raggiungibile.

19535-19536 - Mercedes Intouro

19537 - Setra S315UL

19538 - Iveco Crossway LE Line

19539 (I) - Setra S315UL

19539 (II) - Iveco Crossway NF Line

19540 - Bova Futura 10m

19541-19542 - Setra S315UL

19543 - Setra S315 LE Business

19544-19546 - Setra S315UL

diff --git a/ravenna_privatibus/zaganelli.html b/ravenna_privatibus/zaganelli.html index 109e34d..346df51 100644 --- a/ravenna_privatibus/zaganelli.html +++ b/ravenna_privatibus/zaganelli.html @@ -29,49 +29,49 @@ Server foto non raggiungibile. -

19202 - (2) Irisbus Evadys

+

19202 - (2) Irisbus Evadys H

Server foto non raggiungibile. -

19203 - (6) Iveco Crossway Line

+

19203 - (6) Iveco Crossway NF Line

Server foto non raggiungibile. -

19204 - (7) Iveco Crossway Line

+

19204 - (7) Iveco Crossway NF Line

Server foto non raggiungibile. -

19205 - (5) Iveco Crossway LE

+

19205 - (5) Iveco Crossway LE Line

19206 - Volvo 8700

-

19207

+

19207 - Setra S418 LE

-

19208 - (2) Iveco Crossway LE

+

19208 - (2) Iveco Crossway LE Line

Server foto non raggiungibile. -

19209 - (10) Iveco Crossway LE ex Vor Regio Austria

+

19209 - (10) Iveco Crossway LE Line ex Vor Regio Austria

Server foto non raggiungibile. -

19210

+

19210 - Irisbus DailyWay

-

19211 - (11) Iveco Crossway LE ex Vor Regio Austria

+

19211 - (11) Iveco Crossway LE Line ex Vor Regio Austria

19212 - Irisbus Arway 12

@@ -86,19 +86,19 @@ Server foto non raggiungibile. -

19214

+

19214 Mercedes Sprinter Altes Ecoline

19215

-

19216 - Iveco Crossway LE

+

19216 - Iveco Crossway LE Line

Server foto non raggiungibile. -

19217

+

19217 Volkswagen Crafter Ristè

19218 - (2) Volvo 8700 LE

@@ -120,7 +120,7 @@ Server foto non raggiungibile. -

19221 - (5) Volvo 8700 LE

+

19221 - (5) Volvo 8700 LE 14,7m

19222 - (1) Mercedes-Benz Intouro

@@ -153,13 +153,13 @@

19226 - (3) Setra S417UL

-

19227 - (8) Iveco Crossway Line ex Vor Regio (Austria)

+

19227 - (8) Iveco Crossway NF Line ex Vor Regio (Austria)

Server foto non raggiungibile. -

19228 - (9) Iveco Crossway Line ex Vor Regio (Austria)

+

19228 - (9) Iveco Crossway NF Line ex Vor Regio (Austria)

Server foto non raggiungibile. From 20b683a6f3140b7489c823dadc41a3393a97267f Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Tue, 21 Oct 2025 21:20:16 +0200 Subject: [PATCH 04/11] so rimbambito --- ravenna_privatibus/zaganelli.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ravenna_privatibus/zaganelli.html b/ravenna_privatibus/zaganelli.html index 346df51..faef6c5 100644 --- a/ravenna_privatibus/zaganelli.html +++ b/ravenna_privatibus/zaganelli.html @@ -86,7 +86,7 @@ Server foto non raggiungibile. -

19214 Mercedes Sprinter Altes Ecoline

+

19214 - Mercedes Sprinter Altes Ecoline

19215

@@ -98,7 +98,7 @@ Server foto non raggiungibile. -

19217 Volkswagen Crafter Ristè

+

19217 - Volkswagen Crafter Ristè

19218 - (2) Volvo 8700 LE

@@ -165,12 +165,12 @@ Server foto non raggiungibile. -

19229-19230 Iveco Crossway LE Line ex Vor Regio (Austria)

+

19229-19230 - Iveco Crossway LE Line ex Vor Regio (Austria)

-

19231 Iveco Crossway LE Line ex Vor Regio (Austria)

+

19231 - Iveco Crossway LE Line ex Vor Regio (Austria)

Server foto non raggiungibile. From 0c498dd8a8acced30d99e7a17e958afa30883742 Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:40:31 +0200 Subject: [PATCH 05/11] Fix text redazione CZ --- extra_bus/repubblica_ceca/repubblica_ceca.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra_bus/repubblica_ceca/repubblica_ceca.html b/extra_bus/repubblica_ceca/repubblica_ceca.html index 1700660..e65814a 100644 --- a/extra_bus/repubblica_ceca/repubblica_ceca.html +++ b/extra_bus/repubblica_ceca/repubblica_ceca.html @@ -21,7 +21,7 @@

Repubblica Ceca

Qua si possono trovare foto di altri gestori della Repubblica ceca, suddivisi per Regione.

-

Questa sezione del sito è redatta da ErikMontagne.

+

Le foto e la redazione presente in questa sezione del sito è di ErikMontagne.


@@ -87,4 +87,4 @@

- \ No newline at end of file + From 3d5edaa3ec1821d053c99f8564f4e5f3d229c36a Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:42:13 +0200 Subject: [PATCH 06/11] Fix text redazione Austria --- extra_bus/austria/austria.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra_bus/austria/austria.html b/extra_bus/austria/austria.html index a618710..06895eb 100644 --- a/extra_bus/austria/austria.html +++ b/extra_bus/austria/austria.html @@ -21,7 +21,7 @@

Austria

Qua si possono trovare foto di altri gestori dell'austria, suddivisi per Compagnia

-

Questa sezione del sito è redatta da ErikMontagne

+

Le foto e la redazione presente in questa sezione del sito è di ErikMontagne.


@@ -37,4 +37,4 @@

- \ No newline at end of file + From 4cc95d5b139e01a2c4bdf949d4b458eb7d2a55f8 Mon Sep 17 00:00:00 2001 From: Curry141 <135717077+Daniongithub@users.noreply.github.com> Date: Thu, 23 Oct 2025 18:27:54 +0200 Subject: [PATCH 07/11] Update lista mezzi. --- startravenna_bus/listamezzi.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/startravenna_bus/listamezzi.html b/startravenna_bus/listamezzi.html index d375774..26eaa21 100644 --- a/startravenna_bus/listamezzi.html +++ b/startravenna_bus/listamezzi.html @@ -335,11 +335,14 @@
- + + + + @@ -425,7 +428,7 @@ - + From 4793aafc8511e0d4cbac6921ea97e484e423cd14 Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Sat, 25 Oct 2025 08:58:01 +0200 Subject: [PATCH 08/11] Rimozione fermo 10433 lista mezzi --- startravenna_bus/listamezzi.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/startravenna_bus/listamezzi.html b/startravenna_bus/listamezzi.html index 26eaa21..5c32409 100644 --- a/startravenna_bus/listamezzi.html +++ b/startravenna_bus/listamezzi.html @@ -322,14 +322,11 @@ - + - - - From 469e54b6ff1945084a4f96dd6f9789196adf4750 Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Sat, 25 Oct 2025 09:21:00 +0200 Subject: [PATCH 09/11] Correzione Lista Mezzi Man Start --- startravenna_bus/listamezzi.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/startravenna_bus/listamezzi.html b/startravenna_bus/listamezzi.html index 5c32409..4656415 100644 --- a/startravenna_bus/listamezzi.html +++ b/startravenna_bus/listamezzi.html @@ -1575,12 +1575,12 @@ - + - + @@ -1605,7 +1605,7 @@ - + From bfabb18feecbc5a974313ec8dad76745ca1c5e1b Mon Sep 17 00:00:00 2001 From: ErikMontanari <66902953+ErikMontanari@users.noreply.github.com> Date: Sat, 25 Oct 2025 14:30:55 +0200 Subject: [PATCH 10/11] 10435 back in business --- startravenna_bus/listamezzi.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/startravenna_bus/listamezzi.html b/startravenna_bus/listamezzi.html index 4656415..c4821f4 100644 --- a/startravenna_bus/listamezzi.html +++ b/startravenna_bus/listamezzi.html @@ -332,14 +332,11 @@ - + - - - From 4b7fcb16c1be9d069cec39db3c287b1d9a72f6b4 Mon Sep 17 00:00:00 2001 From: Curry141 <135717077+Daniongithub@users.noreply.github.com> Date: Sat, 25 Oct 2025 18:23:26 +0200 Subject: [PATCH 11/11] Added a counter for the number of vehicles in the search. --- .../servizi/start-livebus/css/style.css | 11 +++++ start_menu/servizi/start-livebus/index.html | 5 ++- start_menu/servizi/start-livebus/js/script.js | 45 ++++++++++++------- 3 files changed, 44 insertions(+), 17 deletions(-) diff --git a/start_menu/servizi/start-livebus/css/style.css b/start_menu/servizi/start-livebus/css/style.css index f01e62d..96e1df9 100644 --- a/start_menu/servizi/start-livebus/css/style.css +++ b/start_menu/servizi/start-livebus/css/style.css @@ -61,6 +61,17 @@ p { box-shadow: 0 0 5px rgba(52, 152, 219, 0.3); } +.num { + margin-top: 5px; + margin-bottom: 5px; + max-width: 150px; + margin-left: auto; + margin-right: auto; + background-color: #333; + border-radius: 12px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); +} + table { border-collapse: separate; border-spacing: 0; diff --git a/start_menu/servizi/start-livebus/index.html b/start_menu/servizi/start-livebus/index.html index 7dd5d6a..bc42365 100644 --- a/start_menu/servizi/start-livebus/index.html +++ b/start_menu/servizi/start-livebus/index.html @@ -37,9 +37,10 @@ - +
+

Numero mezzi:

+

Caricamento in corso, attendere prego...

-

Copyright (C) 2025 ER-TPL Team - ertpl.pages.dev - code by EmmeV (Vichingo455) Codice Sorgente

Start Romagna, Start e il logo Start Romagna sono marchi registrati e protetti da copyright da Start Romagna SpA. Vengono usati in questa pagina solo per riferimento.

diff --git a/start_menu/servizi/start-livebus/js/script.js b/start_menu/servizi/start-livebus/js/script.js index 42aa43a..d96eed6 100644 --- a/start_menu/servizi/start-livebus/js/script.js +++ b/start_menu/servizi/start-livebus/js/script.js @@ -1,3 +1,4 @@ +const apiurl = 'https://api.vichingo455.freeddns.org/infobus/'; // Funzione per applicare il filtro su ogni colonna function applyFilter() { const filterZona = document.getElementById('filterZona').value.toLowerCase(); @@ -9,9 +10,6 @@ function applyFilter() { const rows = table.querySelectorAll('tr'); rows.forEach((row, index) => { - // Non applicare il filtro sulla prima riga (intestazione) - if (index === 0) return; - const cells = row.getElementsByTagName('td'); let match = true; @@ -25,6 +23,15 @@ function applyFilter() { row.style.display = match ? '' : 'none'; }); } + function numeromezzi() { + const table = document.getElementById('tabella'); + //let nummezzi = table.tBodies[0].rows.length; + const rows = table.querySelectorAll('tbody tr'); + const visibili = Array.from(rows).filter(row => { + return window.getComputedStyle(row).display !== 'none'; + }); + document.getElementById('nummezzi').innerHTML = visibili.length; + } fetchData(); // Primo fetch // Fetch dei dati ogni 30 secondi (30 000 millisecondi) timer = setInterval(() => { @@ -32,7 +39,7 @@ function applyFilter() { }, 30000); // Fetch dei dati e creazione della tabella function fetchData() { - fetch('https://api.vichingo455.freeddns.org/infobus/') + fetch(apiurl) .then(response => response.json()) .then(data => { const container = document.getElementById('data-container'); @@ -42,26 +49,27 @@ function applyFilter() { const table = document.createElement('table'); // Aggiungi l'intestazione della tabella - var th = document.createElement('th'); - var tr = document.createElement('tr'); + let th = document.createElement('th'); + const thead = document.createElement('thead'); + const tbody = document.createElement('tbody'); th.innerHTML='Zona'; - tr.appendChild(th); + thead.appendChild(th); th = document.createElement('th'); th.innerHTML='Linea'; - tr.appendChild(th); + thead.appendChild(th); th = document.createElement('th'); th.innerHTML='Fermata'; - tr.appendChild(th); + thead.appendChild(th); th = document.createElement('th'); th.innerHTML='Codice fermata'; - tr.appendChild(th); + thead.appendChild(th); th = document.createElement('th'); th.innerHTML='Veicolo'; - tr.appendChild(th); + thead.appendChild(th); th = document.createElement('th'); th.innerHTML='Ultimo aggiornamento'; - tr.appendChild(th); - table.appendChild(tr); + thead.appendChild(th); + table.appendChild(thead); // Aggiungi i dati alla tabella data.forEach(row => { @@ -73,13 +81,15 @@ function applyFilter() { rowt.appendChild(cell); } }); - table.appendChild(rowt); + tbody.appendChild(rowt); }); - + table.appendChild(tbody); // Aggiungi la tabella alla pagina container.appendChild(table); + table.id = "tabella"; // Preserva il filtro applyFilter(); + numeromezzi(); }) .catch(err => { //console.error("Errore nel caricamento dati:", err); @@ -101,6 +111,7 @@ function applyFilter() { document.getElementById("filterCodiceFermata").value = ""; // Esegui la funzione per applicare i filtri (per sicurezza) applyFilter(); + numeromezzi(); } setInterval(updateClock, 1000); @@ -110,3 +121,7 @@ document.getElementById('filterZona').addEventListener('input', applyFilter); document.getElementById('filterLinea').addEventListener('input', applyFilter); document.getElementById('filterVeicolo').addEventListener('input', applyFilter); document.getElementById('filterCodiceFermata').addEventListener('input', applyFilter); +document.getElementById('filterZona').addEventListener('input', numeromezzi); +document.getElementById('filterLinea').addEventListener('input', numeromezzi); +document.getElementById('filterVeicolo').addEventListener('input', numeromezzi); +document.getElementById('filterCodiceFermata').addEventListener('input', numeromezzi); \ No newline at end of file
GT 176 CV Irisbus Citelis 12 CNG
10435 GG 483 NF Irisbus Citelis 12 CNG
10435 Ferma per incidente: https://www.corriereromagna.it/ravenna/ravenna-bus-sbanda-e-finisce-nel-fosso-passeggeri-messi-in-salvo-gallery-GC1703778
10436 FM 799 AKFR 940 DW Menarinibus Citymood 12 CNG
32304 FR 943 DW Menarinibus Citymood 12 CNGGT 768 VF Irisbus Citelis 12 CNG
10433 GG 482 NF Irisbus Citelis 12 CNG
10433 Ferma per principio di incendio.
10434 GT 176 CVGT 796 VF MAN Lion's City 12E
37252 MAN Lion's City 12E
37253 MAN Lion's City 12EGT 799 VF MAN Lion's City 12E
37258 MAN Lion's City 12EGT 176 CV Irisbus Citelis 12 CNG
10435 GG 483 NF Irisbus Citelis 12 CNG
10435 Ferma per incidente: https://www.corriereromagna.it/ravenna/ravenna-bus-sbanda-e-finisce-nel-fosso-passeggeri-messi-in-salvo-gallery-GC1703778
10436 FM 799 AK