templates/route.html

changeset 34
d1b88561afdf
parent 32
ca1a0ea81cf6
child 35
8ed8f8be7a07
equal deleted inserted replaced
33:f448f291c1dd 34:d1b88561afdf
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="icon" type="image/png" href="/static/favicon.png" /> 3 <link rel="icon" type="image/png" href="static/favicon.png" />
4 <link rel="stylesheet" type="text/css" href="/static/style.css" /> 4 <link rel="stylesheet" type="text/css" href="static/style.css" />
5 <meta charset='UTF-8' /> 5 <meta charset='UTF-8' />
6 <title>{{name}}</title> 6 <title>{{name}}</title>
7 <meta http-equiv='refresh' content='60'> 7 <meta http-equiv='refresh' content='60'>
8 </head> 8 </head>
9 <body> 9 <body>
16 <th class='sarake-status'>{{tr('status', 'headings')}}</th> 16 <th class='sarake-status'>{{tr('status', 'headings')}}</th>
17 </tr> 17 </tr>
18 {% for trip in schedule %} 18 {% for trip in schedule %}
19 <tr> 19 <tr>
20 <td>{{trip['time']}}</td> 20 <td>{{trip['time']}}</td>
21 <td><a href="/ajovuoro/{{trip['name']}}">{{trip['from']}}</a></td> 21 <td><a href="ajovuoro/{{trip['name']}}">{{trip['from']}}</a></td>
22 <td><a href="/ajovuoro/{{trip['name']}}">{{trip['to']}}</a></td> 22 <td><a href="ajovuoro/{{trip['name']}}">{{trip['to']}}</a></td>
23 <td><a href="/ajovuoro/{{trip['name']}}">{{trip['status']}}</a></td> 23 <td><a href="ajovuoro/{{trip['name']}}">{{trip['status']}}</a></td>
24 </tr> 24 </tr>
25 {% endfor %} 25 {% endfor %}
26 </table> 26 </table>
27 </body> 27 </body>
28 </html> 28 </html>

mercurial