From ce0020b3ff6a31852e2bfd69c1592ebc9651af10 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Mon, 26 Jan 2026 13:33:00 +0100 Subject: [PATCH 1/4] =?UTF-8?q?Ajout=20d'un=20CSS=20pour=20centrer=20les?= =?UTF-8?q?=20barres=20de=20progr=C3=A8s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/base.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/css/base.css b/css/base.css index d4bd66f..7182ff5 100644 --- a/css/base.css +++ b/css/base.css @@ -195,6 +195,19 @@ figcaption { margin-right: 10%; } +#progress { + display: block; + text-align: center; +} + +#gauge-bar { + float: left; +} + +#fundraising-bar { + float: left; +} + code { background: #ffffff1f; padding: 0.2em 0.4em; From 9e7e781c3676431f57e21a9fc1937f9bc4be08b4 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Mon, 26 Jan 2026 13:33:14 +0100 Subject: [PATCH 2/4] Mise en page du HTML des barres de progressions --- index.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index cb83e46..d6fa260 100644 --- a/index.html +++ b/index.html @@ -95,12 +95,26 @@

Il y a

-
?/200
-

places déjà réservées.

+ +
+ + + ?/200 + + +
+ +

places déjà réservées. Ouverture prochaine des inscriptions !


Et nous avons reçu

-
? %
-

des dons dont nous avons besoin

+
+ + + ? % + + +
+

des dons dont nous avons besoin (voir le détail des comptes)

From 744dd42c48e0ad8707b6ad440d18fe8b48f1dbb8 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Mon, 26 Jan 2026 14:21:37 +0100 Subject: [PATCH 3/4] Ajout d'un grandient pour la barre de progression --- css/home.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/home.css b/css/home.css index 5d5fc30..6aa60c5 100644 --- a/css/home.css +++ b/css/home.css @@ -104,6 +104,6 @@ font-size : 1.5em; } .morethanhalf { -text-align : end; -color:black; + text-align : end; + background: linear-gradient(90deg,rgba(136, 0, 255, 1) 0%, rgba(255, 78, 0, 1) 42%, rgba(255, 191, 62, 1) 100%); } From 9847d7c52753c80e50da8b2121bb535ef4298c19 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Thu, 5 Feb 2026 13:48:51 +0100 Subject: [PATCH 4/4] Activer la barre de progression --- js/progress.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/progress.js b/js/progress.js index 71e3bab..9cefb6a 100644 --- a/js/progress.js +++ b/js/progress.js @@ -4,8 +4,8 @@ const gaugeMax = 200; const fundraisingTotalMax = 20000; async function getGauge() { - // REMOVE WHEN SIGNUP FORM IS OPEN - return 0; + // // REMOVE WHEN SIGNUP FORM IS OPEN + // return 0; try { const response = await fetch(gauge_url); @@ -61,7 +61,7 @@ async function setGauge() { const gaugeRatio = gauge / gaugeMax; gaugeBar.style.setProperty("width", percentRatio(gaugeRatio) + "%"); - gaugeText.innerText = gauge + "/" + gaugeMax; + gaugeText.innerText = gauge + " / " + gaugeMax; setAboveHalf(gaugeRatio, gaugeBar); }