From 925419643eeda42386570aeaa6e594b855b90838 Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Mon, 1 Jun 2026 11:09:26 +0000 Subject: [PATCH] =?UTF-8?q?v13=20=E2=80=94=20=D1=82=D0=B5=D0=BB=D0=B5?= =?UTF-8?q?=D1=84=D0=BE=D0=BD=20=D0=B8=20email=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 4b0a963..ece4bb5 100644 --- a/index.html +++ b/index.html @@ -219,6 +219,10 @@ input[type=file]{display:none} +
+ + +
@@ -486,6 +490,8 @@ function registerProfile() { country: document.getElementById('regCountry').value, city: document.getElementById('regCity').value.trim(), coach: document.getElementById('regCoach').value.trim(), + phone: document.getElementById('regPhone').value.trim(), + email: document.getElementById('regEmail').value.trim(), rank: document.getElementById('regRank').value.trim(), goal: document.getElementById('regGoal').value.trim(), photo: document.getElementById('regPhotoPreview').src || '', @@ -496,7 +502,7 @@ function registerProfile() { profiles.push(profile); SS('profiles', profiles); // Clear form - ['regName','regLogin','regPass','regSport','regAge','regBirth','regCountry','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = ''); + ['regName','regLogin','regPass','regSport','regAge','regBirth','regCountry','regClub','regCity','regCoach','regPhone','regEmail','regRank','regGoal'].forEach(id => document.getElementById(id).value = ''); document.getElementById('regPhotoPreview').style.display = 'none'; loginProfile(profile.id); } @@ -640,6 +646,8 @@ function aiHelp(field) { regCoach: '👨‍🏫 Имя твоего тренера. Он будет рад, что ты здесь!', regRank: '🏅 Твой разряд или звание. Например: 1 юношеский, 3 взрослый.', regGoal: '🎯 Твоя главная цель! Например: 50 м в/с за 23 секунды.', + regPhone: '📱 Твой номер телефона. Можно WhatsApp. Нужен, чтобы тренер или родители могли связаться.', + regEmail: '✉️ Твоя почта. Пригодится для регистрации на соревнования и NCAA.', regPhoto: '📷 Загрузи своё фото — так твой профиль будет красивее!' }; if (tips[field]) aiSay(tips[field]); @@ -647,7 +655,7 @@ function aiHelp(field) { // Attach focus listeners to all registration fields setTimeout(() => { - const fields = ['regName','regLogin','regPass','regSport','regBirth','regCountry','regCity','regClub','regCoach','regRank','regGoal']; + const fields = ['regName','regLogin','regPass','regSport','regBirth','regCountry','regCity','regClub','regCoach','regPhone','regEmail','regRank','regGoal']; fields.forEach(id => { const el = document.getElementById(id); if (el) el.addEventListener('focus', () => aiHelp(id));