Add TopN dropdown to GUI navbar
Signed-off-by: colramos <cole.ramos@amd.com>
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
41affd6343
tiomantas
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=[
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir