feat: add home und login function

This commit is contained in:
robin committed 2026-10-31 20:16:34 +01:00
1 parent 535405cf99
commit 92807e857a
6 files changed
+200 -22

No files matched your search

+18 -5
View File
@@ -1,11 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<!doctype html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AudioRating</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<title>{% block title %}AudioRating{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style/style.css') }}">
</head>
<body>
<header>
<div class="header-inner">
<a class="brand" href="{{ url_for('main.index') }}">AudioRating</a>
{% if session.get('name') %}
<span class="user">Angemeldet als {{ session['name'] }}</span>
{% endif %}
</div>
</header>
<main>
{% block content %}{% endblock %}
</main>
</body>
</html>