coriplus/app/templates/create.html

19 lines
863 B
HTML
Raw Normal View History

2019-05-01 15:33:28 +02:00
{% extends "base.html" %}
{% block body %}
<h2>Create</h2>
2019-10-23 21:09:51 +02:00
<form action="{{ url_for('website.create') }}" method="POST" enctype="multipart/form-data">
2019-05-01 15:33:28 +02:00
<dl>
<dt>Message:</dt>
<dd><textarea name="text" placeholder="What's happening?" class="create_text">{{ request.args['preload'] }}</textarea></dd>
2019-05-02 15:47:23 +02:00
<dd id="fileInputContainer"><a href="javascript:attachFileInput();">Add a file...</a>
<dd><select name="privacy">
<option value="0">Public - everyone in your profile or public timeline</option>
<option value="1">Unlisted - everyone in your profile, hide from public timeline</option>
<option value="2">Friends - only people you follow each other</option>
<option value="3">Only you</option>
</select></dd>
2019-05-01 15:33:28 +02:00
<dd><input type="submit" value="Create" /></dd>
</dl>
</form>
{% endblock %}