🎉 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:
@ -153,7 +153,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Zurück Button -->
|
||||
<a href="{{ url_for('admin_page', tab='users') }}"
|
||||
<a href="{{ url_for('admin.admin_dashboard', tab='users') }}"
|
||||
class="btn-mercedes-secondary text-white px-6 py-3 rounded-xl font-medium transition-all duration-300 flex items-center space-x-2 hover:scale-105">
|
||||
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"/>
|
||||
@ -165,7 +165,7 @@
|
||||
|
||||
<!-- Hauptformular -->
|
||||
<div class="admin-form-container rounded-2xl p-8 transition-all duration-300">
|
||||
<form id="userForm" action="{{ url_for('admin_create_user_form') }}" method="POST" class="space-y-8">
|
||||
<form id="userForm" action="{{ url_for('admin.create_user_api') }}" method="POST" class="space-y-8">
|
||||
<!-- CSRF Token -->
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
|
||||
|
||||
@ -343,7 +343,7 @@
|
||||
</div>
|
||||
</button>
|
||||
|
||||
<a href="{{ url_for('admin_page', tab='users') }}"
|
||||
<a href="{{ url_for('admin.admin_dashboard', tab='users') }}"
|
||||
class="btn-mercedes-secondary text-white px-8 py-4 rounded-xl font-semibold text-center transition-all duration-300 flex items-center justify-center space-x-3 hover:scale-105">
|
||||
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
|
||||
|
Reference in New Issue
Block a user