diff --git a/seta_menu/cercaorario/altrecorsie.html b/seta_menu/cercaorario/altrecorsie.html new file mode 100644 index 0000000..50bbe5c --- /dev/null +++ b/seta_menu/cercaorario/altrecorsie.html @@ -0,0 +1,27 @@ + + + + + + ER-TPL + + + + + + + +
+ +
+

Altre corsie di: ""

+
+ + + \ No newline at end of file diff --git a/seta_menu/cercaorario/css/style.css b/seta_menu/cercaorario/css/style.css index 7dcbf23..3936cd5 100644 --- a/seta_menu/cercaorario/css/style.css +++ b/seta_menu/cercaorario/css/style.css @@ -23,7 +23,7 @@ table { min-width: 85%; max-width: 100%; margin: auto; - margin-top: 1rem; + margin-top: 18px; } th { @@ -42,6 +42,10 @@ th,td { background-color: rgb(241, 120, 120) !important; } +hr{ + margin-top:19px; +} + h1.warning { color:red; font-size: 16px; @@ -104,6 +108,11 @@ nav ul li a:hover { a { color: orange; } +a.bianco{ + color: white; + text-decoration: none; +} + #bacino, #searchBar { padding: 10px; @@ -159,6 +168,9 @@ a { #stopCodeBar { width: 80%; } + hr{ + margin-bottom:19px; + } } footer { diff --git a/seta_menu/cercaorario/js/fermata.js b/seta_menu/cercaorario/js/fermata.js index 245a423..4f1d34d 100644 --- a/seta_menu/cercaorario/js/fermata.js +++ b/seta_menu/cercaorario/js/fermata.js @@ -7,59 +7,27 @@ const fermata_span = document.getElementById('fermata-span'); fermata_span.innerHTML = `"${nome}"`; //Set corsie per stazione o autostazione const corsie_nav = document.getElementById('corsie-nav'); -if(nome=="STAZIONE FS (Corsia 1)"){ +if(nome.includes("STAZIONE FS")){ corsie_nav.innerHTML = ` `; } -if(nome=="STAZIONE FS (Corsia 2)"){ +if(nome.includes("MODENA AUTOSTAZIONE")){ corsie_nav.innerHTML = ` `; } -if(nome=="STAZIONE FS (Corsia 3)"){ +if(nome.includes("GARIBALDI")){ corsie_nav.innerHTML = ` `; -} -if(nome=="STAZIONE FS (Corsia 4)"){ - corsie_nav.innerHTML = ` - `; } diff --git a/seta_menu/cercaorario/js/paginacorsie.js b/seta_menu/cercaorario/js/paginacorsie.js new file mode 100644 index 0000000..f75662a --- /dev/null +++ b/seta_menu/cercaorario/js/paginacorsie.js @@ -0,0 +1,81 @@ +const params = new URLSearchParams(window.location.search); +const bottoni = document.getElementById('buttons'); +const posto = params.get('location'); +const fermata_span = document.getElementById('fermata-span'); + +fermata_span.innerHTML=posto; + +if(posto=="STAZIONE FS"){ + bottoni.innerHTML = ` + +

Corsia 1

+
+ +

Corsia 2

+
+ +

Corsia 3

+
+ +

Corsia 4

+
+ `; +} +if(posto=="MODENA AUTOSTAZIONE"){ + bottoni.innerHTML = ` + +

Direzione Centro

+
+ +

Lato Novi Park

+
+
+ +

Davanti Biglietteria

+
+ +

Fianco Biglietteria

+
+ +

Fianco Biglietteria lato Novi Park

+
+
+ +

Corriere corsia 1

+
+ +

Corriere corsia 2

+
+ +

Corriere corsia 3

+
+ +

Corriere corsia 4

+
+ +

Corriere corsia 5

+
+ +

Corriere corsia 6

+
+ `; +} +if(posto=="GARIBALDI"){ + bottoni.innerHTML = ` + +

Direzione Centro

+
+ +

Direzione Trento Trieste

+
+ +

Direzione Centro

+
+ +

Storchi direzione Trento Trieste

+
+ +

Storchi direzione. Centro

+
+ `; +} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 9314997..36b09e8 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -10,6 +10,11 @@ 0.75 2025-07-27 + + https://www.ertpl.pages.dev/seta_menu/cercaorario/altrecorsie.html + 0.50 + 2025-07-29 + https://www.ertpl.pages.dev/tper_menu/tperextra.html 0.50 diff --git a/style.css b/style.css index 029d761..a926235 100644 --- a/style.css +++ b/style.css @@ -126,7 +126,7 @@ nav { } nav.index{ display: flex; - min-height: 51px; + min-height: 46px; } nav ul li { margin-left: 20px;