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}