templates/stop.html

changeset 35
8ed8f8be7a07
parent 34
d1b88561afdf
child 38
d0ae1996abdd
--- a/templates/stop.html	Wed Jun 28 15:53:05 2017 +0300
+++ b/templates/stop.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'>
@@ -22,7 +22,7 @@
 	{% endif %}
 </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">
 	{{region or ""}}

@@ -30,7 +30,7 @@
 	</p>
 	{% if cluster %}
 	<p>
-	<a href="pysäkkiryhmä/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a>
+	<a href="../pysäkkiryhmä/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a>
 	</p>
 	{% endif %}
 	<table class='aikataulu' cellspacing="0">
@@ -43,10 +43,10 @@
 		<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>
 		</tr>
 		{% endfor %}

mercurial