diff --git a/Flask/app.py b/Flask/app.py index 024f7e5..11e6880 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -369,10 +369,13 @@ def stats(): return(render_template("stats.html")) -@app.route("/override/", methods=["GET", "POST"]) -def override(): - return(render_template("vnc.html")) +@app.route("/override/", methods=["POST"]) +def override_post(): + return(render_template("vnc_post.html")) +@app.route("/override/", methods=["GET"]) +def override_get(): + return(render_template("vnc_get.html")) @app.route('/download/', methods=['GET', 'POST']) @login_required diff --git a/Flask/templates/vnc_get.html b/Flask/templates/vnc_get.html new file mode 100644 index 0000000..896334f --- /dev/null +++ b/Flask/templates/vnc_get.html @@ -0,0 +1,53 @@ + +{% extends "base.html" %} +{% block left_pannel %}override{% endblock %} + +{% block content %} + +{%if not current_user.is_authenticated %} + +{% else %} + +
+ + + + + + + + + + + + + +
config : + + name : + +
Proxy : + + Discord : + +
+ + + +{% endif %} +{%endblock %} \ No newline at end of file diff --git a/Flask/templates/vnc.html b/Flask/templates/vnc_post.html similarity index 100% rename from Flask/templates/vnc.html rename to Flask/templates/vnc_post.html