Integrazione WIMB seta cerca orario

This commit is contained in:
Leocraft1 2025-08-14 17:51:52 +02:00
parent 6cac7f64d8
commit fa5cec58fb
3 changed files with 15 additions and 3 deletions

View File

@ -108,11 +108,22 @@ nav ul li a:hover {
a { a {
color: orange; color: orange;
} }
a.bianco{ a.bianco{
color: white; color: white;
text-decoration: none; text-decoration: none;
} }
a.biancosott{
color: white;
}
a.link-cell {
display: block;
width: 100%;
height: 100%;
color: white;
}
#bacino, #bacino,
#searchBar { #searchBar {
padding: 10px; padding: 10px;

View File

@ -23,6 +23,7 @@
</header> </header>
<h2>Informazioni fermata "<span id="fermata-span"></span>"</h2> <h2>Informazioni fermata "<span id="fermata-span"></span>"</h2>
<nav id="corsie-nav"></nav> <nav id="corsie-nav"></nav>
<p>E' possibile cliccare sul numero del mezzo per vedere la sua posizione sulla mappa.</p>
<div id="tabella-container">Caricamento dati...</div> <div id="tabella-container">Caricamento dati...</div>
<p>Il ritardo viene espresso rispetto all'orario previsto. Quello indicato, se disponibile, è l'orario di arrivo in tempo reale.</p> <p>Il ritardo viene espresso rispetto all'orario previsto. Quello indicato, se disponibile, è l'orario di arrivo in tempo reale.</p>
<footer> <footer>

View File

@ -88,7 +88,7 @@ function caricadati(){
<td>${item.destination}</td> <td>${item.destination}</td>
<td>${item.arrival}</td> <td>${item.arrival}</td>
<td>${stato}</td> <td>${stato}</td>
<td>${item.busnum}</td> <td><a href="https://wimb.setaweb.it/qm/index.html?id=${item.busnum}" class="bianco">${item.busnum}</a></td>
<td>${posizione}</td> <td>${posizione}</td>
`; `;
tbody.appendChild(tr); tbody.appendChild(tr);
@ -99,7 +99,7 @@ function caricadati(){
<td>${item.destination}</td> <td>${item.destination}</td>
<td>${item.arrival} (+${item.delay})</td> <td>${item.arrival} (+${item.delay})</td>
<td>${stato}</td> <td>${stato}</td>
<td>${item.busnum}</td> <td><a href="https://wimb.setaweb.it/qm/index.html?id=${item.busnum}" class="bianco">${item.busnum}</a></td>
<td>${posizione}</td> <td>${posizione}</td>
`; `;
tbody.appendChild(tr); tbody.appendChild(tr);
@ -109,7 +109,7 @@ function caricadati(){
<td>${item.destination}</td> <td>${item.destination}</td>
<td>${item.arrival} (${item.delay})</td> <td>${item.arrival} (${item.delay})</td>
<td>${stato}</td> <td>${stato}</td>
<td>${item.busnum}</td> <td><a href="https://wimb.setaweb.it/qm/index.html?id=${item.busnum}" class="bianco">${item.busnum}</a></td>
<td>${posizione}</td> <td>${posizione}</td>
`; `;
tbody.appendChild(tr); tbody.appendChild(tr);