mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	testfix + logs style
This commit is contained in:
		@@ -56,8 +56,8 @@ function change_config(value) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function change_proxy(value) {
 | 
					function change_proxy(value, json) {
 | 
				
			||||||
    data = JSON.parse('{{data|tojson}}'); //convertit le dictionnaire data en JSON
 | 
					    data = JSON.parse(json); //convertit le dictionnaire data en JSON
 | 
				
			||||||
    if (value == "{{len}}"){
 | 
					    if (value == "{{len}}"){
 | 
				
			||||||
        document.getElementById("submit").value = "Create";
 | 
					        document.getElementById("submit").value = "Create";
 | 
				
			||||||
        document.getElementById("address").value = "";
 | 
					        document.getElementById("address").value = "";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,7 +50,8 @@
 | 
				
			|||||||
    <option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
 | 
					    <option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
 | 
				
			||||||
{% endfor %}
 | 
					{% endfor %}
 | 
				
			||||||
</select>
 | 
					</select>
 | 
				
			||||||
<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}"  width="100%" height="100%" id="embed">
 | 
					<br><br>
 | 
				
			||||||
 | 
					<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}"  width="100%" height="900%" id="embed">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,7 +53,7 @@
 | 
				
			|||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
            <td class="comlumn-name"></td>
 | 
					            <td class="comlumn-name"></td>
 | 
				
			||||||
            <td>
 | 
					            <td>
 | 
				
			||||||
                <select name="select" onchange="change_proxy(this.value)">
 | 
					                <select name="select" onchange="change_proxy(this.value, '{{data|tojson}}')">
 | 
				
			||||||
                    <option selected id="new" value="{{ len }}">Create new proxy</option>
 | 
					                    <option selected id="new" value="{{ len }}">Create new proxy</option>
 | 
				
			||||||
                    {% for i in data %}
 | 
					                    {% for i in data %}
 | 
				
			||||||
                    <option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
 | 
					                    <option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user