This repository has been archived on 2019-12-12. You can view files and clone it, but cannot push or open issues/pull-requests.
tildetown-scripts/tildetown-py/templates/guestbook.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>