From 5c3cdb3a10f00a27f537f734eeaf77cd5ca8b091 Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Mon, 1 Jun 2026 10:39:10 +0000 Subject: [PATCH] =?UTF-8?q?v7=20=E2=80=94=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D1=8B=20=D0=B8=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=80=D0=BE=D0=B4=D0=B0=20=D0=BF=D1=80=D0=B8=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 7e30fad..3ac5a3d 100644 --- a/index.html +++ b/index.html @@ -171,9 +171,13 @@ input[type=file]{display:none}
+ -
+
@@ -378,6 +382,7 @@ function registerProfile() { age: document.getElementById('regAge').value, birth: document.getElementById('regBirth').value, club: document.getElementById('regClub').value.trim(), + country: document.getElementById('regCountry').value, city: document.getElementById('regCity').value.trim(), coach: document.getElementById('regCoach').value.trim(), rank: document.getElementById('regRank').value.trim(), @@ -390,7 +395,7 @@ function registerProfile() { profiles.push(profile); SS('profiles', profiles); // Clear form - ['regName','regSport','regAge','regBirth','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = ''); + ['regName','regSport','regAge','regBirth','regCountry','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = ''); document.getElementById('regPhotoPreview').style.display = 'none'; loginProfile(profile.id); } @@ -455,7 +460,7 @@ function renderProfileList() {
${p.photo ? `` : p.name.charAt(0).toUpperCase()}
${p.name}
-
${[p.sport, p.club, p.age ? p.age+' лет' : '', p.birth ? '🎂 '+p.birth : '', p.rank].filter(Boolean).join(' · ')}
+
${[p.sport, p.club, p.age ? p.age+' лет' : '', p.birth ? '🎂 '+p.birth : '', p.country ? '🌍 '+p.country+(p.city?'/'+p.city:'') : p.city, p.rank].filter(Boolean).join(' · ')}