сделал настройку временных слотов

This commit is contained in:
Zuev
2026-05-01 20:55:49 +03:00
parent bf02efb8b8
commit 3cb311f469
32 changed files with 2130 additions and 383 deletions

View File

@@ -75,58 +75,3 @@
</table>
</div>
</div>
<div class="card create-card">
<div class="card-header-row">
<h2 id="time-slot-form-title">Новый временной слот</h2>
<button type="button" class="btn-edit-classroom" id="time-slot-reset">Очистить форму</button>
</div>
<form id="time-slot-form" novalidate>
<input type="hidden" id="time-slot-id">
<div class="form-row">
<div class="form-group">
<label for="time-slot-order">Номер пары</label>
<input type="number" id="time-slot-order" min="1" step="1" required>
</div>
<div class="form-group">
<label for="time-slot-start">Начало</label>
<input type="time" id="time-slot-start" required>
</div>
<div class="form-group">
<label for="time-slot-end">Окончание</label>
<input type="time" id="time-slot-end" required>
</div>
<div class="form-group">
<label for="time-slot-duration">Минут</label>
<input type="number" id="time-slot-duration" min="1" step="1" placeholder="90">
</div>
<button type="submit" class="btn-primary">Сохранить слот</button>
</div>
<div class="form-alert" id="time-slot-alert" role="alert"></div>
</form>
</div>
<div class="card">
<div class="card-header-row">
<h2>Сетка пар</h2>
<button class="btn-primary" id="time-slots-refresh">Обновить</button>
</div>
<div class="table-wrap">
<table id="time-slots-table">
<thead>
<tr>
<th>Пара</th>
<th>Начало</th>
<th>Окончание</th>
<th>Минут</th>
<th>Действия</th>
</tr>
</thead>
<tbody id="time-slots-tbody">
<tr>
<td colspan="5" class="loading-row">Загрузка...</td>
</tr>
</tbody>
</table>
</div>
</div>