templates/cluster.html

changeset 22
3d094a804af8
parent 21
6a0394d5a159
child 24
e6bdb9c54096
equal deleted inserted replaced
21:6a0394d5a159 22:3d094a804af8
10 margin-left: auto; 10 margin-left: auto;
11 margin-right: auto; 11 margin-right: auto;
12 } 12 }
13 div.stops-in-cluster ul 13 div.stops-in-cluster ul
14 { 14 {
15 columns: 3; 15 columns: 2;
16 } 16 }
17 div.stops-in-cluster li
18 {
19 text-align: center;
20 }/*
21 body
22 {
23 background: url('/static/tausta-pysäkki.png') no-repeat center center fixed;
24 background-size: cover;
25 }*/
17 </style> 26 </style>
18 </head> 27 </head>
19 <body> 28 <body>
20 <h1><img src="/static/iso-pysäkki.png" height="96" /> <span>{{nimi}}</span></h1> 29 <h1><img src="/static/iso-pysäkki.png" height="96" /> <span>{{nimi}}</span></h1>
21 <p id="pysäkki-info"> 30 <p id="pysäkki-info">
27 {% for stop in stops_in_cluster %} 36 {% for stop in stops_in_cluster %}
28 <li><a href="/pysäkki/{{stop['id']}}"><img src="/static/pysäkki.png" height="24" /> {{stop['id']}} {{stop['name']}}</a></li> 37 <li><a href="/pysäkki/{{stop['id']}}"><img src="/static/pysäkki.png" height="24" /> {{stop['id']}} {{stop['name']}}</a></li>
29 {% endfor %} 38 {% endfor %}
30 </ul> 39 </ul>
31 </div> 40 </div>
32 <table id='aikataulu' cellspacing="0"> 41 <table class='aikataulu' cellspacing="0">
33 <tr> 42 <tr>
34 <th class='sarake-aika'>{{tr('time', 'headings')}}</th> 43 <th class='sarake-aika'>{{tr('time', 'headings')}}</th>
35 <th class='sarake-linja'>{{tr('route', 'headings')}}</th> 44 <th class='sarake-linja'>{{tr('route', 'headings')}}</th>
36 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th> 45 <th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th>
37 <th class='sarake-pysäkki'>{{tr('bus-stop', 'headings')}}</th> 46 <th class='sarake-pysäkki'>{{tr('bus-stop', 'headings')}}</th>

mercurial