Refactor web UI: CSS classes only, no inline styles; fix footer; add full lab1.zip

- 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
This commit is contained in:
2026-09-10 21:29:10 +03:00
parent 9b7748571e
commit b4c801853a
10 changed files with 230 additions and 275 deletions

View File

@@ -1,19 +1,13 @@
<!DOCTYPE html>
<html lang="ru" xmlns:th="http://www.thymeleaf.org"
th:replace="~{fragments/base :: layout(~{::title}, ~{::#content})}">
<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">
<h1 style="margin:0 0 0.5rem;font-size:1.5rem;font-weight:600;">
Здравствуйте, <span th:text="${currentUser.name}">студент</span>
</h1>
<p style="margin:0 0 1.5rem;font-size:0.875rem;color:var(--c-text-muted);">
Здесь появятся лабораторные работы, условия вашего варианта и материалы занятий.
</p>
<div class="card" style="padding:1.5rem;">
<h1 class="page-title">Здравствуйте, <span th:text="${currentUser.name}">студент</span></h1>
<p class="text-sm text-muted mb-6">Здесь появятся лабораторные работы, условия вашего варианта и материалы занятий.</p>
<div class="card card-body">
<p>Разделы в разработке:</p>
<ul style="margin-top:0.75rem;padding-left:1.25rem;font-size:0.875rem;color:var(--c-text-muted);">
<ul class="text-sm text-muted mt-2 list-pad">
<li>список лабораторных и сроки сдачи;</li>
<li>условие закреплённого за вами варианта;</li>
<li>статьи и материалы занятий;</li>