feat: ✨ add upload functionality
This commit is contained in:
parent
f6b8611d90
commit
8b9be26987
3 changed files with 72 additions and 12 deletions
18
www/templates/upload.html
Normal file
18
www/templates/upload.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
|
||||
{% extends "root.html" %}
|
||||
|
||||
{% block second_title %}
|
||||
<h2> UPLOAD CONTENT </h2>
|
||||
{% endblock %}
|
||||
|
||||
{%block main_content%}
|
||||
<article>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="text" id="post_path" name="post_path"/>
|
||||
<input type="file" id="post_data" name="post_data"/>
|
||||
|
||||
<button>Submit</button>
|
||||
</form>
|
||||
</article>
|
||||
{%endblock%}
|
Loading…
Add table
Add a link
Reference in a new issue