Unpacking modules
This commit is contained in:
parent
1e7787e24e
commit
a9006bf1bc
36 changed files with 971 additions and 822 deletions
18
app/templates/create.html
Normal file
18
app/templates/create.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% block body %}
|
||||
<h2>Create</h2>
|
||||
<form action="{{ url_for('website.create') }}" method="POST" enctype="multipart/form-data">
|
||||
<dl>
|
||||
<dt>Message:</dt>
|
||||
<dd><textarea name="text" placeholder="What's happening?" class="create_text">{{ request.args['preload'] }}</textarea></dd>
|
||||
<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>
|
||||
<dd><input type="submit" value="Create" /></dd>
|
||||
</dl>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue