Add TopN dropdown to GUI navbar

Signed-off-by: colramos <cole.ramos@amd.com>
This commit is contained in:
Cole Ramos
2023-05-09 14:12:19 -05:00
committed by GitHub
parent 41affd6343
commit 8e9e8a42f3
@@ -234,6 +234,28 @@ def get_header(raw_pmc, input_filters, kernel_names):
)
],
),
html.Li(
className="filter",
children=[
html.Div(
children=[
html.A(
className="smoothscroll",
children=["Top N:"],
),
dcc.Dropdown(
[1, 5, 10, 15, 20, 50, 100],
id="top-n-filt",
value=input_filters[
"top_n"
], # default to any dispatch filters passed as args
clearable=False,
style={"width": "50px"},
),
]
)
],
),
html.Li(
className="filter",
children=[