refactored templates

This commit is contained in:
2026-02-21 23:09:22 +01:00
parent 44b8e90448
commit 076293f80d
14 changed files with 694 additions and 699 deletions

24
app/templates/base.html Normal file
View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}Tutortool{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/output.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
{% block head_extra %}{% endblock %}
</head>
<body class="{% block body_class %}bg-background text-text min-h-screen font-sans{% endblock %}">
{% block body %}{% endblock %}
{% block scripts %}
<script src="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.js"></script>
{% endblock %}
{% block scripts_extra %}{% endblock %}
</body>
</html>