1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

Add initial templates

This commit is contained in:
Hidden Z 2010-10-06 19:02:08 +00:00
parent aee0c2e34a
commit 3a22a9e2bf
2 changed files with 14 additions and 0 deletions

5
web/templates/base.html Normal file
View File

@ -0,0 +1,5 @@
<html><head></head><body>
{% block content %}
{% endblock %}
</body></html>

View File

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
<form action="/postkey/" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Submit" />
</form>
{% endblock %}