feat: add upload functionality

This commit is contained in:
xaseiresh 2023-10-25 09:12:03 +02:00
parent f6b8611d90
commit 8b9be26987
3 changed files with 72 additions and 12 deletions

18
www/templates/upload.html Normal file
View 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%}