From 859506c4aa8f2c7d98fded7dee6d662240b295ab Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Fri, 13 Jun 2025 11:30:10 +0200 Subject: [PATCH] Supprime page Stats, Utilisation => Mode d'emploi --- src/pages/home.py | 4 ++-- src/pages/statistics.py | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 src/pages/statistics.py diff --git a/src/pages/home.py b/src/pages/home.py index 7d8defb..6e9faf2 100644 --- a/src/pages/home.py +++ b/src/pages/home.py @@ -105,7 +105,7 @@ layout = [ html.Div( html.Details( children=[ - html.Summary(html.H3("Utilisation")), + html.Summary(html.H3("Mode d'emploi")), dcc.Markdown( """ @@ -219,7 +219,7 @@ def update_table(page_current, page_size, filter_query, data_timestamp): # print("dff_sliced:", lff.select("titulaire.typeId")) dicts = dff.to_dicts() - return dicts, data_timestamp + 1, nb_rows # update data, update timestamp + return dicts, data_timestamp + 1, nb_rows @callback( diff --git a/src/pages/statistics.py b/src/pages/statistics.py deleted file mode 100644 index d3eea0f..0000000 --- a/src/pages/statistics.py +++ /dev/null @@ -1,9 +0,0 @@ -from dash import html, register_page - -title = "Statistiques" - -register_page( - __name__, path="/statistiques", title=f"decp.info - {title}", name=title, order=2 -) - -layout = [html.H2(title)]