You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
886 B
HTML
28 lines
886 B
HTML
{%extends 'base.html' %} {%block head %}
|
|
<title>Draw</title>
|
|
<link rel="stylesheet" href="{{url_for('static', filename='css/write.css')}}" />
|
|
<script src="{{url_for('static', filename='js/draw.js')}}" defer></script>
|
|
|
|
{%endblock%} {%block nav%}
|
|
<a href="{{url_for('home.home')}}">Home</a>
|
|
<a href="{{url_for('display.display')}}">Results</a>
|
|
|
|
{%endblock%} {%block contents%}
|
|
|
|
<!-- mmm i dont remember what i was using these two things for! -->
|
|
<!-- data-parent="{{parent or None}}" -->
|
|
<!-- data-branch="{{branch}}" -->
|
|
<!-- Maybe to create links in the display page? -->
|
|
|
|
<h1>Write</h1>
|
|
<div id="previous">{% if content %} {{content|safe}} {% endif %}</div>
|
|
|
|
<form method="POST">
|
|
<input type="hidden" name="branch" value="{{branch}}" />
|
|
<textarea name="content" ></textarea>
|
|
<input type="text" name="username" placeholder="Name" />
|
|
<input type="submit" />
|
|
</form>
|
|
|
|
{%endblock%}
|