templates/trip.html

changeset 93
53ee9e945673
parent 90
36efdea68d03
child 114
b736478416d4
equal deleted inserted replaced
92:16a5c37e4e67 93:53ee9e945673
54 } 54 }
55 </script> 55 </script>
56 <title>{{route}} {{description}}</title> 56 <title>{{route}} {{description}}</title>
57 </head> 57 </head>
58 <body> 58 <body>
59 <table class='aikataulu' cellspacing='0'> 59 <table class='aikataulu service-{{service}}' cellspacing='0'>
60 <thead> 60 <thead>
61 <tr> 61 <tr>
62 <th class='primary-heading' colspan='3'> 62 <th class='primary-heading' colspan='3'>
63 <span class='primary-heading-symbols'> 63 <span class='primary-heading-symbols'>
64 {% if night %} 64 {% if night %}
65 &#127769;&nbsp; 65 &#127769;&nbsp;
66 {% endif %} 66 {% endif %}
67 🚍 67 {% if service == 'ferry' %}
68
69 {% else %}
70 &#128653;
71 {% endif %}
68 </span> 72 </span>
69 <span>{{route}} {{description}}</span> 73 <span>{{route}} {{description}}</span>
70 </th> 74 </th>
71 </tr> 75 </tr>
72 <tr> 76 <tr>
83 <a class="region-name" href="javascript:toggle_fold('region-schedule-{{entry['index']}}')">{{entry['name']}}</a> 87 <a class="region-name" href="javascript:toggle_fold('region-schedule-{{entry['index']}}')">{{entry['name']}}</a>
84 <table class="nested-schedule" cellspacing="0"> 88 <table class="nested-schedule" cellspacing="0">
85 {% for halt in entry['stops'] %} 89 {% for halt in entry['stops'] %}
86 <tr> 90 <tr>
87 <td>{{halt['time']}}</td> 91 <td>{{halt['time']}}</td>
88 <td><a href="../stop/{{halt['id']}}"><img src='../static/{{typename}}.png' height='24' />&nbsp;{{halt['code']}}</a></td> 92 <td><a href="../stop/{{halt['id']}}"><img src="../static/{{halt['typename']}}.png" height='24' />&nbsp;{{halt['code']}}</a></td>
89 <td><a href="../stop/{{halt['id']}}">{{halt['name']}}</a></td> 93 <td><a href="../stop/{{halt['id']}}">{{halt['name']}}</a></td>
90 </tr> 94 </tr>
91 {% endfor %} 95 {% endfor %}
92 </table> 96 </table>
93 </td> 97 </td>

mercurial