All checks were successful
CI / lint-and-test (push) Successful in 23s
- Updated the loading indicator in `index.html` to include a spinner and text for better user feedback during loading. - Added CSS transitions for smoother visual effects on various elements, including buttons and overlays, enhancing overall user experience. - Refactored JavaScript functions to utilize requestAnimationFrame for improved animation performance when showing and hiding panels. - Implemented smooth scrolling behavior for duty list navigation, improving usability when focusing on current duties.
34 lines
1.4 KiB
HTML
34 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="ru">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||
<link rel="icon" href="favicon.png" type="image/png">
|
||
<title>Календарь дежурств</title>
|
||
<link rel="stylesheet" href="style.css">
|
||
</head>
|
||
<body>
|
||
<div class="container">
|
||
<div class="calendar-sticky" id="calendarSticky">
|
||
<header class="header">
|
||
<button type="button" class="nav" id="prevMonth" aria-label="Предыдущий месяц">‹</button>
|
||
<h1 class="title" id="monthTitle"></h1>
|
||
<button type="button" class="nav" id="nextMonth" aria-label="Следующий месяц">›</button>
|
||
</header>
|
||
<div class="weekdays">
|
||
<span>Пн</span><span>Вт</span><span>Ср</span><span>Чт</span><span>Пт</span><span>Сб</span><span>Вс</span>
|
||
</div>
|
||
<div class="calendar" id="calendar"></div>
|
||
</div>
|
||
<div class="duty-list" id="dutyList"></div>
|
||
<div class="loading" id="loading"><span class="loading__spinner" aria-hidden="true"></span><span class="loading__text">Загрузка…</span></div>
|
||
<div class="error" id="error" hidden></div>
|
||
<div class="access-denied" id="accessDenied" hidden>
|
||
<p>Доступ запрещён.</p>
|
||
</div>
|
||
</div>
|
||
<script src="https://telegram.org/js/telegram-web-app.js"></script>
|
||
<script type="module" src="js/main.js"></script>
|
||
</body>
|
||
</html>
|