From 68bb92992920753f2395e5785a24e6b91ceb4500 Mon Sep 17 00:00:00 2001 From: EDeev Date: Fri, 9 Jan 2026 00:09:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BD=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B2=20?= =?UTF-8?q?=D1=81=D0=B2=D1=8F=D0=B7=D0=B8=20=D1=81=20=D0=BE=D0=B1=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BD=D0=B0=20=D0=A1=D0=94?= =?UTF-8?q?=D0=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 16 ++++++++++++++++ index.html | 3 ++- js/app.js | 7 ++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/css/index.css b/css/index.css index c0db15b..1cd25b2 100644 --- a/css/index.css +++ b/css/index.css @@ -100,6 +100,22 @@ background-color: rgba(230, 57, 70, 0.1); } +/* Стиль для заглушки фото репетитора */ +.tutor-photo-placeholder { + width: 48px; + height: 48px; + display: flex; + align-items: center; + justify-content: center; + background-color: #e9ecef; + border-radius: 50%; +} + +.tutor-photo-placeholder i { + font-size: 48px; + color: #6c757d; +} + #resourcesList { max-height: 500px; overflow-y: auto; diff --git a/index.html b/index.html index 36ef33f..a22b303 100644 --- a/index.html +++ b/index.html @@ -183,7 +183,7 @@
@@ -201,6 +201,7 @@ + diff --git a/js/app.js b/js/app.js index ff3cc5d..a7d5472 100644 --- a/js/app.js +++ b/js/app.js @@ -418,7 +418,7 @@ function calculateCoursePrice() { const earlyReg = isEarlyRegistration(startDate); const groupEnroll = persons >= 5; - const intensive = course.week_length > 20; + const intensive = course.week_length >= 5; document.getElementById('earlyRegistration').checked = earlyReg; document.getElementById('groupEnrollment').checked = groupEnroll; @@ -577,6 +577,11 @@ function renderTutors() { const tr = document.createElement('tr'); tr.dataset.tutorId = tutor.id; tr.innerHTML = ` +
Фото Имя Уровень Языки +
+ +
+
${tutor.name}