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
Raw Normal View History

2015-07-28 18:04:11 +00:00
<!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>
2015-08-01 23:36:22 +00:00
<th>are you a robot!?</th>
2015-07-28 18:04:11 +00:00
</tr>
<tr>
<td>
2015-08-01 23:36:22 +00:00
<input type="text" name="name" maxlength="140" />
2015-07-28 18:04:11 +00:00
</td>
<td>
2015-08-01 23:36:22 +00:00
<textarea maxlength="400" style="border:0px"name="message" cols="100" rows="10"></textarea>
2015-07-28 18:04:11 +00:00
</td>
2015-08-01 23:36:22 +00:00
<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>
2015-07-28 18:04:11 +00:00
</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>