codekasten/fotokiosk/fotokiste/templates/master.kid
2008-08-23 12:31:08 +00:00

65 lines
2.3 KiB
Genshi

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python import sitetemplate ?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
py:extends="sitetemplate">
<head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title py:replace="''">panoptische Fotokiste</title>
<meta py:replace="item[:]" name="description" content="master template"/>
<style type="text/css" media="screen">
#pageLogin
{
font-size: 10px;
font-family: verdana;
text-align: right;
}
</style>
<link rel="stylesheet" type="text/css" media="screen" href="../static/css/1024optimized.css"
py:attrs="href=tg.url('/static/css/1024optimized.css')"/>
<title>Bild versenden</title>
</head>
<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
<div py:if="tg.config('identity.on') and not defined('logging_in')" id="pageLogin">
<span py:if="tg.identity.anonymous">
<a href="${tg.url('/login')}">Login</a>
</span>
<span py:if="not tg.identity.anonymous">
Welcome ${tg.identity.user.display_name or tg.identity.user.user_name}.
<a href="${tg.url('/logout')}">Logout</a>
</span>
</div>
<div id="header">
<img src="../static/images/header.png')"
py:attrs="src=tg.url('/static/images/header.png')"
alt="panoptische Fotokiste" />
</div>
<div id="main_content">
<!--
<div id="nav">
<ul>
<li><a href="#">Privacy Shades</a></li>
<li><a href="/">Start</a></li>
</ul>
</div>
-->
<div id="status_block" class="flash"
py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
<div py:replace="[item.text]+item[:]">
<h1>&Uuml;berschrift</h1>
<p>page content</p>
<h2>kleinere &Uuml;berschrift</h2>
<p> foo </p>
<h1>&Uuml;berschrift</h1>
<p>page content</p>
</div>
</div>
</body>
</html>