From 7e823e34dd59af26bdceafd3b5c6671b8438a51d Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Mon, 1 Jun 2026 10:33:51 +0000 Subject: [PATCH] =?UTF-8?q?v4=20=E2=80=94=20=D0=B4=D0=B0=D1=82=D0=B0=20?= =?UTF-8?q?=D1=80=D0=BE=D0=B6=D0=B4=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 51358a4..c85f6d2 100644 --- a/index.html +++ b/index.html @@ -127,6 +127,7 @@ input[type=file]{display:none}
+
@@ -335,6 +336,7 @@ function registerProfile() { name, sport: document.getElementById('regSport').value.trim(), age: document.getElementById('regAge').value, + birth: document.getElementById('regBirth').value, club: document.getElementById('regClub').value.trim(), city: document.getElementById('regCity').value.trim(), coach: document.getElementById('regCoach').value.trim(), @@ -348,7 +350,7 @@ function registerProfile() { profiles.push(profile); SS('profiles', profiles); // Clear form - ['regName','regSport','regAge','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = ''); + ['regName','regSport','regAge','regBirth','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = ''); document.getElementById('regPhotoPreview').style.display = 'none'; loginProfile(profile.id); } @@ -402,7 +404,7 @@ function renderProfileList() {
${p.photo ? `` : p.name.charAt(0).toUpperCase()}
${p.name}
-
${[p.sport, p.club, p.age ? p.age+' лет' : '', p.rank].filter(Boolean).join(' · ')}
+
${[p.sport, p.club, p.age ? p.age+' лет' : '', p.birth ? '🎂 '+p.birth : '', p.rank].filter(Boolean).join(' · ')}