templates/results.html
changeset 3 6d109e3804ac
child 7 47446e75ceea
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/results.html	Tue Oct 25 23:55:33 2011 +0200
@@ -0,0 +1,24 @@
+<html>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<body>
+
+{% for entry in entries %}
+
+    {% if loop.first %}
+    <table>
+	<tr><th>Name<th>Telefon<th>Mail</tr>
+    {% endif %}
+
+    <tr><td>{{entry.name}}
+	<td>{{entry.tel}}
+	<td>{{entry.mail}}
+
+    {% if loop.last %}
+    </table>
+    <font color=red>{{ left ? left ~ ' weitere Einträge' : '' }}</font>
+    {% endif %}
+{% else %}
+Sorry, keine Einträge gefunden.
+{% endfor %}
+</body>
+</html>