slight changes on poll creation form; started brainstorming content
This commit is contained in:
parent
9ff7845e18
commit
6d8c51e898
6 changed files with 74 additions and 36 deletions
|
@ -6,18 +6,24 @@
|
|||
<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 = "Brainstorming Online"
|
||||
content01 = """
|
||||
dieser mehrzeilige Text ist HTML-escaped und kann Umlaute enthalten.
|
||||
Falls er <Umlaute> **enthält**, dann muss die Datei utf8-codiert sein und der Text
|
||||
muss in unicode verwandelt werden (unicode(foo)).
|
||||
"""
|
||||
# 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)
|
||||
from creoleparser import text2html
|
||||
#text can be creole-encoded, see http://www.wikicreole.org/imageServlet?page=CheatSheet%2Fcreole_cheat_sheet.png&width=340
|
||||
title = "Brainstorming Online"
|
||||
content01 = """
|
||||
== Was ist Brainstorming? ==
|
||||
Brainstorming ist ...
|
||||
|
||||
== Mit dem Wortschlucker online brainstormen ==
|
||||
Mit dem Wortschlucker kann man jetzt auch einfach online brainstormen. Das hat mehrere Vorteile:
|
||||
* Die Beteiligten können an verschiedenen Orten sein
|
||||
* Die Teilnahme muss nicht gleichzeitig stattfinden
|
||||
* Die Resultate sind sofort digital vefügbar, müssen also nicht mehr abgeschrieben werden.
|
||||
|
||||
== 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)
|
||||
?>
|
||||
|
||||
|
||||
|
@ -29,9 +35,9 @@
|
|||
<div class="post">
|
||||
|
||||
${Markup(content01)}
|
||||
</div>
|
||||
|
||||
${poll_new_small()}
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue