Skip to content

Commit

Permalink
moved ROI table buttons from footer to header
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Nov 8, 2023
1 parent 6d5d0cf commit 9ac22d0
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions wazp/pages/02_ROI.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,19 +219,7 @@
# ROI table card
table_card = dbc.Card(
[
dbc.CardHeader(html.H3("Defined ROIs")),
dbc.CardBody(
[
dbc.Row(dbc.Col(roi_table)),
dcc.Store(data={}, id="roi-colors-storage"),
dcc.Store(
id="roi-storage",
data=init_roi_storage,
storage_type="session",
),
]
),
dbc.CardFooter(
dbc.CardHeader(
[
dbc.Row(
[
Expand All @@ -242,10 +230,20 @@
load_rois_tooltip,
],
),
html.Br(),
dcc.Loading(dbc.Row(roi_status_alert)),
]
),
dbc.CardBody(
[
dbc.Row(dbc.Col(roi_table)),
dcc.Store(data={}, id="roi-colors-storage"),
dcc.Store(
id="roi-storage",
data=init_roi_storage,
storage_type="session",
),
]
),
dbc.CardFooter(dcc.Loading(dbc.Row(roi_status_alert))),
]
)

Expand Down

0 comments on commit 9ac22d0

Please sign in to comment.