From 481423368be76048c7081421011d2e2260168be4 Mon Sep 17 00:00:00 2001 From: martbost Date: Thu, 13 Aug 2026 14:36:36 -0500 Subject: [PATCH] Add qualification badges to dashboard and matrix cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gold "★ Qualified" pill in the member-dashboard header (or an amber "N more directs to qualify" pill), and a gold ✓ corner medallion on every qualified position card in both the member tree and admin pyramid. Co-Authored-By: Claude Fable 5 --- public/admin.js | 3 ++- public/my.html | 2 +- public/my.js | 7 ++++++- public/styles.css | 7 +++++++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/public/admin.js b/public/admin.js index 40549df..bb0a8ea 100644 --- a/public/admin.js +++ b/public/admin.js @@ -78,7 +78,8 @@ const mtFmt=n=>Number(n||0).toLocaleString(undefined,{maximumFractionDigits:0}); function mtCard(n){ if(!n)return '
open
slot
'; const down=n.downCount?`⬇ ${n.downCount} below · ${mtFmt(n.downPol)} POL`:'no downline yet'; - return ``; + const qmark=n.directCount>=2?'✓':''; + return ``; } function renderPyramid(){ const out=document.getElementById('matrixTree'),nav=document.getElementById('matrixNav'); diff --git a/public/my.html b/public/my.html index 5862507..9769b5a 100644 --- a/public/my.html +++ b/public/my.html @@ -4,7 +4,7 @@