Финальные правки в связи с обновлением задания на СДО
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);
|
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 {
|
#resourcesList {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<select id="languageFilter" class="form-select">
|
<select id="languageFilter" class="form-select">
|
||||||
<option value="">Все языки</option>
|
<option value="">Предлагаемые языки</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
|
|
@ -201,6 +201,7 @@
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Фото</th>
|
||||||
<th>Имя</th>
|
<th>Имя</th>
|
||||||
<th>Уровень</th>
|
<th>Уровень</th>
|
||||||
<th>Языки</th>
|
<th>Языки</th>
|
||||||
|
|
|
||||||
|
|
@ -418,7 +418,7 @@ function calculateCoursePrice() {
|
||||||
|
|
||||||
const earlyReg = isEarlyRegistration(startDate);
|
const earlyReg = isEarlyRegistration(startDate);
|
||||||
const groupEnroll = persons >= 5;
|
const groupEnroll = persons >= 5;
|
||||||
const intensive = course.week_length > 20;
|
const intensive = course.week_length >= 5;
|
||||||
|
|
||||||
document.getElementById('earlyRegistration').checked = earlyReg;
|
document.getElementById('earlyRegistration').checked = earlyReg;
|
||||||
document.getElementById('groupEnrollment').checked = groupEnroll;
|
document.getElementById('groupEnrollment').checked = groupEnroll;
|
||||||
|
|
@ -577,6 +577,11 @@ function renderTutors() {
|
||||||
const tr = document.createElement('tr');
|
const tr = document.createElement('tr');
|
||||||
tr.dataset.tutorId = tutor.id;
|
tr.dataset.tutorId = tutor.id;
|
||||||
tr.innerHTML = `
|
tr.innerHTML = `
|
||||||
|
<td>
|
||||||
|
<div class="tutor-photo-placeholder">
|
||||||
|
<i class="bi bi-person-circle"></i>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
<td>${tutor.name}</td>
|
<td>${tutor.name}</td>
|
||||||
<td><span class="badge level-badge
|
<td><span class="badge level-badge
|
||||||
${getLevelBadgeClass(tutor.language_level)}">
|
${getLevelBadgeClass(tutor.language_level)}">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue