{% extends "template.html" %} {% block title %}Railway{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %}

Trains Between Stations

{{ source }} - {{ destination }} on {{ journey_date }}

{% for train in trains_list %}
{{ train['number'] }}

{{ train['name'] }}

Source
Destination
{{ train['from_station']['name'] }}({{ train['from_station']['code'] }})
{{ train['to_station']['name'] }}({{ train['to_station']['code'] }})
{{ train['src_departure_time'] }}
{{ train['dest_arrival_time'] }}
Travel Time
 
{{ train['travel_time'] }}
Runs On
Mon
Tue
Wed
Thu
Fri
Sat
Sun
{{ '✓' if train['days'][0]['runs']=='Y' else '✕' }}
{{ '✓' if train['days'][1]['runs']=='Y' else '✕' }}
{{ '✓' if train['days'][2]['runs']=='Y' else '✕' }}
{{ '✓' if train['days'][3]['runs']=='Y' else '✕' }}
{{ '✓' if train['days'][4]['runs']=='Y' else '✕' }}
{{ '✓' if train['days'][5]['runs']=='Y' else '✕' }}
{{ '✓' if train['days'][6]['runs']=='Y' else '✕' }}
Class Available
 
{% for class in train['classes'] %} {% if class['available']=='Y' %}
{{ class['code'] }}
{% endif %} {% endfor %}
{% endfor %}
{% endblock %}