-
Notifications
You must be signed in to change notification settings - Fork 0
/
minglepage.html
43 lines (36 loc) · 1022 Bytes
/
minglepage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE HTML>
{% autoescape true %}
<html>
<head>
<!-- <link type="text/css" rel="stylesheet" href="stylesheets/newestcss.css" /> -->
<style>
body {
font-family: Verdana, Helvetica, sans-serif;
background-color: #DDDDDD;
}
</style>
</head>
<body>
{% for message in messages %}
{% if message.author %}
<b>{{ message.author.nickname() }}</b> wrote:
{% else %}
An anonymous person wrote:
{% endif %}
<blockquote>{{ message.content }}</blockquote>
{% endfor %}
<!--<form action="/write?group_name={{ group_name }}" method="post">-->
<form action="/write" method="post">
<div><textarea name="content" rows="3" cols="60"></textarea></div>
<div><input type="submit" value="Post"></div>
</form>
<hr>
<!--
<form>Group name:
<input value="{{ group_name }}" name="group_name">
<input type="submit" value="switch">
</form>-->
<a href="{{ url|safe }}">{{ url_linktext }}</a>
</body>
</html>
{% endautoescape %}