templates/route.html

changeset 35
8ed8f8be7a07
parent 34
d1b88561afdf
child 48
428cfdf64ccc
--- a/templates/route.html	Wed Jun 28 15:53:05 2017 +0300
+++ b/templates/route.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' />
 	<title>{{name}}</title>
 	<meta http-equiv='refresh' content='60'>
@@ -18,9 +18,9 @@
 		{% for trip in schedule %}
 		<tr>
 			<td>{{trip['time']}}</td>
-			<td><a href="ajovuoro/{{trip['name']}}">{{trip['from']}}</a></td>
-			<td><a href="ajovuoro/{{trip['name']}}">{{trip['to']}}</a></td>
-			<td><a href="ajovuoro/{{trip['name']}}">{{trip['status']}}</a></td>
+			<td><a href="../ajovuoro/{{trip['name']}}">{{trip['from']}}</a></td>
+			<td><a href="../ajovuoro/{{trip['name']}}">{{trip['to']}}</a></td>
+			<td><a href="../ajovuoro/{{trip['name']}}">{{trip['status']}}</a></td>
 		</tr>
 		{% endfor %}
 	</table>

mercurial