templates/route.html

changeset 34
d1b88561afdf
parent 32
ca1a0ea81cf6
child 35
8ed8f8be7a07
--- a/templates/route.html	Wed Jun 28 13:13:14 2017 +0300
+++ b/templates/route.html	Wed Jun 28 15:53:05 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