41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{site_name}} guestbook</title>
|
|
</head>
|
|
<body>
|
|
<h1>{{site_name}} guestbook</h1>
|
|
<marquee behavior="alternate"><em style="font-size:150%">~*~*~*~*~*~*~*~*~*~*~*say hello*~*~*~*~*~*~*~*~*~*~*~</em></marquee>
|
|
<form action="/guestbook" method="post">
|
|
<table border="1px">
|
|
<tr>
|
|
<th>name!</th>
|
|
<th>message!</th>
|
|
<th>are you a robot!?</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<input type="text" name="name" maxlength="140" />
|
|
</td>
|
|
<td>
|
|
<textarea maxlength="400" style="border:0px"name="message" cols="100" rows="10"></textarea>
|
|
</td>
|
|
<td>
|
|
<radiogroup>
|
|
<radio name="hmm"label="yeah" accesskey="Y" selected="true" value="yeah"/>
|
|
<radio name="hmm" label="nope" accesskey="N" value="nope" />
|
|
</radiogroup>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input style="font-size:200%" type="submit" value="sign"/>
|
|
</form>
|
|
|
|
{% for post in posts %}
|
|
<p>
|
|
{{post.name}} says: {{post.message}}
|
|
</p>
|
|
{% endfor %}
|
|
</body>
|
|
</html>
|