projects
/
txt.house
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get editing working
[txt.house]
/
txt_house
/
templates
/
index.html
diff --git
a/txt_house/templates/index.html
b/txt_house/templates/index.html
index
fcd6fe9
..
8d8535a
100644
(file)
--- a/
txt_house/templates/index.html
+++ b/
txt_house/templates/index.html
@@
-1,9
+1,24
@@
{% extends 'base.html' %}
{% block body %}
{% extends 'base.html' %}
{% block body %}
-<form action='create' method='post'>
+<style>
+ h1 {
+ margin: 3rem 0;
+ }
+
+ p {
+ margin: 0;
+ }
+</style>
+
+<h1>txt.house</h1>
+
+<p>Paste or edit in text and submit to get a permanent link for it.</p>
+
+<form class='editor' action='{% url "create" %}' method='post'>
{% csrf_token %}
<textarea name='text'></textarea>
<input type='submit'></input>
</form>
{% csrf_token %}
<textarea name='text'></textarea>
<input type='submit'></input>
</form>
+
{% endblock %}
{% endblock %}