Add table headers

This commit is contained in:
Fred Boniface 2023-06-08 10:55:31 +01:00
parent a937ae7229
commit e7fcb69e4c

View File

@ -43,6 +43,11 @@ async function displayOne(object) {
<p id='data_headcode'>${object['headcode']}</p> <p id='data_headcode'>${object['headcode']}</p>
<p id='data_piscode'>PIS Code: ${object['pis']}</p> <p id='data_piscode'>PIS Code: ${object['pis']}</p>
<table id='data_table'> <table id='data_table'>
<tr>
<th>Location<th>
<th>Arr.</th>
<th>Dep.</th>
</tr>
` `
const dataTableClose = ` const dataTableClose = `
</table>` </table>`