tildetown-admin/ttadmin/guestbook/templates/guestbook/guestbook.html

40 lines
1.1 KiB
HTML
Raw Normal View History

2016-12-20 06:52:08 +00:00
{% load static %}
2016-12-20 06:00:00 +00:00
<!DOCTYPE>
<html>
<head>
<title>tilde.town guestbook</title>
<meta charset="UTF-8">
2016-12-20 06:52:08 +00:00
<link rel="stylesheet" href="{% static 'common/main.css' %}">
<link rel="stylesheet" href="{% static 'common/form.css' %}">
2016-12-20 06:00:00 +00:00
<style type="text/css">
2016-12-20 06:52:08 +00:00
form.tilde {
border: 0;
2016-12-20 06:00:00 +00:00
}
2016-12-20 06:52:08 +00:00
form.tilde th,td {
padding:0;
2016-12-20 06:00:00 +00:00
}
2016-12-20 06:52:08 +00:00
form.tilde input[type=submit] {
2016-12-20 06:00:00 +00:00
font-size:150%;
}
</style>
</head>
<body>
<h1>tilde.town guestbook</h1>
2019-12-16 22:25:03 +00:00
<p><em>don't try to post urls. it won't work.</em></p>
2016-12-20 06:00:00 +00:00
<marquee>~*~*~*~*say hello*~*~*~*~</marquee>
2019-12-16 22:25:03 +00:00
<form class="tilde" action="{% url 'guestbook:guestbook' %}" method="post">
2016-12-20 06:00:00 +00:00
{% csrf_token %}
<table>
{{form.as_table}}
</table>
<input type="submit" value="sign" >
</form>
{% for m in messages %}
<p>
{{m.name}} says: {{m.msg}}
</p>
{% endfor %}
</body>
</html>