mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 16:50:48 +00:00
Colonne migliori + targa
This commit is contained in:
@@ -67,10 +67,11 @@ function caricadati(){
|
|||||||
const thead = document.createElement('thead');
|
const thead = document.createElement('thead');
|
||||||
thead.innerHTML = `
|
thead.innerHTML = `
|
||||||
<tr>
|
<tr>
|
||||||
<th class="orario">Veicolo</th>
|
|
||||||
<th class="stato">Modello veicolo</th>
|
|
||||||
<th class="linea">Linea</th>
|
<th class="linea">Linea</th>
|
||||||
<th class="direzione">Direzione</th>
|
<th class="direzione">Direzione</th>
|
||||||
|
<th class="orario">Veicolo</th>
|
||||||
|
<th class="stato">Modello veicolo</th>
|
||||||
|
<th class="stato">Targa</th>
|
||||||
<th class="veicolo">Ora si trova a</th>
|
<th class="veicolo">Ora si trova a</th>
|
||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
@@ -87,10 +88,11 @@ function caricadati(){
|
|||||||
var posizione=element.next_stop;
|
var posizione=element.next_stop;
|
||||||
}
|
}
|
||||||
tr.innerHTML = `
|
tr.innerHTML = `
|
||||||
<td><a href="https://wimb.setaweb.it/qm/index.html?id=${element.vehicle_code}" class="bianco">${element.vehicle_code}</a></td>
|
|
||||||
<td>${element.model}</td>
|
|
||||||
<td>${element.linea}</td>
|
<td>${element.linea}</td>
|
||||||
<td>${element.route_desc}</td>
|
<td>${element.route_desc}</td>
|
||||||
|
<td><a href="https://wimb.setaweb.it/qm/index.html?id=${element.vehicle_code}" class="bianco">${element.vehicle_code}</a></td>
|
||||||
|
<td>${element.model}</td>
|
||||||
|
<td>${element.plate_num}</td>
|
||||||
<td>${posizione}</td>
|
<td>${posizione}</td>
|
||||||
`;
|
`;
|
||||||
tbody.appendChild(tr);
|
tbody.appendChild(tr);
|
||||||
|
Reference in New Issue
Block a user