mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 17:10:47 +00:00
Colonne migliori + targa
This commit is contained in:
@@ -67,10 +67,11 @@ function caricadati(){
|
||||
const thead = document.createElement('thead');
|
||||
thead.innerHTML = `
|
||||
<tr>
|
||||
<th class="orario">Veicolo</th>
|
||||
<th class="stato">Modello veicolo</th>
|
||||
<th class="linea">Linea</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>
|
||||
</tr>
|
||||
`;
|
||||
@@ -87,10 +88,11 @@ function caricadati(){
|
||||
var posizione=element.next_stop;
|
||||
}
|
||||
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.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>
|
||||
`;
|
||||
tbody.appendChild(tr);
|
||||
|
Reference in New Issue
Block a user