cursor pointer solo sulla roba cliccabile

This commit is contained in:
Leocraft1
2025-11-04 18:18:00 +01:00
parent 1756a545cb
commit 5bc5600487
2 changed files with 4 additions and 7 deletions

View File

@@ -41,11 +41,8 @@ th,td {
.bus-card-red { .bus-card-red {
background-color: rgb(55, 14, 14) !important; background-color: rgb(55, 14, 14) !important;
} }
.bus-card-yellow { .cursor-pointer{
background-color: rgb(65, 65, 0) !important; cursor: pointer;
}
.bus-card-green {
background-color: rgb(0, 55, 0) !important;
} }
hr{ hr{

View File

@@ -124,8 +124,8 @@ function caricadati(){
if(item.hasProblems==true){ if(item.hasProblems==true){
tr.setAttribute("class","bus-card-red"); tr.setAttribute("class","bus-card-red");
tr.innerHTML = ` tr.innerHTML = `
<td onclick="window.location.href='/seta_modena/servizi/cercaorario/notizielinea.html?routenum=${item.officialService}'">${item.service}</td> <td class="cursor-pointer" onclick="window.location.href='/seta_modena/servizi/cercaorario/notizielinea.html?routenum=${item.officialService}'">${item.service}</td>
<td onclick="window.location.href='/seta_modena/servizi/cercaorario/notizielinea.html?routenum=${item.officialService}'">${item.destination}</td> <td class="cursor-pointer"onclick="window.location.href='/seta_modena/servizi/cercaorario/notizielinea.html?routenum=${item.officialService}'">${item.destination}</td>
`; `;
}else{ }else{
tr.innerHTML = ` tr.innerHTML = `