diff --git a/scripts/tperbus.json b/scripts/tperbus.json
index daaff12..cc5ec13 100644
--- a/scripts/tperbus.json
+++ b/scripts/tperbus.json
@@ -2980,5 +2980,23 @@
"settore": "Suburbano",
"modello": "MAN A44 Lion's City L LE CNG",
"link": "/tper_bus/suburbano/manlcllecng.html#1386"
+ },
+ {
+ "matricola": "1588",
+ "settore": "Extraurbano",
+ "modello": "Mercedes-Benz Integro O550FL (II)",
+ "link": "/tper_bus/extraurbano/integrofl.html#1588"
+ },
+ {
+ "matricola": "1589",
+ "settore": "Extraurbano",
+ "modello": "Mercedes-Benz Integro O550FL (II)",
+ "link": "/tper_bus/extraurbano/integrofl.html#1589"
+ },
+ {
+ "matricola": "1590",
+ "settore": "Extraurbano",
+ "modello": "Mercedes-Benz Integro O550FL (II)",
+ "link": "/tper_bus/extraurbano/integrofl.html#1590"
}
]
\ No newline at end of file
diff --git a/seta_menu/businservizio/css/style.css b/seta_menu/businservizio/css/style.css
index 441d403..36e7c54 100644
--- a/seta_menu/businservizio/css/style.css
+++ b/seta_menu/businservizio/css/style.css
@@ -168,13 +168,6 @@ select,input{
}
@media (max-width: 768px) {
- .search-result {
- display: block;
- width: 95.5%;
- }
- th,td {
- font-size: 70%;
- }
p.scaled{
font-size: 70%;
}
@@ -182,8 +175,28 @@ select,input{
margin-top: 10px;
min-width: 100%;
}
+ div.content-background {
+ max-width: 100%;
+ }
+ .search-result {
+ display: block;
+ width: 96.5%;
+ }
+ .container {
+ flex-direction: column;
+ }
+ th,td {
+ font-size: 2vw;
+ }
+ nav#corsie-nav ul li a{
+ font-size: 90%;
+ margin: 0;
+ }
+ table {
+ width: 100%;
+ }
h2{
- margin-bottom: 0;
+ margin-bottom: 8px;
}
h2.noreduction{
margin-bottom: 16px;
@@ -195,8 +208,20 @@ select,input{
width: 98%;
height: auto;
}
- div.content-background {
- max-width: 100%;
+}
+
+@media (max-width: 512px) {
+ th,td {
+ font-size: 3vw;
+ }
+ table{
+ margin-top:10px;
+ }
+ h2{
+ margin-bottom: 0;
+ }
+ h2.noreduction{
+ margin-bottom: 16px;
}
}
diff --git a/seta_menu/cercaorario/css/style.css b/seta_menu/cercaorario/css/style.css
index d45e173..d799899 100644
--- a/seta_menu/cercaorario/css/style.css
+++ b/seta_menu/cercaorario/css/style.css
@@ -151,23 +151,23 @@ img{
@media (max-width: 768px) {
.search-result {
display: block;
- width: 95.5%;
+ width: 96.5%;
}
.container {
flex-direction: column;
}
th,td {
- font-size: 70%;
+ font-size: 2vw;
}
nav#corsie-nav ul li a{
- font-size: 75%;
+ font-size: 90%;
margin: 0;
}
table {
- margin-top: 10px;
+ width: 100%;
}
h2{
- margin-bottom: 0;
+ margin-bottom: 8px;
}
h2.noreduction{
margin-bottom: 16px;
@@ -187,6 +187,24 @@ img{
}
}
+@media (max-width: 512px) {
+ th,td {
+ font-size: 3vw;
+ }
+ table{
+ margin-top:10px;
+ }
+ nav#corsie-nav ul li a{
+ font-size: 3.2vw;
+ }
+ h2{
+ margin-bottom: 0;
+ }
+ h2.noreduction{
+ margin-bottom: 16px;
+ }
+}
+
footer {
position: relative;
bottom: 0;
diff --git a/seta_menu/percorsi/css/style.css b/seta_menu/percorsi/css/style.css
index 0105738..cc7c77e 100644
--- a/seta_menu/percorsi/css/style.css
+++ b/seta_menu/percorsi/css/style.css
@@ -161,14 +161,13 @@ img{
flex-direction: column;
}
th,td {
- font-size: 70%;
+ font-size: 90%;
}
nav#corsie-nav ul li a{
font-size: 75%;
margin: 0;
}
table {
- margin-top: 10px;
width: 100%;
}
h2{
@@ -192,6 +191,15 @@ img{
}
}
+@media (max-width: 512px) {
+ th,td {
+ font-size: 3.2vw;
+ }
+ table{
+ margin-top:10px;
+ }
+}
+
footer {
position: relative;
bottom: 0;
diff --git a/seta_menu/percorsi/js/linea.js b/seta_menu/percorsi/js/linea.js
index ddb5563..beebcc6 100644
--- a/seta_menu/percorsi/js/linea.js
+++ b/seta_menu/percorsi/js/linea.js
@@ -46,13 +46,13 @@ function caricadati(){
// Corpo tabella
const tbody = document.createElement('tbody');
- item.features.forEach(item => {
- const element = item.properties;
+ item.forEach(item => {
+ const element = item;
var tr = document.createElement('tr');
tr.innerHTML = `
- ${element.desc} |
- ${element.code} |
+ ${item.desc} |
+ ${item.code} |
`;
tbody.appendChild(tr);
@@ -64,8 +64,12 @@ function caricadati(){
container.appendChild(table);
})
.catch(err => {
- console.error('Errore nel caricamento dati:', err);
- document.getElementById('tabella-container').textContent = "Errore nella sintassi dei dati ricevuti.";
+ if(item.error=="Percorso non trovato"){
+ document.getElementById('tabella-container').textContent = "Percorso non trovato.";
+ }else{
+ console.error('Errore nel caricamento dati:', err);
+ document.getElementById('tabella-container').textContent = "Errore nella sintassi dei dati ricevuti.";
+ }
});
}
diff --git a/seta_menu/percorsi/js/rcodes.js b/seta_menu/percorsi/js/rcodes.js
index 70da293..565a7bc 100644
--- a/seta_menu/percorsi/js/rcodes.js
+++ b/seta_menu/percorsi/js/rcodes.js
@@ -74,6 +74,10 @@ function routesDictionary(rcode){
return "1A BONACINI -> POLO LEONARDO";
case "MO1-As-160":
return "1S AUTOSTAZIONE";
+ case "MO1-As-139":
+ return "1 POLO LEONARDO -> MARINUZZI";
+ case "MO1-Di-158":
+ return "1 STAZIONE FS -> V.ZETA";
//Linea 2
case "MO2-As-220":
return "2 SAN DAMASO";
@@ -85,6 +89,10 @@ function routesDictionary(rcode){
return "2A SAN DONNINO";
case "MO2-Di-268":
return "2 SAN DONNINO -> SAN DAMASO -> SANT'ANNA";
+ case "MO2-Di-290":
+ return "2/ AUTOSTAZIONE";
+ case "MO2-As-291":
+ return "2 AUTOSTAZIONE -> SAN DONNINO";
//Linea 3
case "MO3-As-343":
return "3A VACIGLIO-MATTARELLA";
@@ -94,6 +102,32 @@ function routesDictionary(rcode){
return "3 MATTARELLA";
case "MO3-As-354":
return "3A MONTEFIORINO -> VACIGLIO";
+ case "MO3-Di-397":
+ return "3B NONANTOLANA 1010";
+ case "MO3-As-396":
+ return "3B RAGAZZI DEL 99";
+ case "MO3-As-302":
+ return "3/ NONANTOLANA 1010 -> STAZIONE FS";
+ case "MO3-As-326":
+ return "3A MONTEFIORINO -> MATTARELLA -> VACIGLIO";
+ case "MO3-Di-400":
+ return "3B STAZIONE FS -> NONANTOLANA 1010";
+ case "MO3-Di-339":
+ return "3A S.CATERINA-MONTEFIORINO";
+ case "MO3-As-296":
+ return "3B NONANTOLANA 1010 -> CANALETTO -> RAGAZZI DEL 99";
+ case "MO3-As-294":
+ return "3A MONTEFIORINO -> CANALETTO -> MATTARELLA -> VACIGLIO";
+ case "MO3-Di-288":
+ return "3B RAGAZZI DEL 99 -> CANALETTO -> NONANTOLANA 1010";
+ case "MO3-Di-293":
+ return "3/ RAGAZZI DEL 99 -> STAZIONE FS";
+ case "MO3-Di-289":
+ return "3A VACIGLIO -> CANALETTO -> S.CATERINA-MONTEFIORINO";
+ case "MO3-Di-295":
+ return "3/ VACIGLIO -> STAZIONE FS";
+ case "MO3-Di-394":
+ return "3A NONANTOLANA -> S.CATERINA-MONTEFIORINO";
case "MO3-Di-317":
return "3 VACIGLIO -> MONTEFIORINO";
case "MO3-Di-325 (2025)":
@@ -117,6 +151,10 @@ function routesDictionary(rcode){
return "4 VACIGLIO NORD";
case "MO4-As-432":
return "4 V.NORD -> POLO -> GALILEI";
+ case "MO4-As-492":
+ return "4/ V.NORD -> AUTOSTAZIONE";
+ case "MO4-As-490":
+ return "4/ GALILEI -> AUTOSTAZIONE";
//Linea 5
case "MO5-Di-535":
return "5A LA TORRE -> D'AVIA -> TRE OLMI";
@@ -180,6 +218,10 @@ function routesDictionary(rcode){
return "8 PANNI";
case "MO8-As-820":
return "8 GARIBALDI -> GAZZOTTI";
+ case "MO8-Di-891":
+ return "8 GARIBALDI -> PANNI";
+ case "MO8-As-819":
+ return "8 GAZZOTTI";
case "MO8-As-817 (2025)":
return "8 GAZZOTTI";
//Linea 9
@@ -246,6 +288,8 @@ function routesDictionary(rcode){
return "11 SANT'ANNA";
case "MO11-As-1137":
return "11 ZODIACO";
+ case "MO11-Di-1140":
+ return "11/ STAZIONE FS";
//Linea 12
case "MO12-As-1279":
return "12S GARIBALDI";
diff --git a/seta_menu/percorsi/js/script.js b/seta_menu/percorsi/js/script.js
index 22d356f..47ef635 100644
--- a/seta_menu/percorsi/js/script.js
+++ b/seta_menu/percorsi/js/script.js
@@ -18,6 +18,9 @@ fetch(url)
if(element<100){
const result = document.createElement('a');
result.setAttribute("class","bianco");
+ if(element.includes("(")){
+ result.setAttribute("class","rosso");
+ }
result.setAttribute("href","rcodes.html?routenum="+element);
result.innerHTML = `
${element}
@@ -26,6 +29,9 @@ fetch(url)
}else if(element>390&&element<400){
const result = document.createElement('a');
result.setAttribute("class","bianco");
+ if(element.includes("(")){
+ result.setAttribute("class","rosso");
+ }
result.setAttribute("href","rcodes.html?routenum="+element);
result.innerHTML = `
${element}
@@ -34,14 +40,20 @@ fetch(url)
}else if(element=="5taxi"||element=="10tax"){
const result = document.createElement('a');
result.setAttribute("class","bianco");
+ if(element.includes("(")){
+ result.setAttribute("class","rosso");
+ }
result.setAttribute("href","rcodes.html?routenum="+element);
result.innerHTML = `
${element}
`;
sContainer.appendChild(result);
- }else if(/^[^A-Z].*[A-Z]/i.test(element)){
+ }else if(/^[^A-Z].*[A-Z]/i.test(element)||element.includes("(")){
const result = document.createElement('a');
result.setAttribute("class","bianco");
+ if(element.includes("(")){
+ result.setAttribute("class","rosso");
+ }
result.setAttribute("href","rcodes.html?routenum="+element);
result.innerHTML = `
${element}
@@ -50,6 +62,9 @@ fetch(url)
}else if(!/^[A-Z]/i.test(element)){
const result = document.createElement('a');
result.setAttribute("class","bianco");
+ if(element.includes("(")){
+ result.setAttribute("class","rosso");
+ }
result.setAttribute("href","rcodes.html?routenum="+element);
result.innerHTML = `
${element}
@@ -58,6 +73,9 @@ fetch(url)
}else{
const result = document.createElement('a');
result.setAttribute("class","bianco");
+ if(element.includes("(")){
+ result.setAttribute("class","rosso");
+ }
result.setAttribute("href","rcodes.html?routenum="+element);
result.innerHTML = `
${element}
diff --git a/start_menu/servizi/start-livebus/css/style.css b/start_menu/servizi/start-livebus/css/style.css
index 63ac77b..f01e62d 100644
--- a/start_menu/servizi/start-livebus/css/style.css
+++ b/start_menu/servizi/start-livebus/css/style.css
@@ -1,8 +1,8 @@
body {
- background-color: #282828;
- text-align: center;
- color: white;
- font-family: Titillium Web;
+ background-color: #282828;
+ text-align: center;
+ color: white;
+ font-family: Titillium Web;
}
h1 {
@@ -22,15 +22,8 @@ p {
}
#data-container {
- margin-top: 20px;
- max-width: 1000px;
- margin-left: auto;
- margin-right: auto;
- background-color: #333;
- padding: 20px;
- border-radius: 12px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
- overflow-x: scroll;
+ min-width: 80%;
+ max-width: 100%;
}
.filter-container {
@@ -58,7 +51,7 @@ p {
border: 1px solid #ccc;
border-radius: 8px;
transition: border-color 0.3s ease;
- background-color: gray;
+ background-color: rgb(60, 60, 60);
color: white;
}
@@ -69,52 +62,46 @@ p {
}
table {
- width: 100%;
- border-collapse: collapse;
- margin-top: 20px;
- font-size: 15px;
- border-radius: 8px;
- overflow: hidden;
+ border-collapse: separate;
+ border-spacing: 0;
+ border: 1px solid rgb(100,100,100);
+ border-radius: 16px;
+ overflow: hidden;
+ min-width: 85%;
+ max-width: 100%;
+ margin: 18px auto;
}
-table th:nth-child(6),
-td:nth-child(6){
- display: none;
+/*Linee verticali*/
+th:not(:last-child),
+td:not(:last-child) {
+ border-right: 1px solid rgb(100,100,100);
}
-table,
-th,
-td {
- border: 1px solid #e0e0e0;
+/*Linee orizzontali*/
+tr:not(:last-child) > th,
+tr:not(:last-child) > td {
+ border-bottom: 1px solid rgb(100,100,100);;
}
th {
background-color: slategray;
color: white;
- padding: 12px;
- text-align: left;
+ text-align: center;
+ padding: .7vw;
}
td {
- padding: 10px;
- background-color: dimgray;
+ padding: .7vw;
+ background-color: #282828;
color: white;
}
tr:nth-child(even) td {
- background-color: gray;
-}
-
-tr:hover td {
- background-color: darkgray;
+ background-color: rgb(60, 60, 60);
}
@media (max-width: 768px) {
- table th:nth-child(4),
- td:nth-child(4){
- display: none;
- }
-
.filter-container input{
margin-top: 5px;
}
@@ -122,10 +109,13 @@ tr:hover td {
.filter-container button{
margin-top: 75%;
}
+ #data-container {
+ overflow-x: scroll;
+ }
}
button {
- background-color: gray;
+ background-color: rgb(60, 60, 60);
color: white;
border: none;
padding: 10px 20px;
diff --git a/start_menu/servizi/start-livebus/js/script.js b/start_menu/servizi/start-livebus/js/script.js
index c81eeb0..42aa43a 100644
--- a/start_menu/servizi/start-livebus/js/script.js
+++ b/start_menu/servizi/start-livebus/js/script.js
@@ -42,24 +42,38 @@ function applyFilter() {
const table = document.createElement('table');
// Aggiungi l'intestazione della tabella
- const header = table.createTHead();
- const headerRow = header.insertRow();
- headerRow.insertCell().textContent = 'Zona';
- headerRow.insertCell().textContent = 'Linea';
- headerRow.insertCell().textContent = 'Fermata';
- headerRow.insertCell().textContent = 'Codice Fermata';
- headerRow.insertCell().textContent = 'Veicolo';
- headerRow.insertCell().textContent = ' ';
- headerRow.insertCell().textContent = 'Ultimo Aggiornamento';
+ var th = document.createElement('th');
+ var tr = document.createElement('tr');
+ th.innerHTML='Zona';
+ tr.appendChild(th);
+ th = document.createElement('th');
+ th.innerHTML='Linea';
+ tr.appendChild(th);
+ th = document.createElement('th');
+ th.innerHTML='Fermata';
+ tr.appendChild(th);
+ th = document.createElement('th');
+ th.innerHTML='Codice fermata';
+ tr.appendChild(th);
+ th = document.createElement('th');
+ th.innerHTML='Veicolo';
+ tr.appendChild(th);
+ th = document.createElement('th');
+ th.innerHTML='Ultimo aggiornamento';
+ tr.appendChild(th);
+ table.appendChild(tr);
// Aggiungi i dati alla tabella
- const tbody = table.createTBody();
data.forEach(row => {
- const rowElement = tbody.insertRow();
+ const rowt = document.createElement('tr');
row.forEach(cellData => {
- const cell = rowElement.insertCell();
- cell.textContent = cellData;
+ if(cellData!=""){
+ const cell = document.createElement('td');
+ cell.innerHTML = cellData;
+ rowt.appendChild(cell);
+ }
});
+ table.appendChild(rowt);
});
// Aggiungi la tabella alla pagina
diff --git a/startravenna_bus/urbano/manlc12e.html b/startravenna_bus/urbano/manlc12e.html
index ad534da..10bbe5c 100644
--- a/startravenna_bus/urbano/manlc12e.html
+++ b/startravenna_bus/urbano/manlc12e.html
@@ -33,7 +33,25 @@
 |
- 37252-37258 |
+ 37252-37253 |
+
+
+ 37254 |
+
+
+  |
+
+
+ 37255 |
+
+
+ 37256 |
+
+
+ 37257 |
+
+
+ 37258 |