aboutsummaryrefslogtreecommitdiff
blob: a2c857275e0bbe77062db64e5d0a80a5daaf590c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends 'base.html.twig' %}

{% block body %}
<table class="table">
    <thead class="thead">
    <tr class="tr">
        <th>Track</th>
        <th>Train type</th>
        <th>Train number</th>
        <th>Destination name</th>
        <th>Arrival</th>
        <th>Departure</th>
        <th>Delay</th>
    </tr>
    </thead>
    <tbody class="tbody">
    <tr class="tr">
        {% for table in data %}
        <td class="td">{{ table.Track }}</td>
        <td class="td">{{ table.TrainType }}</td>
        <td class="td">{{ table.TrainNumber }}</td>
        <td class="td">{{ table.DestinationName }}</td>
        <td class="td">{{ table.ScheduledArrival }}</td>
        <td class="td">{{ table.ScheduledDeparture }}</td>
        <td class="td">{{ table.DepartureDelay }}</td>
    </tr>
    </tbody>
    {% endfor %}
</table>
{% endblock %}
{% block javascripts %}
{% endblock %}