many stubs: landing pages and use cases; legal stuff.
This commit is contained in:
parent
6d8c51e898
commit
46aebca302
13 changed files with 455 additions and 0 deletions
36
wortschlucker/templates/nodes/seminarauswertung.html
Normal file
36
wortschlucker/templates/nodes/seminarauswertung.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html encoding="utf-8"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:py="http://genshi.edgewall.org/">
|
||||
<xi:include href="../layout.html" />
|
||||
|
||||
<?python
|
||||
from creoleparser import text2html
|
||||
#text can be creole-encoded, see http://www.wikicreole.org/imageServlet?page=CheatSheet%2Fcreole_cheat_sheet.png&width=340
|
||||
title = "Seminarauswertung Online"
|
||||
content01 = """
|
||||
|
||||
|
||||
== Jetzt starten: ==
|
||||
"""
|
||||
# creoleparser returns an utf-8 encoded string by default, but this would cause "Markup" below to fail during decoding.
|
||||
# The parameter "None" for "encoding" forces unicode output. This works with "Markup".
|
||||
content01 = text2html(content01, encoding=None)
|
||||
?>
|
||||
|
||||
|
||||
<head>
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>${title}</h1>
|
||||
<div class="post">
|
||||
|
||||
${Markup(content01)}
|
||||
|
||||
${poll_new_small()}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue