templates/ajovuoro-suppea.html

Sat, 10 Jun 2017 17:40:36 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 10 Jun 2017 17:40:36 +0300
changeset 12
a47c9bde457d
parent 11
e18ad36fbbf5
child 21
6a0394d5a159
permissions
-rw-r--r--

Abstraktoi kyltti (jolloin kauppatorin jälkeiset alueet esitetään vähemmän tarkasti)

<html>
<head>
	<link rel="icon" type="image/png" href="/static/favicon.png" />
	<meta charset='UTF-8' />

	<style>
	body
	{
		font-family: FreeSans, Arial, sans-serif;
		background: white;
		color: black;
		margin: 0;
		padding: 0;
		font-size: 24pt;
	}
	h1
	{
		padding-top: 10pt;
		padding-bottom: 10pt;
		text-align: center;
		background: #dc9e00;
		background: linear-gradient(to bottom, #dc9e00 0%,#eaaf19 49%,#dc9e00 92%,#906700 100%);
		color: white;
	}
	a
	{
		color: inherit;
		text-decoration: none;
	}
	a:hover
	{
		text-decoration: underline;
	}
	#aikataulu
	{
		width:100%;
		margin: auto;
	}
	#aikataulu td
	{
		text-align: center;
	}
	td, th, body
	{
		font-size: 24pt;
	}
	
	.sarake-aika
	{
		width: 15%;
	}
	
	h1
	{
		font-variant: small-caps;
	}
	</style>
	<title>{{linja}} {{selite}}</title>
</head>
<body>
	<h1>{{linja}} {{selite}}</h1>
	<table id='aikataulu'>
		<tr>
			<th class='sarake-aika'>Aika</th>
			<th class='sarake-alue'>Alue</th>
		</tr>
		{% for rivi in suppea_reitti %}
		<tr>
			<td class='sarake-aika'>{{rivi['aika']}}</td>
			<td class='sarake-alue'>{{rivi['alue']}}</td>
		</tr>
		{% endfor %}
	</table>
</body>
</html>

mercurial