0de2eb5830
- Added authentication routes for login, registration, password reset, and account deletion in `auth.py`. - Implemented user profile management, including updating user information and changing passwords. - Created dashboard views to display user-specific information and recent activity in `dashboard.py`. - Developed leaderboard views to show team rankings and points in `leaderboard.py`. - Added QR code generation and redemption functionality in `qr.py` and `redeem.py`. - Implemented team management features, allowing users to create and join teams in `teams.py`. - Introduced session debugging utility to assist with session-related issues in `debug_session.py`. - Configured Docker Compose for MySQL database and FastAPI application with environment variables. - Updated requirements.txt to include necessary dependencies for the application.
20 lines
820 B
HTML
20 lines
820 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<div class="max-w-2xl mx-auto mt-8 p-8 bg-white rounded-lg shadow-md">
|
|
<div class="text-center">
|
|
<i class="fas fa-exclamation-circle text-red-600 text-5xl mb-4"></i>
|
|
<h1 class="text-2xl font-bold mb-4">{{ error_title|default("Error") }}</h1>
|
|
<p class="text-gray-700 mb-6">{{ error_message|default("An error occurred. Please try again.") }}</p>
|
|
|
|
<div class="mt-8">
|
|
<a href="/" class="text-irish-green hover:underline mr-6">
|
|
<i class="fas fa-home mr-1"></i> Go to Home
|
|
</a>
|
|
<a href="javascript:history.back()" class="text-irish-green hover:underline">
|
|
<i class="fas fa-arrow-left mr-1"></i> Go Back
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|