Refactor routes Flask en Blueprints
This commit is contained in:
@@ -34,7 +34,7 @@ endblock %} {% block header_title %}Gestion CSV{% endblock %} {% block content
|
||||
</p>
|
||||
</div>
|
||||
<a
|
||||
href="{{ url_for('main.menu') }}"
|
||||
href="{{ url_for('menu.menu') }}"
|
||||
class="px-4 py-2 bg-gray-800 hover:bg-gray-700 text-gray-200 text-sm font-medium rounded-lg transition duration-200"
|
||||
>
|
||||
Retour au menu
|
||||
@@ -124,7 +124,7 @@ endblock %} {% block header_title %}Gestion CSV{% endblock %} {% block content
|
||||
>
|
||||
<!-- Formulaire ou lien pour l'Export (réduit) -->
|
||||
<a
|
||||
href="{{ url_for('main.export_actions_csv') }}"
|
||||
href="{{ url_for('historique.export_actions_csv') }}"
|
||||
class="w-full sm:w-1/4 flex items-center justify-center px-4 py-3 bg-blue-600 hover:bg-blue-500 text-white text-sm font-semibold rounded-xl shadow-lg transition duration-200"
|
||||
>
|
||||
<svg
|
||||
@@ -145,7 +145,7 @@ endblock %} {% block header_title %}Gestion CSV{% endblock %} {% block content
|
||||
|
||||
<!-- Formulaire pour l'Import (prend toute la place restante) -->
|
||||
<form
|
||||
action="{{ url_for('main.import_actions_csv') }}"
|
||||
action="{{ url_for('historique.import_actions_csv') }}"
|
||||
method="POST"
|
||||
enctype="multipart/form-data"
|
||||
class="w-full sm:w-3/4 flex items-center gap-2"
|
||||
|
||||
Reference in New Issue
Block a user