Figured out that I can use a single endpoint for a tons of additionalPOST requests, which has opened up a lot of doors. Started to create a robust add option. Also added a template button as an idea, but need to see what's possible

This commit is contained in:
Norm Rasmussen
2023-03-07 14:56:01 -05:00
parent 92f4ca2fbc
commit 49de321387
10 changed files with 914 additions and 188 deletions

View File

@ -1,13 +1,12 @@
<!DOCTYPE html>
<div class="csv-upload">
<h3> If you'd like to upload a CSV. Please do so here:<h3>
<p></p>
<form method="post" action="" enctype="multipart/form-data">
<form method="POST"
action="{{ url_for('csv') }}"
enctype="multipart/form-data">
<p><input type="file" name="file"></p>
<p><input type="submit" value="Submit CSV"></p>
</form>
</div>
{% if table %}
{% include 'table.html' %}
{% else %}
<p></p>
{% endif %}