templates/pysäkki.html

changeset 22
3d094a804af8
parent 21
6a0394d5a159
child 24
e6bdb9c54096
--- a/templates/pysäkki.html	Tue Jun 13 00:47:24 2017 +0300
+++ b/templates/pysäkki.html	Tue Jun 20 09:37:43 2017 +0300
@@ -10,6 +10,15 @@
 		text-align: left;
 	}
 	</style>
+	{% if tausta %}
+	<style>
+	/*body
+	{
+		background: url('/{{tausta}}') no-repeat center center fixed;
+		background-size: cover;
+	}*/
+	</style>
+	{% endif %}
 </head>
 <body>
 	<h1><img src="/static/iso-pysäkki.png" height="96" /> <span>{{nimi}}</span></h1>
@@ -23,7 +32,7 @@
 	<a href="/pysäkkiryhmä/{{cluster}}">{{tr('nearby-area-schedule', 'misc-text')}}</a>
 	</p>
 	{% endif %}
-	<table id='aikataulu' cellspacing="0">
+	<table class='aikataulu' cellspacing="0">
 		<tr>
 			<th class='sarake-aika'>{{tr('time', 'headings')}}</th>
 			<th class='sarake-linja'>{{tr('route', 'headings')}}</th>

mercurial