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:
parent
aee0c2e34a
commit
3a22a9e2bf
5
web/templates/base.html
Normal file
5
web/templates/base.html
Normal file
@ -0,0 +1,5 @@
|
||||
<html><head></head><body>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</body></html>
|
||||
|
9
web/templates/postkey.html
Normal file
9
web/templates/postkey.html
Normal 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 %}
|
Loading…
x
Reference in New Issue
Block a user