Финальные правки в связи с обновлением задания на СДО
This commit is contained in:
parent
cc75f44863
commit
68bb929929
3 changed files with 24 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@
|
|||
</div>
|
||||
<div class="col-md-3">
|
||||
<select id="languageFilter" class="form-select">
|
||||
<option value="">Все языки</option>
|
||||
<option value="">Предлагаемые языки</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
|
@ -201,6 +201,7 @@
|
|||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Фото</th>
|
||||
<th>Имя</th>
|
||||
<th>Уровень</th>
|
||||
<th>Языки</th>
|
||||
|
|
|
|||
|
|
@ -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 = `
|
||||
<td>
|
||||
<div class="tutor-photo-placeholder">
|
||||
<i class="bi bi-person-circle"></i>
|
||||
</div>
|
||||
</td>
|
||||
<td>${tutor.name}</td>
|
||||
<td><span class="badge level-badge
|
||||
${getLevelBadgeClass(tutor.language_level)}">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue