templates/stop.html

Sat, 23 Sep 2017 01:23:55 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 23 Sep 2017 01:23:55 +0300
changeset 67
336c750b7b5d
parent 55
0f1d046b3f78
child 77
83cd29dee853
permissions
-rw-r--r--

Uusi yöväri

<html>
<head>
	<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'>
	<style>
	.sarake-määränpää
	{
		text-align: left;
	}
	</style>
</head>
<body>
	<table class='aikataulu' cellspacing="0">
	<thead>
		<tr>
			<th colspan='4' class='primary-heading'>
			<span><img src="../static/pysäkki.png" height="96" /> {{name}}</span>
			</th>
		</tr>
		<tr class='headings'>
			<th class='sarake-aika'>{{tr('time', 'headings')}}</th>
			<th class='sarake-linja'>{{tr('route', 'headings')}}</th>
			<th class='sarake-määränpää'>{{tr('destination', 'headings')}}</th>
			<th>
				<span class='actions'>
				<a class="pysäkki-sijainti" href="{{link_to_map}}" target="_blank">📌</a>
				{% if cluster %}
				<a href="../stop_cluster/{{cluster}}">🞊</a>
				{% endif %}
			</th>
		</tr>
	</thead>
	<tbody>
		{% for halt in schedule %}
		<tr class="{% if halt['night'] %}{% endif %}">
			<td class='sarake-aika'>
				{% if halt['imminent'] %}
				<span class='imminent-leave'></span>
				{% endif %}
				{{halt['time']}}</td>
			<td class='sarake-linja linja'>
				<a href="../trip/{{halt['trip']}}">{{halt['route']}}</a>
			</td>
			<td class='sarake-määränpää' colspan='2'>
				<a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a>
			</td>
		</tr>
		{% endfor %}
	</tbody>
	</table>
</body>
</html>

mercurial