🎉 Refactored backend structure: Removed unused files including app_cleaned.py, admin_api.py, admin.py, user.py, and others. Updated settings.local.json to include additional Bash commands. Enhanced admin templates for better navigation and functionality. Improved logging and error handling across various modules.
This commit is contained in:
37
backend/templates/errors/413.html
Normal file
37
backend/templates/errors/413.html
Normal file
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>413 - Datei zu groß | MYP System</title>
|
||||
<link href="{{ url_for('static', filename='css/tailwind.min.css') }}" rel="stylesheet">
|
||||
<link href="{{ url_for('static', filename='css/glassmorphism.min.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
<body class="bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-gray-900 dark:to-gray-800 min-h-screen flex items-center justify-center">
|
||||
<div class="glass-card max-w-md w-full mx-4 p-8 text-center">
|
||||
<div class="mb-6">
|
||||
<div class="text-6xl font-bold text-yellow-500 mb-4">413</div>
|
||||
<h1 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Datei zu groß</h1>
|
||||
<p class="text-gray-600 dark:text-gray-300">
|
||||
Die hochgeladene Datei ist zu groß. Maximale Dateigröße: 16 MB.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="space-y-4">
|
||||
<a href="{{ url_for('dashboard') if current_user.is_authenticated else url_for('auth.login') }}"
|
||||
class="block w-full bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
||||
{% if current_user.is_authenticated %}
|
||||
Zum Dashboard
|
||||
{% else %}
|
||||
Zur Anmeldung
|
||||
{% endif %}
|
||||
</a>
|
||||
|
||||
<button onclick="history.back()"
|
||||
class="block w-full bg-gray-500 hover:bg-gray-600 text-white font-medium py-2 px-4 rounded-lg transition-colors">
|
||||
Zurück
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user