From c072a71c833ddf1f555b93c1dc2ece6581c53a18 Mon Sep 17 00:00:00 2001 From: piair Date: Sat, 26 Aug 2023 13:17:57 +0200 Subject: [PATCH] pas mal le version control : 6.2.0 -> 6.2.10 --- Flask/static/js/main.js | 12 ++++++------ Flask/templates/config.html | 2 +- Flask/templates/discord.html | 2 +- Flask/templates/proxy.html | 2 +- version | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 85c4286..c2495fc 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -4,8 +4,8 @@ function addline(ligne){ } -function change_discord(value, data) { - if (value == "{{len}}"){ +function change_discord(value, data, len) { + if (value == len){ document.getElementById("name").value = ""; document.getElementById("submit").value = "Create !"; 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"; - if (value == "{{len}}"){ + if (value == len){ document.getElementById("submit").value = "Create !"; document.getElementById("discord").value = "-1"; document.getElementById("proxy").value = "-1"; @@ -53,8 +53,8 @@ function change_config(value, data) { } -function change_proxy(value, data) { - if (value == "{{len}}"){ +function change_proxy(value, data, len) { + if (value == len){ document.getElementById("submit").value = "Create"; document.getElementById("address").value = ""; document.getElementById("port").value = ""; diff --git a/Flask/templates/config.html b/Flask/templates/config.html index 6396921..a751450 100644 --- a/Flask/templates/config.html +++ b/Flask/templates/config.html @@ -51,7 +51,7 @@ config : - {% for i in configs %} diff --git a/Flask/templates/discord.html b/Flask/templates/discord.html index 4f0db6c..6ab5861 100644 --- a/Flask/templates/discord.html +++ b/Flask/templates/discord.html @@ -49,7 +49,7 @@ - {% for i in data %} diff --git a/Flask/templates/proxy.html b/Flask/templates/proxy.html index 647f03c..d545b10 100644 --- a/Flask/templates/proxy.html +++ b/Flask/templates/proxy.html @@ -54,7 +54,7 @@ - {% for i in data %} diff --git a/version b/version index 81239e1..9c173b8 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.2.10 +v6.2.11