templates/trip.html

changeset 35
8ed8f8be7a07
parent 34
d1b88561afdf
child 36
728965530259
--- a/templates/trip.html	Wed Jun 28 15:53:05 2017 +0300
+++ b/templates/trip.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'>
 	<style>
@@ -67,8 +67,8 @@
 				{% for halt in entry['stops'] %}
 				<tr>
 					<td>{{halt['time']}}</td>
-					<td><a href="pysäkki/{{halt['id']}}"><img src='static/pysäkki.png' height='24' />&nbsp;{{halt['code']}}</a></td>
-					<td><a href="pysäkki/{{halt['id']}}">{{halt['name']}}</a></td>
+					<td><a href="../pysäkki/{{halt['id']}}"><img src='/static/pysäkki.png' height='24' />&nbsp;{{halt['code']}}</a></td>
+					<td><a href="../pysäkki/{{halt['id']}}">{{halt['name']}}</a></td>
 				</tr>
 				{% endfor %}
 				</table>

mercurial