forked from piair/MsRewards-Reborn
oui
This commit is contained in:
parent
16f907d0db
commit
02f835e755
@ -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
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user