diff options
Diffstat (limited to 'pollutometer-php/app/Resources/views/default/TrainSchedule.html.twig')
-rw-r--r-- | pollutometer-php/app/Resources/views/default/TrainSchedule.html.twig | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pollutometer-php/app/Resources/views/default/TrainSchedule.html.twig b/pollutometer-php/app/Resources/views/default/TrainSchedule.html.twig new file mode 100644 index 0000000..efc94ec --- /dev/null +++ b/pollutometer-php/app/Resources/views/default/TrainSchedule.html.twig @@ -0,0 +1,28 @@ +{% extends 'base.html.twig' %} + +{% block body %} +<table class="table"> + <thead class="thead"> + <tr class="tr"> + <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.name }}</td> + <td class="td">{{ table.time }}</td> + <td class="td">{{ table.date }}</td> + <td class="td">{{ table.finalStop }}</td> + <td class="td">{{ table.direction }}</td> + </tr> + </tbody> + {% endfor %} +</table> +{% endblock %} +{% block javascripts %} +{% endblock %}
\ No newline at end of file |