ouais je pense que tu vois la ou je veux en venir

This commit is contained in:
piair 2023-09-30 16:29:50 +02:00
parent a7b42ab3a1
commit 92ee7da9a4
4 changed files with 9 additions and 8 deletions

View File

@ -371,7 +371,8 @@ def stats():
@app.route("/override/", methods=["POST"]) @app.route("/override/", methods=["POST"])
def override_post(): def override_post():
print(request.form) json = request.form.to_dict(flat=False)
print(request.form["unban"])
return(render_template("vnc_post.html")) return(render_template("vnc_post.html"))
@app.route("/override/", methods=["GET"]) @app.route("/override/", methods=["GET"])

View File

@ -35,11 +35,11 @@ function change_override(value, data) {
{% for i in range(1,6) %} {% for i in range(1,6) %}
<tr heigh="15%"> <tr heigh="15%">
<td id="compte_{{i}}"></td> <td id="compte_{{i}}"></td>
<td><input type="checkbox" id="compte_{{i}}" value="unban"></td> <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="unban"></td>
<td><input type="checkbox" id="compte_{{i}}" value="tout"></td> <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="tout"></td>
<td><input type="checkbox" id="compte_{{i}}" value="pc"></td> <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="pc"></td>
<td><input type="checkbox" id="compte_{{i}}" value="mobile"></td> <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="mobile"></td>
<td><input type="checkbox" id="compte_{{i}}" value="log_points"></td> <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="log_points"></td>
</tr> </tr>
{% endfor %} {% endfor %}

View File

@ -9,7 +9,7 @@
{% else %} {% else %}
<table> <table>
<tr> <tr>
<td width="20%"><iframe id="iframe" src="{{url_for('static', filename='logs/dev.txt')}}" width="100%" height="100%"></iframe></td> <td width="20%" height="90%"><iframe id="iframe" src="{{url_for('static', filename='logs/dev.txt')}}" width="100%" height="100%"></iframe></td>
<td width="80%"><iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe></td> <td width="80%"><iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe></td>
</tr> </tr>
</table> </table>

View File

@ -1 +1 @@
v6.6.25 v6.6.26