This commit is contained in:
piair 2023-08-21 21:07:54 +02:00
parent 16f907d0db
commit 02f835e755
2 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,7 @@ from flask import Flask, Response, redirect, url_for, request, session, abort, r
from apscheduler.schedulers.background import BackgroundScheduler
from apscheduler.triggers.cron import CronTrigger
from flask_login import LoginManager, UserMixin, login_required, login_user, logout_user
from werkzeug.utils import secure_filename
import json
import re
global password

View File

@ -74,16 +74,19 @@
</table>
</form>
<form method="POST" action="/upload_file/" enctype=multipart/form-data>
<table>
<tr ><td><input type="file" id="file1" name="file1" onchange="console.log('test')"></td></tr>
<tr style="visibility: hidden;"><td><input type="file" id="file2" name="file2" ></td></tr>
<tr ><td><input type="file" id="file1" name="file1" onchange='document.getElementById("2").style.visibility = "visible";'></td></tr>
<tr id="2" style="visibility: hidden;"><td><input type="file" id="file2" name="file2" ></td></tr>
<tr><td><input type="submit" name="settings" id="submit" value="send file" class="button"/></td></tr>
</table>
</form>
<script>
//document.getElementById("delete").style.visibility = "hidden";
//
</script>
{% endif %}
{%endblock %}