templates/route.html

changeset 29
2c78e68d7363
child 32
ca1a0ea81cf6
equal deleted inserted replaced
28:670ffa424ded 29:2c78e68d7363
1 <html>
2 <head>
3 <link rel="icon" type="image/png" href="/static/favicon.png" />
4 <link rel="stylesheet" type="text/css" href="/static/style.css" />
5 <meta charset='UTF-8' />
6 <title>{{name}}</title>
7 </head>
8 <body>
9 <h1><span>{{name}}</span></h1>
10 <table class='aikataulu' cellspacing="0">
11 <tr>
12 <th class='sarake-aika'>{{tr('time', 'headings')}}</th>
13 <th class='sarake-lähtö'>{{tr('from', 'headings')}}</th>
14 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th>
15 <th class='sarake-status'>{{tr('status', 'headings')}}</th>
16 </tr>
17 {% for trip in schedule %}
18 <tr>
19 <td>{{trip['time']}}</td>
20 <td><a href="/ajovuoro/{{trip['name']}}">{{trip['from']}}</a></td>
21 <td><a href="/ajovuoro/{{trip['name']}}">{{trip['to']}}</a></td>
22 <td><a href="/ajovuoro/{{trip['name']}}">{{trip['status']}}</a></td>
23 </tr>
24 {% endfor %}
25 </table>
26 </body>
27 </html>

mercurial