aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Resources/views/default/TrainSchedule.html.twig24
-rw-r--r--src/AppBundle/Controller/TrainScheduleController.php85
2 files changed, 88 insertions, 21 deletions
diff --git a/app/Resources/views/default/TrainSchedule.html.twig b/app/Resources/views/default/TrainSchedule.html.twig
index a2c8572..efc94ec 100644
--- a/app/Resources/views/default/TrainSchedule.html.twig
+++ b/app/Resources/views/default/TrainSchedule.html.twig
@@ -4,25 +4,21 @@
<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>
+ <th>Name</th>
+ <th>Time</th>
+ <th>Date</th>
+ <th>Destination</th>
+ <th>AQI</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">