first draft of the poll website
This commit is contained in:
parent
87f7977806
commit
f2ef35b429
8 changed files with 259 additions and 0 deletions
31
wortschlucker/templates/layout.html
Normal file
31
wortschlucker/templates/layout.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!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('@*')">
|
||||
<title py:with="title = list(select('title/text()'))">
|
||||
WortSchlucker<py:if test="title">: ${title}</py:if>
|
||||
</title>
|
||||
<link rel="stylesheet" href="${base_url}media/layout.css" type="text/css" />
|
||||
<script type="text/javascript" src="${base_url}media/jquery.js"></script>
|
||||
${select('*[local-name()!="title"]')}
|
||||
</head>
|
||||
</py:match>
|
||||
|
||||
<py:match path="body" once="true">
|
||||
<body py:attrs="select('@*')">
|
||||
<div id="header">
|
||||
<a href="${base_url}"><img src="${base_url}media/logo.gif" width="201" height="79" alt="WortSchlucker logo" /></a>
|
||||
</div>
|
||||
<div id="content">
|
||||
${select('*|text()')}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p class="copyright">provided by <a href="http://senselab.org" title="Website of sense.lab e.V.">sense.lab e.V.</a></p>
|
||||
</div>
|
||||
</body>
|
||||
</py:match>
|
||||
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue