--- a/templates/cluster.html Wed Jun 28 15:53:05 2017 +0300 +++ b/templates/cluster.html Wed Jun 28 15:55:39 2017 +0300 @@ -1,7 +1,7 @@ <html> <head> - <link rel="icon" type="image/png" href="static/favicon.png" /> - <link rel="stylesheet" type="text/css" href="static/style.css" /> + <link rel="icon" type="image/png" href="../static/favicon.png" /> + <link rel="stylesheet" type="text/css" href="../static/style.css" /> <meta charset='UTF-8' /> <meta http-equiv='refresh' content='60'> <title>{{name}}</title> @@ -36,14 +36,14 @@ </style> </head> <body> - <h1><img src="static/pysäkki.png" height="96" /> <span>{{name}}</span></h1> + <h1><img src="../static/pysäkki.png" height="96" /> <span>{{name}}</span></h1> <p id="pysäkki-info"> <a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌 ({{location}})</a> </p> <div class="stops-in-cluster"> <ul> {% for stop in stops_in_cluster %} - <li><a href="pysäkki/{{stop['id']}}"><img src="static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li> + <li><a href="../pysäkki/{{stop['id']}}"><img src="../static/pysäkki.png" height="24" /> {{stop['code']}} {{stop['name']}}</a></li> {% endfor %} </ul> </div> @@ -58,13 +58,13 @@ <tr class="{% if halt['night'] %} yö {% endif %}"> <td class='sarake-aika'>{{halt['time']}}</td> <td class='sarake-linja linja'> - <a href="ajovuoro/{{halt['trip']}}">{{halt['route']}}</a> + <a href="../ajovuoro/{{halt['trip']}}">{{halt['route']}}</a> </td> <td class='sarake-määränpää'> - <a href="ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a> + <a href="../ajovuoro/{{halt['trip']}}">{{halt['sign']}}</a> </td> <td class='sarake-pysäkki'> - <a href="pysäkki/{{halt['stop_id']}}"><img src="static/pysäkki.png" height="24" /> {{halt['stop_code']}}</a> + <a href="../pysäkki/{{halt['stop_id']}}"><img src="../static/pysäkki.png" height="24" /> {{halt['stop_code']}}</a> </td> </tr> {% endfor %}