dashboard v2 erstellt

This commit is contained in:
2025-02-19 14:23:44 +01:00
parent c17d39df24
commit 14423e0497
280 changed files with 18902 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<!-- templates/forgot_password.html -->
{% extends "base.html" %}
{% block title %}Passwort vergessen{% endblock %}
{% block content %}
<div class="container mx-auto p-4 sm:p-6 lg:p-8 flex flex-col items-center">
<div class="glassmorphism p-6 rounded shadow-lg w-full max-w-md">
<h1 class="text-2xl font-bold mb-4">Passwort vergessen</h1>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="bg-{{category}}-500 text-white p-2 rounded mb-2">
{{ message }}
</div>
{% endfor %}
{% endif %}
{% endwith %}
<form method="POST" action="{{ url_for('forgot_password') }}">
<label for="username" class="block mb-2">Benutzername oder E-Mail</label>
<input type="text" name="username_or_email" id="username" class="w-full p-2 border rounded text-gray-800 mb-4" required>
<button type="submit" class="bg-green-500 text-white px-4 py-2 rounded w-full hover:bg-green-600">
Anfordern
</button>
</form>
</div>
</div>
{% endblock content %}