From 48abf0874cd95f3afeb6a23a0a2bf809d044aa99 Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 28 Sep 2023 15:03:08 +0200 Subject: [PATCH] ca avance --- Flask/app.py | 5 ++- Flask/static/css/flask.css | 2 +- Flask/templates/discord.html | 4 +- Flask/templates/schedule.html | 2 +- Flask/templates/vnc_get.html | 72 +++++++++++++++++------------------ version | 2 +- 6 files changed, 44 insertions(+), 43 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index 11e6880..146ef32 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -371,11 +371,14 @@ def stats(): @app.route("/override/", methods=["POST"]) def override_post(): + print(request.form) return(render_template("vnc_post.html")) @app.route("/override/", methods=["GET"]) def override_get(): - return(render_template("vnc_get.html")) + with open("/app/MsRewards-Reborn/user_data/configs.json", "r") as inFile: + configs = json.load(inFile) + return(render_template("vnc_get.html", configs=configs)) @app.route('/download/', methods=['GET', 'POST']) @login_required diff --git a/Flask/static/css/flask.css b/Flask/static/css/flask.css index 5091c3a..e5e0a3e 100644 --- a/Flask/static/css/flask.css +++ b/Flask/static/css/flask.css @@ -241,7 +241,7 @@ body { */ -input[type=checkbox]{ +input.toogle[type=checkbox]{ height: 0; width: 0; visibility: hidden; diff --git a/Flask/templates/discord.html b/Flask/templates/discord.html index d569fee..0a9d782 100644 --- a/Flask/templates/discord.html +++ b/Flask/templates/discord.html @@ -25,11 +25,11 @@ Send errors - + Send success - + Success link diff --git a/Flask/templates/schedule.html b/Flask/templates/schedule.html index b428401..e406ef7 100644 --- a/Flask/templates/schedule.html +++ b/Flask/templates/schedule.html @@ -16,7 +16,7 @@ - + diff --git a/Flask/templates/vnc_get.html b/Flask/templates/vnc_get.html index 896334f..5f6a565 100644 --- a/Flask/templates/vnc_get.html +++ b/Flask/templates/vnc_get.html @@ -7,47 +7,45 @@ {%if not current_user.is_authenticated %} {% else %} + -
- + + + +
- - - - + + + + + + - - - - - + {% for i in range(1,6) %} + + + + + + + + {% endfor %} +
config : - - name : - - nameUnbantoutpcmobilelog points
Proxy : - - Discord : - -
- - - + + +
{% endif %} {%endblock %} \ No newline at end of file diff --git a/version b/version index fc662c5..d5bba2f 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.22 +v6.6.23