codekasten/umfrage_kirchenplatz2012/templates/layout.html

90 lines
2.7 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/" py:strip="">
<py:match path="head" once="true">
<head py:attrs="select('@*')">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title py:with="title = list(select('title/text()'))">
Umfrage<py:if test="title">: ${title}</py:if>
</title>
<link rel="stylesheet" href="${base_url}media/style.css" type="text/css" />
${select('*[local-name()!="title"]')}
</head>
</py:match>
<tr py:match="trRenderOptionTitle" class="option_title">
<th py:for="column, option in enumerate(options)" class="column${column}">${option.title}</th>
</tr>
<tr py:match="trRenderOptionImage" class="option_image">
<td py:for="column, option in enumerate(options)" class="column${column}"><img src="${option.image}" width="${1024/len(options)}" /></td>
</tr>
<tr py:match="trRenderOptionText" class="option_text">
<td py:for="column, option in enumerate(options)" class="column${column}"><ul><li py:for="line in option.text.splitlines()">${line}</li></ul></td>
</tr>
<py:match path="body" once="true">
<body py:attrs="select('@*')">
<div id="fullpage">
<div py:if="errors" class="error">
<ul><li py:for="error in errors">${error}</li></ul>
</div>
<div id="content">
${select('*|text()')}
</div>
<div id="footer">
<div class="credits">
<h2>Quellen</h2>
<dl class="credits">
<dt>Beschreibung und Illustration der Planungsvarianten</dt>
<dd><a href="http://rathaus.rostock.de" title="Rostock">Stadt Rostock</a></dd>
<dt>Kartendaten</dt>
<dd><a href="http://openstreetmap.org/?mlat=54.17685&amp;mlon=12.0851&amp;zoom=17"
title="OpenStreetMap">OpenStreetMap</a></dd>
<dt>Markierungssymbol auf der Karte</dt>
<dd><a href="http://openclipart.org/detail/169047/red-map-marker-by-mightyman" title="OpenClipArt">mightyman</a></dd>
<dt>Code (GPL-lizensiert)</dt>
<dd><a href="https://systemausfall.org/svn/codekasten/umfrage_kirchenplatz2012"
title="Quellcode">Quellcode via Subversion</a></dd>
</dl>
</div>
<div class="privacy">
<h2>Datenschutzerkl&auml;rung</h2>
<ul>
<li>Ihre Kommentare und Bewertungen werden gespeichert.</li>
<li>Emailadressen werden nicht gespeichert.</li>
<li>Es besteht keine Verbindung zwischen Ihrer Identit&auml;t und Ihren Eingaben.</li>
</ul>
</div>
<div class="imprint">
<h2>Impressum</h2>
<p class="imprint">
Sense.Lab&nbsp;e.V.<br/>
Ludwigstrasse&nbsp;20<br/>
18055&nbsp;Rostock<br/>
<br/>
info&nbsp;[at]&nbsp;senselab.org<br/>
<a href="http://senselab.org">http://senselab.org</a><br/>
</p>
</div>
</div><!-- footer -->
</div><!-- fullpage -->
</body>
</py:match>
</html>