3:ca2df60215ff | 4:312c432bb9e6 |
---|---|
3 <meta charset='UTF-8' /> | 3 <meta charset='UTF-8' /> |
4 | 4 |
5 <style> | 5 <style> |
6 body | 6 body |
7 { | 7 { |
8 font-family: "Latin Modern Sans", Tahoma, FreeSans, Arial, sans-serif; | 8 font-family: "Oxygen-Sans", "Latin Modern Sans", Tahoma, FreeSans, Arial, sans-serif; |
9 background: white; | 9 background: white; |
10 color: black; | 10 color: black; |
11 margin: 0; | 11 margin: 0; |
12 padding: 0; | 12 padding: 0; |
13 font-size: 24pt; | 13 font-size: 24pt; |
51 | 51 |
52 h1 | 52 h1 |
53 { | 53 { |
54 font-variant: small-caps; | 54 font-variant: small-caps; |
55 } | 55 } |
56 | |
57 .yölinja | |
58 { | |
59 background-color: #AAF; | |
60 color: #00A; | |
61 padding-left: 6px; | |
62 padding-right: 6px; | |
63 border: 1px solid #00A; | |
64 } | |
56 </style> | 65 </style> |
57 <title>{{viite}} {{nimi}}</title> | 66 <title>{{viite}} {{nimi}}</title> |
58 </head> | 67 </head> |
59 <body> | 68 <body> |
60 <h1>{{viite}} {{nimi}}</h1> | 69 <h1>{{viite}} {{nimi}}</h1> |
66 </tr> | 75 </tr> |
67 {% for rivi in aikataulu %} | 76 {% for rivi in aikataulu %} |
68 <tr> | 77 <tr> |
69 <td class='sarake-aika'>{{rivi['aika']}}</td> | 78 <td class='sarake-aika'>{{rivi['aika']}}</td> |
70 <td class='sarake-linja linja'> | 79 <td class='sarake-linja linja'> |
80 {% if rivi['yö'] %} | |
81 <span class="yölinja"> | |
82 {% endif %} | |
71 <a href="/ajovuoro/{{rivi['ajovuoro']}}">{{rivi['linja']}}</a> | 83 <a href="/ajovuoro/{{rivi['ajovuoro']}}">{{rivi['linja']}}</a> |
84 {% if rivi['yö'] %} | |
85 </span> | |
86 {% endif %} | |
72 </td> | 87 </td> |
73 <td class='sarake-määränpää'> | 88 <td class='sarake-määränpää'> |
74 <a href="/ajovuoro/{{rivi['ajovuoro']}}">{{rivi['kyltti']}}</a> | 89 <a href="/ajovuoro/{{rivi['ajovuoro']}}">{{rivi['kyltti']}}</a> |
75 </td> | 90 </td> |
76 </tr> | 91 </tr> |