- Replace all inline style= with reusable CSS classes - Add layout classes: page, page-header, page-main, page-footer - Fix footer at bottom via flex column + flex:1 on main - Remove jsessionid from static resource URLs - Create lab1-full.zip with 30 variants from PDF metodichka - All templates use CSS var classes for light/dark theme
19 lines
1.3 KiB
HTML
19 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru" xmlns:th="http://www.thymeleaf.org" th:replace="~{fragments/base :: layout(~{::title}, ~{::#content})}">
|
|
<head><title>Первый запуск — LMS</title></head>
|
|
<body>
|
|
<div id="content">
|
|
<div class="container-sm">
|
|
<h1 class="page-title">Создание администратора</h1>
|
|
<p class="text-sm text-muted mb-4">Это разовая настройка. Аккаунт преподавателя создаётся один раз.</p>
|
|
<div th:if="${error}" class="alert alert-error" th:text="${error}"></div>
|
|
<form class="card form-card form-stack" th:action="@{/setup}" method="post">
|
|
<div><label class="label" for="login">Логин</label><input class="input" id="login" name="login" th:value="${login}" autofocus required></div>
|
|
<div><label class="label" for="password">Пароль</label><input class="input" id="password" name="password" type="password" required><p class="hint">Минимум 8 символов.</p></div>
|
|
<div><label class="label" for="password2">Повторите пароль</label><input class="input" id="password2" name="password2" type="password" required></div>
|
|
<button class="btn btn-primary" type="submit">Создать и войти</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |