Refactor shared layouts and remove unused CSS

This commit is contained in:
2026-02-26 10:53:34 +01:00
parent 7f866282ea
commit d1b5a6b480
9 changed files with 367 additions and 185 deletions
+24
View File
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}Chess{% endblock %}</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='style.css') }}"
/>
</head>
<body>
<main class="public-wrap">
{% with messages = get_flashed_messages(with_categories=true) %} {% if
messages %}
<div class="flash-stack">
{% for category, message in messages %}
<div class="flash {{ category }}">{{ message }}</div>
{% endfor %}
</div>
{% endif %} {% endwith %} {% block content %}{% endblock %}
</main>
</body>
</html>