forked from piair/MsRewards-Reborn
on fait des tests écoute
This commit is contained in:
parent
02f835e755
commit
2b0e99031e
@ -1,5 +1,6 @@
|
||||
from time import sleep
|
||||
import subprocess
|
||||
import os
|
||||
from flask import Flask, Response, redirect, url_for, request, session, abort, render_template, send_from_directory
|
||||
from apscheduler.schedulers.background import BackgroundScheduler
|
||||
from apscheduler.triggers.cron import CronTrigger
|
||||
@ -7,6 +8,8 @@ from flask_login import LoginManager, UserMixin, login_required, login_user, log
|
||||
from werkzeug.utils import secure_filename
|
||||
import json
|
||||
import re
|
||||
|
||||
|
||||
global password
|
||||
with open("/app/MsRewards-Reborn/user_data/flask.json", "r") as inFile:
|
||||
data = json.load(inFile)
|
||||
|
@ -79,8 +79,7 @@
|
||||
|
||||
<form method="POST" action="/upload_file/" enctype=multipart/form-data>
|
||||
<table>
|
||||
<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="file" id="file1" name="file1" onchange='table.insertRow(0).insertCell(0).innerHTML = "NEW CELL1"'></td></tr>
|
||||
<tr><td><input type="submit" name="settings" id="submit" value="send file" class="button"/></td></tr>
|
||||
</table>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user