Sat, 10 Jun 2017 16:45:41 +0300
Käännetty tiedostojen nimet englanniksi
2 | 1 | <html> |
2 | <head> | |
3 | <meta charset='UTF-8' /> | |
4 | ||
5 | <style> | |
6 | body | |
7 | { | |
4 | 8 | font-family: FreeSans, Arial, sans-serif; |
2 | 9 | background: white; |
10 | color: black; | |
11 | margin: 0; | |
12 | padding: 0; | |
13 | font-size: 24pt; | |
14 | } | |
15 | h1 | |
16 | { | |
17 | padding-top: 10pt; | |
18 | padding-bottom: 10pt; | |
19 | text-align: center; | |
20 | background: #dc9e00; | |
21 | background: linear-gradient(to bottom, #dc9e00 0%,#eaaf19 49%,#dc9e00 92%,#906700 100%); | |
22 | color: white; | |
23 | } | |
24 | a | |
25 | { | |
26 | color: inherit; | |
27 | text-decoration: none; | |
28 | } | |
29 | a:hover | |
30 | { | |
31 | text-decoration: underline; | |
32 | } | |
33 | #aikataulu | |
34 | { | |
35 | width:100%; | |
36 | margin: auto; | |
37 | } | |
38 | #aikataulu td | |
39 | { | |
40 | text-align: center; | |
41 | } | |
42 | td, th, body | |
43 | { | |
44 | font-size: 24pt; | |
45 | } | |
46 | ||
47 | .sarake-aika | |
48 | { | |
49 | width: 15%; | |
50 | } | |
51 | ||
52 | h1 | |
53 | { | |
54 | font-variant: small-caps; | |
55 | } | |
56 | </style> | |
4 | 57 | <title>{{linja}} {{selite}}</title> |
2 | 58 | </head> |
59 | <body> | |
4 | 60 | <h1>{{linja}} {{selite}}</h1> |
2 | 61 | <table id='aikataulu'> |
62 | <tr> | |
63 | <th class='sarake-aika'>Aika</th> | |
64 | <th class='sarake-alue'>Alue</th> | |
65 | </tr> | |
66 | {% for rivi in suppea_reitti %} | |
67 | <tr> | |
68 | <td class='sarake-aika'>{{rivi['aika']}}</td> | |
69 | <td class='sarake-alue'>{{rivi['alue']}}</td> | |
70 | </tr> | |
71 | {% endfor %} | |
72 | </table> | |
73 | </body> | |
4 | 74 | </html> |