Refactor routes Flask en Blueprints

This commit is contained in:
2026-08-09 09:50:49 +02:00
parent a25043dc3f
commit c2f97276b6
24 changed files with 1773 additions and 1688 deletions
+2 -2
View File
@@ -19,7 +19,7 @@
<!-- Barre de recherche ISIN -->
<div class="bg-gray-900 border border-gray-800 rounded-2xl shadow-2xl w-full max-w-[98%] p-4 mb-4">
<form method="GET" action="{{ url_for('main.analyse') }}" class="flex items-center gap-3 flex-wrap">
<form method="GET" action="{{ url_for('analyse.analyse') }}" class="flex items-center gap-3 flex-wrap">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div class="flex-1 min-w-[200px]">
<label class="block text-xs font-medium text-gray-400 mb-1">Entrer un ISIN</label>
@@ -32,7 +32,7 @@
<i class="fa-solid fa-magnifying-glass-chart"></i> Analyser
</button>
<a
href="{{ url_for('main.menu') }}"
href="{{ url_for('menu.menu') }}"
class="px-5 py-2.5 bg-gray-800 hover:bg-gray-700 text-gray-200 text-sm font-semibold rounded-lg transition duration-200 cursor-pointer self-end"
>
<i class="fa-solid fa-house"></i> Retour au menu