Реализована фильтрация столбцов и улучшена сортировка в расписании

This commit is contained in:
Zuev
2026-03-04 22:46:36 +03:00
parent 47039ee878
commit 2563c769de
77 changed files with 569 additions and 23 deletions

36
frontend/admin/views/schedule.html Normal file → Executable file
View File

@@ -3,21 +3,31 @@
<div class="table-wrap">
<table id="schedule-table">
<thead>
<tr>
<th>ID</th>
<th>Преподаватель</th>
<th>Группа</th>
<th>Форма обучения</th>
<th>Дисциплина</th>
<th>День недели</th>
<th>Неделя</th>
<th>Время</th>
</tr>
<tr>
<th class="sortable" data-sort-key="id">ID <span class="sort-arrow"></span></th>
<th class="filterable" data-filter-key="teacher">
Преподаватель <span class="filter-icon">&#9662;</span>
</th>
<th class="filterable" data-filter-key="group">
Группа <span class="filter-icon">&#9662;</span>
</th>
<th class="filterable" data-filter-key="educationForm">
Форма обучения <span class="filter-icon">&#9662;</span>
</th>
<th class="filterable" data-filter-key="subject">
Дисциплина <span class="filter-icon">&#9662;</span>
</th>
<th class="filterable" data-filter-key="day">
День недели <span class="filter-icon">&#9662;</span>
</th>
<th>Неделя</th>
<th>Время</th>
</tr>
</thead>
<tbody id="schedule-tbody">
<tr>
<td colspan="7" class="loading-row">Загрузка...</td>
</tr>
<tr>
<td colspan="8" class="loading-row">Загрузка...</td>
</tr>
</tbody>
</table>
</div>