mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33:53 +01:00 
			
		
		
		
	pas mal le version control : 6.2.0 -> 6.2.10
This commit is contained in:
		@@ -4,8 +4,8 @@ function addline(ligne){
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function change_discord(value, data) {
 | 
					function change_discord(value, data, len) {
 | 
				
			||||||
    if (value == "{{len}}"){
 | 
					    if (value == len){
 | 
				
			||||||
        document.getElementById("name").value = "";
 | 
					        document.getElementById("name").value = "";
 | 
				
			||||||
        document.getElementById("submit").value = "Create !";
 | 
					        document.getElementById("submit").value = "Create !";
 | 
				
			||||||
        document.getElementById("successT").checked = false;
 | 
					        document.getElementById("successT").checked = false;
 | 
				
			||||||
@@ -24,9 +24,9 @@ function change_discord(value, data) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function change_config(value, data) {
 | 
					function change_config(value, data, len) {
 | 
				
			||||||
    document.getElementById("delete").style.visibility = "hidden";
 | 
					    document.getElementById("delete").style.visibility = "hidden";
 | 
				
			||||||
    if (value == "{{len}}"){
 | 
					    if (value == len){
 | 
				
			||||||
        document.getElementById("submit").value = "Create !";
 | 
					        document.getElementById("submit").value = "Create !";
 | 
				
			||||||
        document.getElementById("discord").value = "-1";
 | 
					        document.getElementById("discord").value = "-1";
 | 
				
			||||||
        document.getElementById("proxy").value = "-1";
 | 
					        document.getElementById("proxy").value = "-1";
 | 
				
			||||||
@@ -53,8 +53,8 @@ function change_config(value, data) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function change_proxy(value, data) {
 | 
					function change_proxy(value, data, len) {
 | 
				
			||||||
    if (value == "{{len}}"){
 | 
					    if (value == len){
 | 
				
			||||||
        document.getElementById("submit").value = "Create";
 | 
					        document.getElementById("submit").value = "Create";
 | 
				
			||||||
        document.getElementById("address").value = "";
 | 
					        document.getElementById("address").value = "";
 | 
				
			||||||
        document.getElementById("port").value = "";
 | 
					        document.getElementById("port").value = "";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -51,7 +51,7 @@
 | 
				
			|||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
            <td style="width: 10%;">config : </td>
 | 
					            <td style="width: 10%;">config : </td>
 | 
				
			||||||
            <td style="width: 40%;">
 | 
					            <td style="width: 40%;">
 | 
				
			||||||
                <select onchange="change_config(this.value, data)" name="config">
 | 
					                <select onchange="change_config(this.value, data, '{{len}}')" name="config">
 | 
				
			||||||
                    <option id="config" value="{{len}}">New config</option>
 | 
					                    <option id="config" value="{{len}}">New config</option>
 | 
				
			||||||
                    {% for i in configs %}
 | 
					                    {% for i in configs %}
 | 
				
			||||||
                    <option id="{{configs[i]['name']}}" value="{{i}}">{{configs[i]['name']}}</option>
 | 
					                    <option id="{{configs[i]['name']}}" value="{{i}}">{{configs[i]['name']}}</option>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -49,7 +49,7 @@
 | 
				
			|||||||
        <tr>
 | 
					        <tr>
 | 
				
			||||||
            <td></td>
 | 
					            <td></td>
 | 
				
			||||||
            <td>
 | 
					            <td>
 | 
				
			||||||
                <select name="select" onchange="change_discord(this.value, data)">
 | 
					                <select name="select" onchange="change_discord(this.value, data, '{{len}}')">
 | 
				
			||||||
                    <option selected id="new" value="{{ len }}">Create new Discord config</option>
 | 
					                    <option selected id="new" value="{{ len }}">Create new Discord config</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>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -54,7 +54,7 @@
 | 
				
			|||||||
            <td class="comlumn-name"></td>
 | 
					            <td class="comlumn-name"></td>
 | 
				
			||||||
            <td>
 | 
					            <td>
 | 
				
			||||||
                <script>data = JSON.parse('{{data|tojson}}');</script>
 | 
					                <script>data = JSON.parse('{{data|tojson}}');</script>
 | 
				
			||||||
                <select name="select" onchange="change_proxy(this.value, data)">
 | 
					                <select name="select" onchange="change_proxy(this.value, data, '{{len}}')">
 | 
				
			||||||
                    <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