Précisions config claude.ai/Desktop
This commit is contained in:
@@ -17,9 +17,9 @@ register_page(
|
|||||||
)
|
)
|
||||||
|
|
||||||
abonnement_features = dcc.Markdown("""
|
abonnement_features = dcc.Markdown("""
|
||||||
- sauvegarde et partage de vues dans la page Tableau
|
- sauvegarde et partage de **vues** dans la page Tableau
|
||||||
- vote pour les [fonctionnalités à développer](/a-propos/roadmap) en priorité (une fois la période d'essai de 2 jours consommée)
|
- interrogation des données depuis un agent IA via le **connecteur MCP** (ChatGPT, Claude, Mistral...)
|
||||||
- interrogation des données depuis un agent IA via le connecteur MCP (ChatGPT, Claude, Mistral...)
|
- vote pour les fonctionnalités à développer en priorité dans la **roadmap**
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ def _free_access_view():
|
|||||||
|
|
||||||
return html.Div(
|
return html.Div(
|
||||||
[
|
[
|
||||||
html.H3(
|
html.H5(
|
||||||
"Vous avez temporairement accès à toutes les fonctionnalités",
|
"Vous avez temporairement accès à toutes les fonctionnalités",
|
||||||
className="mb-3",
|
className="mb-3",
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -52,14 +52,15 @@ def client_instructions(url: str, token: str):
|
|||||||
html.Ol(
|
html.Ol(
|
||||||
[
|
[
|
||||||
html.Li(
|
html.Li(
|
||||||
"Paramètres → Connecteurs → Ajouter un connecteur personnalisé."
|
"Icône utilisateur → Paramètres → Connecteurs → Ajouter → Ajouter un connecteur personnalisé."
|
||||||
),
|
),
|
||||||
html.Li(f"URL du serveur MCP : {url}"),
|
html.Li("Nom : colibre"),
|
||||||
|
html.Li(f"URL du serveur MCP distant : {url}"),
|
||||||
html.Li(
|
html.Li(
|
||||||
"Laissez le champ « Client Secret » vide (client public)."
|
'Laissez les champs "Client ID" et "Client secret" vides.'
|
||||||
),
|
),
|
||||||
html.Li(
|
html.Li(
|
||||||
"Connectez-vous avec votre compte colibre, puis « Autoriser »."
|
'Connectez-vous avec votre compte colibre, puis "Autoriser".'
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|||||||
+52
-2
@@ -2,6 +2,7 @@ import dash_bootstrap_components as dbc
|
|||||||
from dash import Input, Output, State, callback, dcc, html, register_page
|
from dash import Input, Output, State, callback, dcc, html, register_page
|
||||||
|
|
||||||
from src.figures import DataTable
|
from src.figures import DataTable
|
||||||
|
from src.pages.a_propos.abonnement import abonnement_features
|
||||||
from src.utils.data import DF_ACHETEURS, DF_TITULAIRES
|
from src.utils.data import DF_ACHETEURS, DF_TITULAIRES
|
||||||
from src.utils.search import search_org
|
from src.utils.search import search_org
|
||||||
from src.utils.seo import META_CONTENT
|
from src.utils.seo import META_CONTENT
|
||||||
@@ -9,6 +10,53 @@ from src.utils.table import setup_table_columns
|
|||||||
|
|
||||||
NAME = "Recherche"
|
NAME = "Recherche"
|
||||||
|
|
||||||
|
_features_gratuites = dcc.Markdown("""
|
||||||
|
- Recherche d'acheteurs et de titulaires
|
||||||
|
- [Tableau](/tableau) filtrable et personnalisable sur des dizaines de colonnes et exports Excel
|
||||||
|
- Fiches détaillées : acheteur, titulaire, marché
|
||||||
|
- Cartes, statistiques et [observatoire](/observatoire) national personnalisable
|
||||||
|
""")
|
||||||
|
|
||||||
|
home_intro = html.Div(
|
||||||
|
id="home_intro",
|
||||||
|
className="container",
|
||||||
|
style={"maxWidth": "900px", "marginTop": "1rem"},
|
||||||
|
children=[
|
||||||
|
html.P(
|
||||||
|
"colibre ouvre les données des marchés publics français à toutes et "
|
||||||
|
"tous : recherchez, filtrez, cartographiez, exportez — gratuitement "
|
||||||
|
"et sans compte.",
|
||||||
|
className="text-center text-muted",
|
||||||
|
style={"maxWidth": "700px", "margin": "0 auto 1.5rem"},
|
||||||
|
),
|
||||||
|
dbc.Row(
|
||||||
|
[
|
||||||
|
dbc.Col(
|
||||||
|
[html.H4("✅ Gratuit, sans compte"), _features_gratuites],
|
||||||
|
md=6,
|
||||||
|
style={
|
||||||
|
"borderRight": "1px solid var(--bs-border-color)",
|
||||||
|
"paddingRight": "2rem",
|
||||||
|
},
|
||||||
|
),
|
||||||
|
dbc.Col(
|
||||||
|
[
|
||||||
|
html.H4("⭐ Avec un abonnement"),
|
||||||
|
abonnement_features,
|
||||||
|
dcc.Link(
|
||||||
|
"En savoir plus et s'abonner",
|
||||||
|
href="/a-propos/abonnement",
|
||||||
|
),
|
||||||
|
],
|
||||||
|
md=6,
|
||||||
|
style={"paddingLeft": "2rem"},
|
||||||
|
),
|
||||||
|
],
|
||||||
|
className="align-items-start",
|
||||||
|
),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
register_page(
|
register_page(
|
||||||
__name__,
|
__name__,
|
||||||
path="/",
|
path="/",
|
||||||
@@ -71,6 +119,7 @@ layout = html.Div(
|
|||||||
style={"textAlign": "center"},
|
style={"textAlign": "center"},
|
||||||
id="mention_tableau",
|
id="mention_tableau",
|
||||||
),
|
),
|
||||||
|
home_intro,
|
||||||
# html.Div(
|
# html.Div(
|
||||||
# className="search_options",
|
# className="search_options",
|
||||||
# children=[dcc.RadioItems(options=["Acheteur(s)"])],
|
# children=[dcc.RadioItems(options=["Acheteur(s)"])],
|
||||||
@@ -83,6 +132,7 @@ layout = html.Div(
|
|||||||
@callback(
|
@callback(
|
||||||
Output("search_results", "children"),
|
Output("search_results", "children"),
|
||||||
Output("mention_tableau", "style"),
|
Output("mention_tableau", "style"),
|
||||||
|
Output("home_intro", "style"),
|
||||||
Input("search", "n_submit"),
|
Input("search", "n_submit"),
|
||||||
Input("search-button", "n_clicks"),
|
Input("search-button", "n_clicks"),
|
||||||
State("search", "value"),
|
State("search", "value"),
|
||||||
@@ -128,5 +178,5 @@ def update_search_results(n_submit, n_clicks, query):
|
|||||||
cols.append(col)
|
cols.append(col)
|
||||||
|
|
||||||
style = {"textAlign": "center", "display": "none"}
|
style = {"textAlign": "center", "display": "none"}
|
||||||
return cols, style
|
return cols, style, {"display": "none"}
|
||||||
return html.P(""), {"textAlign": "center"}
|
return html.P(""), {"textAlign": "center"}, home_intro.style
|
||||||
|
|||||||
Reference in New Issue
Block a user