codekasten/fotokiste/fotokiste/templates/start.kid
lars 82fc5c90e9 fixed display of the stream
completed the basic workflow
2008-06-15 17:37:08 +00:00

47 lines
1.7 KiB
Genshi

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
py:extends="'master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>Willkommen in der Fotokiste!</title>
</head>
<body>
<table>
<tr>
<td>
<div id="live_pic"><img src="${video_url}"/></div>
</td>
<td valign="center">
<!-- TODO: einfach nur ein weiterfuehrendes Icon - kein Formular -->
<form action="${tg.url('/ausloeser')}">
<input type="submit" value="Bild senden" />
</form>
</td>
</tr>
</table>
<div id="gallery">
<!-- see http://www.kid-templating.org/trac/wiki/GenerateTableFromListRecipe -->
<?python i= iter(gallery); rows= map(None, i, i, i, i, i, i, i, i, i, i, i) ?>
<table>
<tr py:for="row in rows">
<td py:for="picture in row">
<img py:if="picture" py:strip="False"
title="${picture.title}" width="50" height="64"
src="${tg.url('/static/images/platzhalter.jpg')}"
TODO="${picture.url}" />
</td>
</tr>
</table>
</div>
<div>
<div class="notice">Falls du Fragen zur FotoKiste hast, dann schau mal auf die
<a href="http://glasmensch.org/fotokiste">Webseite</a> oder schreib eine Mail
an <a href="mailto:fotokiste@glasmensch.org">fotokiste@glasmensch.org</a>.
</div>
</div>
</body>
</html>