scheduleSon/frontend/admin/index.html
vrubel c40a6569b4
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 20s
Add event colors (Catppuccin Mocha) and read-only week view for users
Admins can now pick a color per event from a Catppuccin Mocha palette;
existing events default to blue. Colors flow through to both the admin
timeline and the new "Неделя" tab in the user view, which reuses the
admin's weekly grid in a read-only mode. Also reworks event blocks to
show a single-line "start–end title" so short events no longer overflow,
tidies the admin toolbar, and expands mobile responsiveness across both
frontends.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 18:03:21 +00:00

55 lines
2.4 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Админка расписания</title>
<link rel="stylesheet" href="/admin/static/style.css?v=5">
</head>
<body>
<div class="app-shell">
<header class="hero">
<div>
<p class="eyebrow">Schedule Studio</p>
<h1>Редактор расписания</h1>
<p class="hero-copy">Планируйте задачи и занятия на несколько недель вперед, меняйте серии целиком и переносите встречи прямо мышкой по сетке времени.</p>
</div>
<div class="hero-actions">
<button id="add-task-btn" class="btn btn-secondary">Новая задача</button>
<button id="add-event-btn" class="btn btn-primary">Новое занятие</button>
</div>
</header>
<section class="toolbar">
<div class="week-navigation">
<button id="prev-week" class="nav-btn">← Назад</button>
<div>
<div class="toolbar-label">Видимый диапазон</div>
<div id="week-range" class="range-title"></div>
</div>
<button id="next-week" class="nav-btn">Вперед →</button>
<button id="today-btn" class="btn btn-secondary">Текущая неделя</button>
</div>
</section>
<section class="hint-panel">
<span>Клик по дню добавляет занятие.</span>
<span>`Ctrl/Cmd + клик` открывает создание задачи.</span>
<span>Перетаскивайте карточки занятий на новое время или другой день.</span>
</section>
<div class="schedule-scroll">
<main id="schedule-grid" class="schedule-grid"></main>
</div>
</div>
<div id="modal" class="modal">
<div class="modal-content">
<button class="close" type="button" aria-label="Закрыть">×</button>
<div id="modal-body"></div>
</div>
</div>
<script src="/admin/static/script.js?v=5"></script>
</body>
</html>