Adds menu for extended navigation
This commit is contained in:
parent
0cba0d886c
commit
cfb7d57a81
1 changed files with 15 additions and 0 deletions
15
app.py
15
app.py
|
@ -27,6 +27,21 @@ def nav_controls() -> List[NavSetArg]:
|
|||
|
||||
app_ui = ui.page_navbar(
|
||||
*nav_controls(),
|
||||
# create gap ----
|
||||
ui.nav_spacer(),
|
||||
|
||||
# right hand side ----
|
||||
ui.nav_menu(
|
||||
"Mehr Infos",
|
||||
ui.nav_control(
|
||||
ui.a(
|
||||
"No G20 Studie",
|
||||
href="https://g20.protestinstitut.eu/",
|
||||
target="_blank",
|
||||
),
|
||||
),
|
||||
align="right",
|
||||
),
|
||||
selected="intro",
|
||||
fluid=False,
|
||||
title=ui.div(ui.img(src="favicon.ico", width="75dpi", height="75dpi"),
|
||||
|
|
Loading…
Reference in a new issue