mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	ouais je pense que tu vois la ou je veux en venir
This commit is contained in:
		@@ -371,7 +371,8 @@ def stats():
 | 
			
		||||
 | 
			
		||||
@app.route("/override/", methods=["POST"])
 | 
			
		||||
def override_post():
 | 
			
		||||
    print(request.form)
 | 
			
		||||
    json = request.form.to_dict(flat=False)
 | 
			
		||||
    print(request.form["unban"])
 | 
			
		||||
    return(render_template("vnc_post.html"))
 | 
			
		||||
 | 
			
		||||
@app.route("/override/", methods=["GET"])
 | 
			
		||||
 
 | 
			
		||||
@@ -35,11 +35,11 @@ function change_override(value, data) {
 | 
			
		||||
        {% for i in range(1,6) %}
 | 
			
		||||
        <tr heigh="15%">
 | 
			
		||||
            <td id="compte_{{i}}"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="unban"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="tout"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="pc"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="mobile"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="log_points"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="unban"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="tout"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="pc"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="mobile"></td>
 | 
			
		||||
            <td><input type="checkbox" id="compte_{{i}}" value="{{i}}" name="log_points"></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
        
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
{% else %}
 | 
			
		||||
<table>
 | 
			
		||||
    <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>
 | 
			
		||||
    </tr>
 | 
			
		||||
</table>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user