Suppression de la navbar en attendant d'avoir plus de contenu
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ dependencies = [
|
|||||||
"polars",
|
"polars",
|
||||||
"gunicorn",
|
"gunicorn",
|
||||||
"dash-bootstrap-components",
|
"dash-bootstrap-components",
|
||||||
"python-dotenv"
|
"python-dotenv",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
|||||||
+8
-6
@@ -1,19 +1,21 @@
|
|||||||
from dash import Dash, html, page_container, page_registry, dcc
|
from dash import Dash, html, page_container, page_registry, dcc
|
||||||
import dash_bootstrap_components as dbc
|
import dash_bootstrap_components as dbc
|
||||||
|
|
||||||
|
|
||||||
app = Dash(external_stylesheets=[dbc.themes.UNITED], title="decp.info", use_pages=True)
|
app = Dash(external_stylesheets=[dbc.themes.UNITED], title="decp.info", use_pages=True)
|
||||||
server = app.server
|
server = app.server
|
||||||
|
|
||||||
|
|
||||||
app.layout = [
|
app.layout = [
|
||||||
html.Div(
|
html.Div(
|
||||||
[
|
[
|
||||||
html.H1("decp.info"),
|
html.H1("decp.info"),
|
||||||
html.Div(
|
# html.Div(
|
||||||
[
|
# [
|
||||||
dcc.Link(page["name"], href=page["relative_path"], className="nav")
|
# dcc.Link(page["name"], href=page["relative_path"], className="nav")
|
||||||
for page in page_registry.values()
|
# for page in page_registry.values()
|
||||||
]
|
# ]
|
||||||
),
|
# ),
|
||||||
],
|
],
|
||||||
className="navbar",
|
className="navbar",
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user