--- a/templates/interesting.html Tue May 01 13:24:33 2018 +0300 +++ b/templates/interesting.html Fri May 04 21:32:16 2018 +0300 @@ -1,4 +1,4 @@ -{% from "macros.html" import route_rep %} +{% from "macros.html" import route_rep, bus_stop_rep %} <html> <head> <link rel="icon" type="image/png" href="./static/favicon.png" /> @@ -11,15 +11,10 @@ { text-align: left; } - .sarake-linja, .stop-code + .sarake-linja { font-weight: bold; } - .stop-name - { - font-size: 75%; - /*font-style: italic;*/ - } </style> </head> <body> @@ -51,7 +46,7 @@ <td class='sarake-aika'> {{entry['departure'].strftime('%H:%M')}}</td> <td class='sarake-pysäkki'> - <a href="./stop/{{entry['stop'].code}}"><img src="./static/{{entry['stop'].typename}}.png" height="24" /> <span class='stop-code'>{{entry['stop'].code}} </span><br /><span class='stop-name'>{{entry['stop'].name}}</span></a> + {{bus_stop_rep(entry['stop'])}} </td> <td class='sarake-linja linja'> <a href="./trip/{{entry['trip']}}">{{entry['route']}}</a>